This article is intended for administrators wishing to solve the error message when registering the Plugin VM with vCenter "Device "eth0" does not exist".
Plugin VM Registration Error - Device "eth0" Does Not Exist
Expand the sections below to review the plugin registration error and the steps required to update the Plugin VM network interface name to eth0.
Edit the netplan config file to update the device from the currently allocated name to eth0. As the register script is looking for a device that has this name.
Description of Problem
When running the register plugin command the following error: "Device "eth0" does not exist" is thrown and despite what looks a successful deployment there is no visible plugin in the vCenter or Datacenter object in Inventory View in vCenter.
sudo /opt/stormagic/SvSAN/bin/configure_plugin.sh -o register -v <vcenter fqdn> -u <username> -p -
Unregister the Plugin from vCenter
Unregister the plugin from vCenter using the following syntax (adjust where necessary).
sudo /opt/stormagic/SvSAN/bin/configure_plugin.sh -o unregister -v <vCenter fqdn> -u <user name> -p -
Back Up the Netplan Configuration
Now edit the .yaml file to change the name of the interface to eth0.First make a backup of the current config using the following syntax:
cp /etc/netplan/01-netplan-ansible.yaml /etc/netplan/01-netplan-ansible-bk.yaml
Update the Network Interface to eth0
Edit the exiting .yaml file and update the set command:
sudo nano /etc/netplan/01-netplan-ansible.yaml
Change the value in "set-name" to eth0. In this example it was ens192 - updated this to eth0 and saved changes.
Apply the Netplan Changes
Apply changes with the following command
sudo netplan apply
Register the Plugin with vCenter
Register the plugin VM once more with vCenter using the same command as before:
sudo /opt/stormagic/SvSAN/bin/configure_plugin.sh -o register -v <vcenter fqdn> -u <username> -p -
Verify that the command has completed without warnings and that the plugin has been successfully registered in vCenter.
For further troubleshooting of the plugin VM see these articles:
Troubleshooting Issues with PluginVM deployment for SvSAN
SvSAN Plugin VM and Edge Control Orchestrator networking - View/Modify

Comments
0 comments
Article is closed for comments.