deployment_status.yaml swift object does not exist when plan is created

Bug #1771610 reported by Jiri Tomasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Honza Pokorny

Bug Description

Currently, the <planName>-messages/deployment_status.yaml swift object is created when deploy_plan workflow is started, this means that until then, client is not able to determine deployment status unless it considers non-existence of that object as 'UNDEPLOYED' deployment status.

This should be improved and we should explicitly set deployment status when deployment plan is created - message sent from create_deployment_plan workflow should set include deployment_status: UNDEPLOYED

Note that when plan creation fails, the object should not be created (deployment status should not be updated) but message should still get sent

Tags: workflows
Honza Pokorny (hpokorny)
Changed in tripleo:
assignee: nobody → Honza Pokorny (hpokorny)
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/569418

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: rocky-2 → rocky-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/569418
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=6ffbf62d926e49835f33390dcf1e31ffe7a1a091
Submitter: Zuul
Branch: master

commit 6ffbf62d926e49835f33390dcf1e31ffe7a1a091
Author: Honza Pokorny <email address hidden>
Date: Fri May 18 11:17:47 2018 -0300

    Set deployment status to UNDEPLOYED on plan creation

    Change-Id: Ie2965c4d4d9c84b4cd392d0033ee960fc19ada11
    Closes-Bug: 1771610

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

This issue was fixed in the openstack/tripleo-common 9.2.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.