[openstack-dev] [TripleO] Tuskar CLI UX

Dougal Matthews dougal at redhat.com
Thu Feb 27 09:16:34 UTC 2014


On 26/02/14 13:34, Jiří Stránský wrote:
> Hello,
>
> i went through the CLI way of deploying overcloud, so if you're
> interested what's the workflow, here it is:
>
> https://gist.github.com/jistr/9228638

This is great, thanks for taking the time to put it together. Another
thing to add to my list of stuff to try :)


> I'd say it's still an open question whether we'll want to give better UX
> than that ^^ and at what cost (this is very much tied to the benefits
> and drawbacks of various solutions we discussed in December [1]). All in
> all it's not as bad as i expected it to be back then [1]. The fact that
> we keep Tuskar API as a layer in front of Heat means that CLI user
> doesn't care about calling merge.py and creating Heat stack manually,
> which is great.

It does look pretty good, and also simpler than I expected. At the
moment it seems we only really need to interact with glance, nova and
tuskar. However, presumably this will only get more complicated over
time which could become a problem.


> In general the CLI workflow is on the same conceptual level as Tuskar
> UI, so that's fine, we just need to use more commands than "tuskar".

I wonder if this would become a documentation/support nightmare.


get Tuskar UI a bit closer back to the fact
> that Undercloud is OpenStack too, and keep the name "Flavors" instead of
> changing it to "Node Profiles". I wonder if that would be unwelcome to
> the Tuskar UI UX, though.

I can imagine we would constantly explain it by saying its the same as
flavors because people will be familiar with this. So maybe being
consistent would help.



One other thing, I've looked at my own examples so far, so I didn't
really think about this but seeing it written down, I've realised the
way we specify the roles in the Tuskar CLI really bugs me.

     --roles 1=1 \
     --roles 2=1

I know what this means, but even reading it now I think: One equals
one? Two equals one? What? I think we should probably change the arg
name and also refer to roles by name.

     --role-count compute=10

and a shorter option

     -R compute=10




More information about the OpenStack-dev mailing list