[openstack-dev] TripleO client answers file.

Steven Hardy shardy at redhat.com
Thu Nov 26 13:34:17 UTC 2015


On Thu, Nov 26, 2015 at 01:37:16PM +0100, Lennart Regebro wrote:
> We are proposing to have an "answers file" for the tripleoclient so
> that you don't have to have a ling line of
> 
>    openstack overcloud deploy --templates /home/stack/mytemplates
> --environment superduper.yaml --environment loadsofstuff.yaml
> --envirnoment custom.yaml
> 
> But instead can just do
> 
>    opennstack overcloud deploy --answers-file answers.yaml
> 
> And in that file have:
> 
>   templates: /home/stack/mytemplates
>   environments:
>     - superduper.yaml
>     - loadsofstuff.yaml
>     - custom.yaml

I like the idea of this, provided we keep the scope limited to what is not
already possible via the heat environment files.

So, for example in the reply from Qasim Sarfraz there is mention of passing
other deployment parameters, and I would prefer we did not do that, because
it duplicates functionality that already exists in the heat environment
(I'll reply separately to explain that further).

I do have a couple of questions:

1. How will this integrate with the proposal to add an optional environment
directory? See https://review.openstack.org/#/c/245172/

2. How will this integrate with non "deploy" actions, such as image
building (e.g both the current interface and the new yaml definition
proposed in https://review.openstack.org/#/c/235569/)

It's probably fine to say it's only scoped to the deploy command initially,
but I wanted to at least consider if a broader answer-file format could be
adopted which could potentially support all overcloud * commands.

Thanks!

Steve



More information about the OpenStack-dev mailing list