Unable to add node to deployment after one node was deleted

Bug #1641142 reported by Jiří Stránský
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Jiří Stránský

Bug Description

After scaling down a particular role, we cannot scale it up again. This is because the scale down parameter values are passed through via 'parameters':

http://git.openstack.org/cgit/openstack/tripleo-common/tree/tripleo_common/actions/scale.py#n99

but the subsequent scale up is using 'parameter_defaults'. The old 'parameters' values still persist in the environment, and they take precedence.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/396712

Changed in tripleo:
assignee: nobody → Jiří Stránský (jistr)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/396712
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=fbc435ce167eae2c6ac1070be47ad9065561855b
Submitter: Jenkins
Branch: master

commit fbc435ce167eae2c6ac1070be47ad9065561855b
Author: Jiri Stransky <email address hidden>
Date: Fri Nov 11 16:46:28 2016 +0100

    Only use parameter_defaults for scaling down

    We were using parameters for scaling down but parameter_defaults for
    scaling up. The old parameters from scale-down still persisted in the
    stack and took precedence over the scaled-up parameter_defaults, so the
    scaled-up values didn't propagate.

    We already update parameter_defaults in the deployment plan in that same
    method, so all we need to do is remove the 'parameters' part.

    Change-Id: I90a195a66b15c7c9057bfb415b6a730bbd9a939c
    Closes-Bug: #1641142

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/396804

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/newton)

Reviewed: https://review.openstack.org/396804
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=17fa3aed22c040bd67a97b86c41f5d6e6ee8a94a
Submitter: Jenkins
Branch: stable/newton

commit 17fa3aed22c040bd67a97b86c41f5d6e6ee8a94a
Author: Jiri Stransky <email address hidden>
Date: Fri Nov 11 16:46:28 2016 +0100

    Only use parameter_defaults for scaling down

    We were using parameters for scaling down but parameter_defaults for
    scaling up. The old parameters from scale-down still persisted in the
    stack and took precedence over the scaled-up parameter_defaults, so the
    scaled-up values didn't propagate.

    We already update parameter_defaults in the deployment plan in that same
    method, so all we need to do is remove the 'parameters' part.

    Change-Id: I90a195a66b15c7c9057bfb415b6a730bbd9a939c
    Closes-Bug: #1641142
    (cherry picked from commit fbc435ce167eae2c6ac1070be47ad9065561855b)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 5.5.0

This issue was fixed in the openstack/tripleo-common 5.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 5.4.1

This issue was fixed in the openstack/tripleo-common 5.4.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.