enable_ssh_admin workflow fails if there are any failed servers in nova

Bug #1749450 reported by Brent Eagles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Brent Eagles

Bug Description

The get_servers task uses the mistral nova.servers_list action that returns all of the nodes in the overcloud. If something failed to provision/startup but there were enough nodes to continue deployment then the task will fail because the failed node will be included in the query results. The failed node will probably not have control plane IP address so attempting to access it breaks the YAQL expression.

Brent Eagles (beagles)
Changed in tripleo:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Brent Eagles (beagles)
milestone: none → queens-rc1
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Brent Eagles (beagles) wrote :
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → stein-rc1
Changed in tripleo:
milestone: stein-rc1 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/rocky)

Reviewed: https://review.opendev.org/664928
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=718a7b176f5b903619723432c92d140e9c2844ac
Submitter: Zuul
Branch: stable/rocky

commit 718a7b176f5b903619723432c92d140e9c2844ac
Author: Brent Eagles <email address hidden>
Date: Tue Jan 30 12:45:22 2018 -0330

    Handle failed nodes when enabling ssh admin

    Filter server list by state before selecting by control plane address to
    avoid YAQL expression issues.

    Closes-Bug: #1749450
    Change-Id: I0ae383105bc5d8849a733bfbe5bd61fb3fc24c66
    (cherry picked from commit 3933a66c88293efc016444f04fa92b3c7c3b863a)

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

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

Changed in tripleo:
milestone: train-2 → train-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/queens)

Reviewed: https://review.opendev.org/664929
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=587da83e57eecb14a36f54db9a8f488977a7a044
Submitter: Zuul
Branch: stable/queens

commit 587da83e57eecb14a36f54db9a8f488977a7a044
Author: Brent Eagles <email address hidden>
Date: Tue Jan 30 12:45:22 2018 -0330

    Handle failed nodes when enabling ssh admin

    Filter server list by state before selecting by control plane address to
    avoid YAQL expression issues.

    Closes-Bug: #1749450
    Change-Id: I0ae383105bc5d8849a733bfbe5bd61fb3fc24c66
    (cherry picked from commit 3933a66c88293efc016444f04fa92b3c7c3b863a)

tags: added: in-stable-queens
Changed in tripleo:
milestone: train-3 → ussuri-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.7.1

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

Luke Short (ekultails)
Changed in tripleo:
status: In Progress → Fix Released
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.