Hide Forgot
Description of problem: a) By default director will include any envornment file in .tripleo b) One can specify an --environment-directory, instead of using multiple -e arguments and making sure they are added in the correct order. Using .tripleo or a different explicit directory for environment files is a "safer" approach. As this should remove the accidental "ooops forgot to include an environment file" and broke my overcloud, or "ooops the ordering of environment files was not identiacal to previous deploy" and broke my overcloud. .tripleo or --environment-directory are sorted. So something like this is a common pattern for unix administrators. ->/home/stack/.tripleo/ |-> 01-network-isolation.yaml |-> 02-storage-environment.yaml |-> 03-enable-tls.yaml |-> 04-enable-tls-key.yaml |-> 05-inject-trust-anchor.yaml |-> 50-rabbitmq-filedescriptors.yaml |-> 80-my-params.yaml I think this is a better approach than using -e on the command line. I would like to get this into our doc as an option so that the end-user can make an educated choice.
I checked the code and command line options for python-tripleoclient on OpenStack 8 and this command line option doesn't appear for OSPd 8. However, this fix is committed upstream, so it might be a future enhancement.
Harald, I've added some documentation on --environment-directory for the OSP 9 release: https://access.redhat.com/documentation/en/red-hat-openstack-platform/9/single/director-installation-and-usage/#sect-Including_Environment_Files_in_Overcloud_Creation How does this look to you?
Dan, Looks great to me! Thank you for making the effort to include this in the docs.
No prob, my pleasure. Thanks for reporting this issue.