Stack update is not working when using derived parameters

Bug #1752893 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alan Bishop

Bug Description

Deployed a HCI environment with derived parameters (-p), deployment works fine. When i try to do a stack update (re-run the deployment), it fails with

Unable to determine matching node for profile 'osdcompute'

Started Mistral Workflow tripleo.validations.v1.check_pre_deployment_validations. Execution ID: f82bee96-41f3-4143-8874-520ed474815f
Waiting for messages on queue '344c7abc-72e7-4f81-a5b5-347791969450' with no timeout.
Removing the current plan files
Uploading new plan files
Started Mistral Workflow tripleo.plan_management.v1.update_deployment_plan. Execution ID: 211334a1-241b-4a2c-af60-fd3dd7e09506
Plan updated.
Processing templates in the directory /tmp/tripleoclient-c3CXZh/tripleo-heat-templates
Invoking workflow (tripleo.derive_params.v1.derive_parameters) specified in plan-environment file
Started Mistral Workflow tripleo.derive_params.v1.derive_parameters. Execution ID: 9f3f705b-d3bd-4361-8929-a0be684e58a5
Workflow execution is failed: [{u'status': u'SUCCESS', u'message': u'', u'role_name': u'Controller'}, {u'status': u'FAILED', u'message': u"Unable to determine matching node for profile 'osdcompute'", u'role_name': u'ComputeHCI'}, {u'status': u'SUCCESS', u'message': u'', u'role_name': u'Compute'}]

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/549261

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
assignee: John Fulton (jfulton-org) → Alan Bishop (alan-bishop)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/549261
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=4820e11d1eb38e6a81ced0c9af38dff8a46e097e
Submitter: Zuul
Branch: master

commit 4820e11d1eb38e6a81ced0c9af38dff8a46e097e
Author: John Fulton <email address hidden>
Date: Fri Mar 2 15:33:09 2018 +0000

    Include active nodes when matching nodes by profile

    When matching nodes by profile, consider nodes in either the 'active'
    or 'available' provisioning states. Unless nodes in the 'active' state
    are included, the derived parameters workflow fails on stack updates.

    Co-Authored-By: Alan Bishop <email address hidden>
    Change-Id: I575d0c358b9efccdefddb26258839def43ebeafd
    Closes-Bug: #1752893

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/552018

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

Reviewed: https://review.openstack.org/552018
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8f93bfdf1f836d4f1f51a1a59c5b2938fe63cb8b
Submitter: Zuul
Branch: stable/queens

commit 8f93bfdf1f836d4f1f51a1a59c5b2938fe63cb8b
Author: John Fulton <email address hidden>
Date: Fri Mar 2 15:33:09 2018 +0000

    Include active nodes when matching nodes by profile

    When matching nodes by profile, consider nodes in either the 'active'
    or 'available' provisioning states. Unless nodes in the 'active' state
    are included, the derived parameters workflow fails on stack updates.

    Co-Authored-By: Alan Bishop <email address hidden>
    Change-Id: I575d0c358b9efccdefddb26258839def43ebeafd
    Closes-Bug: #1752893
    (cherry picked from commit 4820e11d1eb38e6a81ced0c9af38dff8a46e097e)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/pike)

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

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

Reviewed: https://review.openstack.org/553021
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8d38280ea24b7dc231d3cc38af14d2464d991c77
Submitter: Zuul
Branch: stable/pike

commit 8d38280ea24b7dc231d3cc38af14d2464d991c77
Author: John Fulton <email address hidden>
Date: Fri Mar 2 15:33:09 2018 +0000

    Include active nodes when matching nodes by profile

    When matching nodes by profile, consider nodes in either the 'active'
    or 'available' provisioning states. Unless nodes in the 'active' state
    are included, the derived parameters workflow fails on stack updates.

    Co-Authored-By: Alan Bishop <email address hidden>
    Change-Id: I575d0c358b9efccdefddb26258839def43ebeafd
    Closes-Bug: #1752893
    (cherry picked from commit 4820e11d1eb38e6a81ced0c9af38dff8a46e097e)
    (cherry picked from commit 8f93bfdf1f836d4f1f51a1a59c5b2938fe63cb8b)

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

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

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

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

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

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