instack-undercloud/instack_undercloud
Dougal Matthews 5dcc3c0fb5 Only create the Mistral config env if it doesn't exist
From I71edae4a4dee2204edf32e3b2800f075d221b856 we started to create a
Mistral env in instack-undercloud. This happens at install time. We
failed to only do this if the environment doesn't exist, at the moment
instack will fail on a second undercloud install as Mistral will attempt
to create the environment again and raise an exception.

This patch also fixes a regression introduced by
I71edae4a4dee2204edf32e3b2800f075d221b856 which created the config
env *after* creating the default plan - given the default plan creation
depends on the environment, this was an error.

Closes-Bug: #1633450
Change-Id: I186217fd0e1125519149763e610d3efdff583388
(cherry picked from commit a370e16be6)
2016-10-19 10:50:58 +00:00
..
tests Only create the Mistral config env if it doesn't exist 2016-10-19 10:50:58 +00:00
__init__.py Pythonize instack-install-undercloud 2015-05-26 14:02:18 +02:00
undercloud.py Only create the Mistral config env if it doesn't exist 2016-10-19 10:50:58 +00:00
validator.py Add value format validations 2016-06-20 20:28:57 +00:00