docker: nova disover hosts is not executed during a "scale out"

Bug #1733966 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dan Prince

Bug Description

It has been discovered that we do not execute some of the init containers during a scale out. This is typically done via a Heat stack update where you increase the count for a particular role. In the case of Nova we aren't executing the nova_api_discover_hosts container on UPDATE in some cases (when the container or config files settings aren't changed) because the lower level paunch library detects no change in container metadata. This can be fixed by forcing some containers that should execute on update to include the Heat DeployIdentifier parameter.

More info on RH BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1516429

Dan Prince (dan-prince)
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
milestone: none → queens-2
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/522397
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=263ea5e95c9e6067d03b07baa04b50df0d08754e
Submitter: Zuul
Branch: master

commit 263ea5e95c9e6067d03b07baa04b50df0d08754e
Author: Dan Prince <email address hidden>
Date: Wed Nov 22 17:02:19 2017 -0500

    Add DeployIdentifier to Nova discover hosts container

    Resolves an issue during scale out where the Nova init
    container that runs discover hosts wasn't executing on a Heat
    stack update if the container name and configs all stayed the same.

    Change-Id: Ie2ecd3dbddb1cf3ee5bba6f7b33e11bc9b6b8b4e
    Closes-bug: 1733966

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

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/523045

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

Reviewed: https://review.openstack.org/523045
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=797514bb936af846d5bc0be7a680e222dc1a6241
Submitter: Zuul
Branch: stable/pike

commit 797514bb936af846d5bc0be7a680e222dc1a6241
Author: Dan Prince <email address hidden>
Date: Wed Nov 22 17:02:19 2017 -0500

    Add DeployIdentifier to Nova discover hosts container

    Resolves an issue during scale out where the Nova init
    container that runs discover hosts wasn't executing on a Heat
    stack update if the container name and configs all stayed the same.

    Change-Id: Ie2ecd3dbddb1cf3ee5bba6f7b33e11bc9b6b8b4e
    Closes-bug: 1733966
    (cherry picked from commit 263ea5e95c9e6067d03b07baa04b50df0d08754e)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.6

This issue was fixed in the openstack/tripleo-heat-templates 7.0.6 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.