Provide workflow fails if called with node names

Bug #1818541 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Dmitry Tantsur

Bug Description

$ openstack overcloud node introspect node-1-14 --provide
Waiting for introspection to finish...
Started Mistral Workflow tripleo.baremetal.v1.introspect. Execution ID: c52c3d1f-bb43-4f8a-9824-eeec7c03ab33
Waiting for messages on queue 'tripleo' with no timeout.
Introspection of node node-1-14 timed out.
Retrying 1 nodes that failed introspection. Attempt 2 of 3
Introspection of node 277f524c-8ec9-4b25-a4e0-dbced0bd91a5 timed out.
Retrying 1 nodes that failed introspection. Attempt 3 of 3
Introspection of node 277f524c-8ec9-4b25-a4e0-dbced0bd91a5 completed. Status:SUCCESS. Errors:None
Successfully introspected 1 node(s).
Started Mistral Workflow tripleo.baremetal.v1.provide. Execution ID: b5fe8d14-91cc-45cd-b506-09571fd19b17
Waiting for messages on queue 'tripleo' with no timeout.
[u"Failed to run action [action_ex_id=41348d40-2845-43f8-9fd8-31e225bae6df, action_cls='<class 'mistral.actions.action_factory.NovaAction'>', attributes='{u'client_method_name': u'hypervisors.find'}', params='{u'hypervisor_hostname': u'node-1-14'}']\n NovaAction.hypervisors.find failed: No Hypervisor matching {u'hypervisor_hostname': u'node-1-14'}. (HTTP 404)"]

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

Changed in tripleo:
assignee: nobody → Dmitry Tantsur (divius)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/640803
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=03454b89a1451a3e6c2930a2f9217efb26cddea0
Submitter: Zuul
Branch: master

commit 03454b89a1451a3e6c2930a2f9217efb26cddea0
Author: Dmitry Tantsur <email address hidden>
Date: Mon Mar 4 17:20:38 2019 +0100

    Fix running the baremetal provide workflow with node names

    Currently we try to pass the same input to the cells v2 discovery
    workflow, but it only accepts node UUIDs. Convert names to UUIDs
    before calling it.

    Change-Id: I09d4104b42e858cf49242b191cd1aec17f9a8b8a
    Closes-Bug: #1818541

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

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/644803

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

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

Reviewed: https://review.openstack.org/644803
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=7c4809d360833002a5e2142e8f2e76855a56ff9c
Submitter: Zuul
Branch: stable/rocky

commit 7c4809d360833002a5e2142e8f2e76855a56ff9c
Author: Dmitry Tantsur <email address hidden>
Date: Mon Mar 4 17:20:38 2019 +0100

    Fix running the baremetal provide workflow with node names

    Currently we try to pass the same input to the cells v2 discovery
    workflow, but it only accepts node UUIDs. Convert names to UUIDs
    before calling it.

    Change-Id: I09d4104b42e858cf49242b191cd1aec17f9a8b8a
    Closes-Bug: #1818541
    (cherry picked from commit 03454b89a1451a3e6c2930a2f9217efb26cddea0)

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

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

commit f5d06ad80225fa0d626e84f186f9b2bd3eb97e4c
Author: Dmitry Tantsur <email address hidden>
Date: Mon Mar 4 17:20:38 2019 +0100

    Fix running the baremetal provide workflow with node names

    Currently we try to pass the same input to the cells v2 discovery
    workflow, but it only accepts node UUIDs. Convert names to UUIDs
    before calling it.

    Change-Id: I09d4104b42e858cf49242b191cd1aec17f9a8b8a
    Closes-Bug: #1818541
    (cherry picked from commit 03454b89a1451a3e6c2930a2f9217efb26cddea0)

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

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

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.

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

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