The installation process with PowerVC 2.1 has significantly changed compared to previous versions of PowerVC. The new installation process includes a step to install PowerVC opsmgr which facilitates the install of PowerVC using ansible playbooks that it comes packaged with. When attempting to install (and follow IBM infocenter documentation) on requirements for PowerVC 2.1 if you strictly start with a minimal RHEL9 build, you may see the following error when attempting to define a cluster using the powervc-opsmgr -c cluster command.

+--------------------------------------------------------------------------------+
   ERROR
	Could not obtain network interface name for host, list index out of range
+--------------------------------------------------------------------------------+
|                        *** End of PowerVC Inventory ***                        |
+--------------------------------------------------------------------------------+

This error is extremely vague and does not provide any real guidance on what the issue is but the issue relates to missing pre-requisite packages for the installer. The ansible playbooks used by powervc-opsmgr use the netstat command to detect the interfaces associated with the IP addresses you specify when defining your cluster. Without this package the powervc-opsmgr -c cluster command will fail. On a RHEL 9 system this package is part of the net-tools package. A simple dnf install net-tools will resolve the installation error for you.

Categories: PowerVC

1 Comment

Andre · June 26, 2023 at 5:18 am

Thanks for your help and this blogpost

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *