For example this works fine.
(undercloud) [stack@host01 ~]$ openstack baremetal node list
+--------------------------------------+-------+---------------+-------------+--------------------+-------------+
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-------+---------------+-------------+--------------------+-------------+
| 4de51a48-abdc-4da7-85d1-4393b2bf9a90 | host2 | None | power on | manageable | False |
| ec6694c6-8c0c-437f-a7f6-82e7c2ab3793 | host3 | None | power on | manageable | False |
+--------------------------------------+-------+---------------+-------------+--------------------+-------------+
(undercloud) [stack@host01 ~]$ openstack overcloud node introspect host2
Waiting for introspection to finish...
Started Mistral Workflow tripleo.baremetal.v1.introspect. Execution ID: 2c03e135-514f-4bfe-9107-77aae3a2e535
Waiting for messages on queue 'tripleo' with no timeout.
Introspection of node 4de51a48-abdc-4da7-85d1-4393b2bf9a90 completed. Status:SUCCESS. Errors:None
Successfully introspected 1 node(s).
But when using --provides we get the error:
(undercloud) [stack@host01 ~]$ openstack overcloud node introspect host2 --provide
Waiting for introspection to finish...
Started Mistral Workflow tripleo.baremetal.v1.introspect. Execution ID: 6306dfac-444e-4d94-81e7-6b160aadd4d4
Waiting for messages on queue 'tripleo' with no timeout.
Introspection of node 4de51a48-abdc-4da7-85d1-4393b2bf9a90 completed. Status:SUCCESS. Errors:None
Successfully introspected 1 node(s).
Started Mistral Workflow tripleo.baremetal.v1.provide. Execution ID: 49af91cc-3757-4297-a881-bcb4a63fc86d
Waiting for messages on queue 'tripleo' with no timeout.
[u"Failed to run action [action_ex_id=4d57d3bb-a7f4-4870-8d0f-22464fa9aa25, action_cls='<class 'mistral.actions.action_factory.NovaAction'>', attributes='{u'client_method_name': u'hypervisors.find'}', params='{u'hypervisor_hostname': u'host2'}']\n NovaAction.hypervisors.find failed: No Hypervisor matching {u'hypervisor_hostname': u'host2'}. (HTTP 404)"]
According to Dmitry the provide workflow cannot accept names.
It appears the problem is when using --provide
For example this works fine. ------- ------- ------- ------- ----+-- -----+- ------- ------- +------ ------- +------ ------- ------- +------ ------- + ------- ------- ------- ------- ----+-- -----+- ------- ------- +------ ------- +------ ------- ------- +------ ------- + abdc-4da7- 85d1-4393b2bf9a 90 | host2 | None | power on | manageable | False | 8c0c-437f- a7f6-82e7c2ab37 93 | host3 | None | power on | manageable | False | ------- ------- ------- ------- ----+-- -----+- ------- ------- +------ ------- +------ ------- ------- +------ ------- +
(undercloud) [stack@host01 ~]$ openstack baremetal node list
+------
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+------
| 4de51a48-
| ec6694c6-
+------
(undercloud) [stack@host01 ~]$ openstack overcloud node introspect host2 baremetal. v1.introspect. Execution ID: 2c03e135- 514f-4bfe- 9107-77aae3a2e5 35 abdc-4da7- 85d1-4393b2bf9a 90 completed. Status:SUCCESS. Errors:None
Waiting for introspection to finish...
Started Mistral Workflow tripleo.
Waiting for messages on queue 'tripleo' with no timeout.
Introspection of node 4de51a48-
Successfully introspected 1 node(s).
But when using --provides we get the error: baremetal. v1.introspect. Execution ID: 6306dfac- 444e-4d94- 81e7-6b160aadd4 d4 abdc-4da7- 85d1-4393b2bf9a 90 completed. Status:SUCCESS. Errors:None baremetal. v1.provide. Execution ID: 49af91cc- 3757-4297- a881-bcb4a63fc8 6d ex_id=4d57d3bb- a7f4-4870- 8d0f-22464fa9aa 25, action_cls='<class 'mistral. actions. action_ factory. NovaAction' >', attributes= '{u'client_ method_ name': u'hypervisors. find'}' , params= '{u'hypervisor_ hostname' : u'host2'}']\n NovaAction. hypervisors. find failed: No Hypervisor matching {u'hypervisor_ hostname' : u'host2'}. (HTTP 404)"]
(undercloud) [stack@host01 ~]$ openstack overcloud node introspect host2 --provide
Waiting for introspection to finish...
Started Mistral Workflow tripleo.
Waiting for messages on queue 'tripleo' with no timeout.
Introspection of node 4de51a48-
Successfully introspected 1 node(s).
Started Mistral Workflow tripleo.
Waiting for messages on queue 'tripleo' with no timeout.
[u"Failed to run action [action_
According to Dmitry the provide workflow cannot accept names.