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 ~]$
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
Sasha - can you add the ironic_conductor.log? I wonder if this is related to https://bugzilla.redhat.com/show_bug.cgi?id=1683746?
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 ***