Unable to import nodes using staging-ovirt driver. Error: "Failed to get power state for node 1b246f12-ba40-446d-a215-834b07d1a41f. Error: name 'sdk' is not defined " Environment: openstack-ironic-staging-drivers-0.11.1-0.20190420132245.b7c6755.el8ost.noarch openstack-tripleo-common-10.7.1-0.20190614200406.277902e.el8ost Steps to reproduce: Deploy undercloud with: enabled_hardware_types = ipmi,staging-ovirt Try to import nodes. Node definition example from istackenv.json: "name": "compute-0", "mac": ["00:1a:4a:23:13:4f"], "pm_addr": "FQDN", "pm_type": "staging-ovirt", "pm_user": "<USERNAME>", "pm_vm_name": "compute", "pm_password": "<PASSWORD>" } Result: + openstack overcloud node import /home/stack/instackenv.json Waiting for messages on queue 'tripleo' with no timeout. Exception registering nodes: {'result': 'Failure caused by error in tasks: send_message\n\n send_message [task_ex_id=59763261-373f-4809-9885-33db422219aa] -> Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 1b246f12-ba40-446d-a215-834b07d1a41f did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 1b246f12-ba40-446d-a215-834b07d1a41f. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node 7c0d081c-3c54-4657-adf7-42b04d240b20 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 7c0d081c-3c54-4657-adf7-42b04d240b20. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node b866b636-52f4-4cd9-947e-2a572d02c474 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b866b636-52f4-4cd9-947e-2a572d02c474. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node b8ea8681-9418-405c-aa0c-da5022acc160 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b8ea8681-9418-405c-aa0c-da5022acc160. Error: name \\\'sdk\\\' is not defined\'})\n [wf_ex_id=8ced74e6-427f-4c3d-a7b8-271368a6482a, idx=0]: Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 1b246f12-ba40-446d-a215-834b07d1a41f did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 1b246f12-ba40-446d-a215-834b07d1a41f. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node 7c0d081c-3c54-4657-adf7-42b04d240b20 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 7c0d081c-3c54-4657-adf7-42b04d240b20. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node b866b636-52f4-4cd9-947e-2a572d02c474 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b866b636-52f4-4cd9-947e-2a572d02c474. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node b8ea8681-9418-405c-aa0c-da5022acc160 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b8ea8681-9418-405c-aa0c-da5022acc160. Error: name \\\'sdk\\\' is not defined\'})\n', 'status': 'FAILED', 'message': [{'result': 'Node 1b246f12-ba40-446d-a215-834b07d1a41f did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 1b246f12-ba40-446d-a215-834b07d1a41f. Error: name \'sdk\' is not defined'}, {'result': 'Node 7c0d081c-3c54-4657-adf7-42b04d240b20 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 7c0d081c-3c54-4657-adf7-42b04d240b20. Error: name \'sdk\' is not defined'}, {'result': 'Node b866b636-52f4-4cd9-947e-2a572d02c474 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b866b636-52f4-4cd9-947e-2a572d02c474. Error: name \'sdk\' is not defined'}, {'result': 'Node b8ea8681-9418-405c-aa0c-da5022acc160 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b8ea8681-9418-405c-aa0c-da5022acc160. Error: name \'sdk\' is not defined'}]} [{'result': 'Node 1b246f12-ba40-446d-a215-834b07d1a41f did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 1b246f12-ba40-446d-a215-834b07d1a41f. Error: name \'sdk\' is not defined'}, {'result': 'Node 7c0d081c-3c54-4657-adf7-42b04d240b20 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 7c0d081c-3c54-4657-adf7-42b04d240b20. Error: name \'sdk\' is not defined'}, {'result': 'Node b866b636-52f4-4cd9-947e-2a572d02c474 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b866b636-52f4-4cd9-947e-2a572d02c474. Error: name \'sdk\' is not defined'}, {'result': 'Node b8ea8681-9418-405c-aa0c-da5022acc160 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b8ea8681-9418-405c-aa0c-da5022acc160. Error: name \'sdk\' is not defined'}] {'result': 'Failure caused by error in tasks: send_message\n\n send_message [task_ex_id=59763261-373f-4809-9885-33db422219aa] -> Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 1b246f12-ba40-446d-a215-834b07d1a41f did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 1b246f12-ba40-446d-a215-834b07d1a41f. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node 7c0d081c-3c54-4657-adf7-42b04d240b20 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 7c0d081c-3c54-4657-adf7-42b04d240b20. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node b866b636-52f4-4cd9-947e-2a572d02c474 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b866b636-52f4-4cd9-947e-2a572d02c474. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node b8ea8681-9418-405c-aa0c-da5022acc160 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b8ea8681-9418-405c-aa0c-da5022acc160. Error: name \\\'sdk\\\' is not defined\'})\n [wf_ex_id=8ced74e6-427f-4c3d-a7b8-271368a6482a, idx=0]: Workflow failed due to message status. Status:FAILED Message:({\'result\': \'Node 1b246f12-ba40-446d-a215-834b07d1a41f did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 1b246f12-ba40-446d-a215-834b07d1a41f. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node 7c0d081c-3c54-4657-adf7-42b04d240b20 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 7c0d081c-3c54-4657-adf7-42b04d240b20. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node b866b636-52f4-4cd9-947e-2a572d02c474 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b866b636-52f4-4cd9-947e-2a572d02c474. Error: name \\\'sdk\\\' is not defined\'}, {\'result\': \'Node b8ea8681-9418-405c-aa0c-da5022acc160 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b8ea8681-9418-405c-aa0c-da5022acc160. Error: name \\\'sdk\\\' is not defined\'})\n', 'status': 'FAILED', 'message': [{'result': 'Node 1b246f12-ba40-446d-a215-834b07d1a41f did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 1b246f12-ba40-446d-a215-834b07d1a41f. Error: name \'sdk\' is not defined'}, {'result': 'Node 7c0d081c-3c54-4657-adf7-42b04d240b20 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node 7c0d081c-3c54-4657-adf7-42b04d240b20. Error: name \'sdk\' is not defined'}, {'result': 'Node b866b636-52f4-4cd9-947e-2a572d02c474 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b866b636-52f4-4cd9-947e-2a572d02c474. Error: name \'sdk\' is not defined'}, {'result': 'Node b8ea8681-9418-405c-aa0c-da5022acc160 did not reach state "manageable", the state is "enroll", error: Failed to get power state for node b8ea8681-9418-405c-aa0c-da5022acc160. Error: name \'sdk\' is not defined'}]}
*** This bug has been marked as a duplicate of bug 1683746 ***
We've verified that the python3-ovirt-engine-sdk4 is there in composes after 6/14 (at least) (undercloud) [stack@undercloud-0 ~]$ sudo podman exec -it ironic_conductor rpm -qa | grep ovirt python3-ovirt-engine-sdk4-4.2.9-3.el8ost.x86_64 I'm going to remove this a dup to the patch for the missing package so we can focus on the error message.
Related bug from osp-13 https://bugzilla.redhat.com/show_bug.cgi?id=1626341, however I don't think we need to restart ironic-conductor container in this case.
python-ovirt-engine-sdk4-4.2.9-4.el8ost has been built which fixes the issue
Temporarily removing blocker flag, will reinstate.
Verified: Environment: python3-ovirt-engine-sdk4-4.2.9-4.el8ost.x86_64 The reported issue doesn't reproduce.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:2811
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days