Bug 1712542 - staging-ovirt nodes import: {'result': 'Node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0. Error: name \'sdk\' is not defined'}
Summary: staging-ovirt nodes import: {'result': 'Node c5ba34a7-b7ea-435b-b8c4-9b85b127...
Keywords:
Status: CLOSED DUPLICATE of bug 1683746
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: mlammon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-21 18:03 UTC by Alexander Chuzhoy
Modified: 2019-05-21 20:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-21 20:49:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexander Chuzhoy 2019-05-21 18:03:37 UTC
staging-ovirt nodes import: {'result': 'Node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0. Error: name \'sdk\' is not defined'}


Environment:
openstack-ironic-staging-drivers-0.11.1-0.20190420132245.b7c6755.el8ost.noarch
python3-ironic-inspector-client-3.5.0-0.20190313131319.9bb1150.el8ost.noarch
openstack-ironic-common-12.1.1-0.20190507170359.9186b11.el8ost.noarch
openstack-ironic-conductor-12.1.1-0.20190507170359.9186b11.el8ost.noarch
python3-ironic-lib-2.16.2-0.20190312184129.2020575.el8ost.noarch
puppet-ironic-14.4.1-0.20190423121513.cd9417e.el8ost.noarch
python3-ironicclient-2.7.0-0.20190517140354.4af8a79.el8ost.noarch


Steps to reproduce:

Deploy undercloud
Try to import nodes using staging-ovirt driver.


Result:

(undercloud) [stack@undercloud ~]$ openstack overcloud node import /home/stack/instackenv.json
Waiting for messages on queue 'tripleo' with no timeout.
{'result': 'Failure caused by error in tasks: send_message\n\n  send_message [task_ex_id=44e0f223-be9b-4715-b723-f94a1a5949fe] -> Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 07a25234-a412-42e2-9491-e5a37205d1bd did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 07a25234-a412-42e2-9491-e5a37205d1bd. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node 89d4b50d-6687-4886-9d19-9048b7693274 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 89d4b50d-6687-4886-9d19-9048b7693274. Error: name \\\'sdk\\\' is not defined\'})\n    [wf_ex_id=70f83dd9-4d1c-4747-9069-97d97ce2cb09, idx=0]: Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 07a25234-a412-42e2-9491-e5a37205d1bd did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 07a25234-a412-42e2-9491-e5a37205d1bd. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node 89d4b50d-6687-4886-9d19-9048b7693274 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 89d4b50d-6687-4886-9d19-9048b7693274. Error: name \\\'sdk\\\' is not defined\'})\n', 'status': 'FAILED', 'message': [{'result': 'Node 07a25234-a412-42e2-9491-e5a37205d1bd did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 07a25234-a412-42e2-9491-e5a37205d1bd. Error: name \'sdk\' is not defined'}, {'result': 'Node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5. Error: name \'sdk\' is not defined'}, {'result': 'Node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0. Error: name \'sdk\' is not defined'}, {'result': 'Node 89d4b50d-6687-4886-9d19-9048b7693274 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 89d4b50d-6687-4886-9d19-9048b7693274. Error: name \'sdk\' is not defined'}]}
Exception registering nodes: {'result': 'Failure caused by error in tasks: send_message\n\n  send_message [task_ex_id=44e0f223-be9b-4715-b723-f94a1a5949fe] -> Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 07a25234-a412-42e2-9491-e5a37205d1bd did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 07a25234-a412-42e2-9491-e5a37205d1bd. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node 89d4b50d-6687-4886-9d19-9048b7693274 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 89d4b50d-6687-4886-9d19-9048b7693274. Error: name \\\'sdk\\\' is not defined\'})\n    [wf_ex_id=70f83dd9-4d1c-4747-9069-97d97ce2cb09, idx=0]: Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 07a25234-a412-42e2-9491-e5a37205d1bd did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 07a25234-a412-42e2-9491-e5a37205d1bd. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node 89d4b50d-6687-4886-9d19-9048b7693274 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 89d4b50d-6687-4886-9d19-9048b7693274. Error: name \\\'sdk\\\' is not defined\'})\n', 'status': 'FAILED', 'message': [{'result': 'Node 07a25234-a412-42e2-9491-e5a37205d1bd did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 07a25234-a412-42e2-9491-e5a37205d1bd. Error: name \'sdk\' is not defined'}, {'result': 'Node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node adce3e23-1fa5-4583-b9a6-6a6c54e34ef5. Error: name \'sdk\' is not defined'}, {'result': 'Node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node c5ba34a7-b7ea-435b-b8c4-9b85b12790b0. Error: name \'sdk\' is not defined'}, {'result': 'Node 89d4b50d-6687-4886-9d19-9048b7693274 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 89d4b50d-6687-4886-9d19-9048b7693274. Error: name \'sdk\' is not defined'}]}
(undercloud) [stack@undercloud ~]$

Comment 1 Alexander Chuzhoy 2019-05-21 18:09:08 UTC
same error in ironic-conductor log:
2019-05-21 20:57:59.512 8 ERROR ironic.conductor.manager [req-4cef8597-5b07-497a-8ab4-96de6d1792c8 4fb8a657a1fa48b7b6ace701c46f4fcd 28bf66d634ea44889ec7c299a178fcac - default default] Failed to get power state for node 07a25234-a412-42e2-9491-e5a37205d1bd. Error: name 'sdk' is not defined

Comment 2 Bob Fournier 2019-05-21 18:32:52 UTC
Sasha - can you add the ironic_conductor.log?  I wonder if this is related to https://bugzilla.redhat.com/show_bug.cgi?id=1683746?

Comment 3 Bob Fournier 2019-05-21 20:49:38 UTC
Since there's already a bug opened to add the sdk driver I'm going to make that bug a blocker and close this as a duplicate of that one.

*** This bug has been marked as a duplicate of bug 1683746 ***


Note You need to log in before you can comment on or make changes to this bug.