Comment 37 for bug 1529691

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-web (stable/7.0)

Reviewed: https://review.openstack.org/340827
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=2b0efd5eeb42431e03692f658792187b313083ea
Submitter: Jenkins
Branch: stable/7.0

commit 2b0efd5eeb42431e03692f658792187b313083ea
Author: Artem Roma <email address hidden>
Date: Tue Mar 15 12:37:07 2016 +0200

    Set 'deployed_before' attribute in cluster attributes if not present

    Before this change if master node had been upgraded to Fuel of
    versions >= 8.0, attempt to re/deploy existing clusters would have failed
    as attributes of those clusters would have lack 'deployed_before' field.

    Since processing of the flag is temporary solution it should not be
    coded in data base migration logic. Thus the change introduces creating
    of the attribute with given value if it is not already present.

    Conflicts:
     nailgun/nailgun/test/unit/test_objects.py

    Change-Id: I302ddb340d2ecf14b1fa414fda71aa7f32363bdf
    Closes-Bug: #1602281
    Related-Bug: #1529691
    (cherry picked from commit 48ee65f15e346cff46e0bf0cfba9dbe9afe43528)