Cannot deploy via config download when some role has count 0

Bug #1734703 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

Manifested in CI as:

2017-11-22 15:29:59 | 2017-11-22 15:29:52Z [overcloud.AllNodesDeploySteps.ControllerExtraConfigPost]: CREATE_IN_PROGRESS state changed
2017-11-22 15:29:59 | 2017-11-22 15:29:54Z [overcloud.AllNodesDeploySteps.ComputeExtraConfigPost]: CREATE_COMPLETE state changed
2017-11-22 15:29:59 | 2017-11-22 15:29:54Z [overcloud.AllNodesDeploySteps.ControllerExtraConfigPost]: CREATE_COMPLETE state changed
2017-11-22 15:30:01 | 2017-11-2'ctlplane'
2017-11-22 15:30:01 | END return value: 1
2017-11-22 15:30:01 | 2 15:29:54Z [overcloud.AllNodesDeploySteps.ComputePostConfig]: CREATE_IN_PROGRESS state changed
2017-11-22 15:30:01 | 2017-11-22 15:29:54Z [overcloud.AllNodesDeploySteps.ControllerPostConfig]: CREATE_IN_PROGRESS state changed
2017-11-22 15:30:01 | 2017-11-22 15:29:54Z [overcloud.AllNodesDeploySteps.ComputePostConfig]: CREATE_COMPLETE state changed
2017-11-22 15:30:01 | 2017-11-22 15:29:54Z [overcloud.AllNodesDeploySteps.ControllerPostConfig]: CREATE_COMPLETE state changed
2017-11-22 15:30:01 | 2017-11-22 15:29:54Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE Stack CREATE completed successfully
2017-11-22 15:30:01 | 2017-11-22 15:29:55Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE state changed
2017-11-22 15:30:01 | 2017-11-22 15:29:55Z [overcloud]: CREATE_COMPLETE Stack CREATE completed successfully
2017-11-22 15:30:01 |
2017-11-22 15:30:01 | Stack overcloud CREATE_COMPLETE
2017-11-22 15:30:01 |
2017-11-22 15:30:01 | Deploying overcloud configuration
2017-11-22 15:30:01 | + status_code=1
2017-11-22 15:30:01 | + openstack stack list
2017-11-22 15:30:01 | + grep -q overcloud
2017-11-22 15:30:04 | + openstack stack list
2017-11-22 15:30:04 | + grep -Eq '(CREATE|UPDATE)_COMPLETE'
2017-11-22 15:30:07 | + exit 1

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

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/523136
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=c90243efa95c926b7697433d40f6fa594a8b0e70
Submitter: Zuul
Branch: master

commit c90243efa95c926b7697433d40f6fa594a8b0e70
Author: Jiri Stransky <email address hidden>
Date: Mon Nov 27 15:40:02 2017 +0100

    Deploy with --config-download even when some role has count 0

    Roles which don't have any instances will not have a 'ctlplane' record
    in the RoleNetHostnameMap, so we shouldn't be depending on it being
    always present.

    Change-Id: I2da025961c584cb1adc83943561b1d9faa3559b1
    Closes-Bug: #1734703

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 8.1.0

This issue was fixed in the openstack/python-tripleoclient 8.1.0 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.