Trying to install PowerVC on Rhel8.10 and encounter error when trying to create the inventory. I alos followed a discussion on reconfiguring the ssh key. The ssh key didn't resolve the failure.
Traceback (most recent call last):
File "/bin/powervc-opsmgr", line 16, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/powervc_opsmgr/cmd/opsmgr.py", line 125, in main
OpsManager()
File "/usr/lib/python3.11/site-packages/powervc_opsmgr/cmd/opsmgr.py", line 67, in __init__
ext[args.command](sys.argv)
File "/usr/lib/python3.11/site-packages/powervc_opsmgr/flows/inventory.py", line 124, in __init__
opsmgr_utils.display_cluster_inventory(inventory_dict)
^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'inventory_dict' where it is not associated with a value
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.