Comment 4 for bug 1633450

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/386558
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=a370e16be69a1d4a72038f26eb58f33a40120f48
Submitter: Jenkins
Branch: master

commit a370e16be69a1d4a72038f26eb58f33a40120f48
Author: Dougal Matthews <email address hidden>
Date: Fri Oct 14 13:08:56 2016 +0100

    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