When instospection overcloud nodes the command get's stuck when providing nodes after succesful introspection in case the ironic node is locked. The workflow should retry and fail if repeated attempts keep failing.
Waiting for introspection to finish...
Waiting for messages on queue 'tripleo' with no timeout.
Introspection of node d8c98749-fe43-4407-8bec-550eaf8f7348 failed.
Introspection of node efcb9aac-83ab-4afe-9dba-55b4af3a54ab completed. Status:SUCCESS. Errors:None
Retrying 1 nodes that failed introspection. Attempt 1 of 3
Introspection of node d8c98749-fe43-4407-8bec-550eaf8f7348 completed. Status:SUCCESS. Errors:None
Successfully introspected 1 node(s).
Introspection completed.
Waiting for messages on queue 'tripleo' with no timeout.
[{}, {u'result': u"The action raised an exception [action_ex_id=5807bd14-3096-49ca-a48e-8e8ab53aa814, action_cls='<class 'mistral.actions.action_factory.IronicAction'>', attributes='{u'client_method_name': u'node.set_provision_state'}', params='{u'state': u'provide', u'node_uuid': u'd8c98749-fe43-4407-8bec-550eaf8f7348'}']\n IronicAction.node.set_provision_state failed: Node d8c98749-fe43-4407-8bec-550eaf8f7348 is locked by host undercloud.rdocloud, please retry after the current operation is completed. (HTTP 409)"}]
Does someone have a fix for this issue ?
Waiting for messages on queue 'tripleo' with no timeout. ex_id=4e2f2d80- 76a4-479e- ad62-088164efc3 67, action_cls='<class 'mistral. actions. action_ factory. IronicAction' >', attributes='
[{}, {u'result': u"The action raised an exception [action_
{u'client_ method_ name': u'node. set_provision_ state'} bc22-4e74- bd40-de7e77b82d b3'}']\ n IronicAction. node.set_ provision_ state failed: Node 30925bac- bc22-4e74- bd40-de7e77b82d b3 is locked by host undercloud. localdomain, please retry after the current operation is completed. (HTTP 409)"}, {}, {}, {}, {}]
', params='{u'state': u'provide', u'node_uuid': u'30925bac-
No JSON object could be decoded
2020-04-01 09:36:47,227 - CbisDeployment - ERROR - e is: error occurred during command: ex_id=4e2f2d80- 76a4-479e- ad62-088164efc3 67, action_cls='<class 'mistral. actions. action_ factory. IronicAction' >', attributes='
openstack overcloud node provide --all-manageable
error:
Waiting for messages on queue 'tripleo' with no timeout.
[{}, {u'result': u"The action raised an exception [action_
{u'client_ method_ name': u'node. set_provision_ state'} bc22-4e74- bd40-de7e77b82d b3'}']\ n IronicAction. node.set_ provision_ state failed: Node 30925bac- bc22-4e74- bd40-de7e77b82d b3 is locked by host undercloud. localdomain, please retry after the current operation is completed. (HTTP 409)"}, {}, {}, {}, {}]
', params='{u'state': u'provide', u'node_uuid': u'30925bac-
No JSON object could be decoded