Wed Mar 12 13:07:31 2025: DEPLOY: ovswitch: No tap device found for nic 0 ExitCode: 1

I installed Opennbula - 6.4.5 on Alma-Linux-9
added rocky 8 host now i am getting this error.

While creating Vm , I can able to ping the Vm only after restarting libvirt in host

Hello @Senthil_Kumar_M,

That message typically indicates an issue with the integration between OpenNebula, Open vSwitch (OvS), and the underlying hypervisor.

To check possible causes, please follow these steps:

  • Verify Open vSwitch configuration
  • Check network interface assignments
  • Ensure compatibility between OpenNebula and OvS
  • Restart networking services
  • Synchronize drivers
  • And check logs

Hope it helps. If you need it, for further information, please add more information and details, since it’s very difficult to understand the problem only by one error message.

Regards,

While Vm gets deployed i am getting this error DEPLOY: ovswitch: No tap device found for nic 0 ExitCode: 1

ID 43
Name Test-VM-Final
State ACTIVE
LCM State RUNNING But though its running i cant see in ovs-vsctl show
ede865b0-f2c6-4e91-ad85-0f8ba06a1153
Bridge private
Port bond0
Interface ens259f1
Interface ens259f0
Port one-31-0
Interface one-31-0
Port one-40-0
Interface one-40-0
Port one-11-0
Interface one-11-0
Port one-34-0
Interface one-34-0
Port private
Interface private
type: internal Here

systemctl status libvirtd its showing ovs-vsctl[1840863]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 – --if-exists del-port one-43-0 – add-port private one-43-0 – set Interface one-43-0 “external-ids:attached-mac="02:00:ac:10:ed:0f"” – set Interface one-43-0 “external-ids:iface-id="0ef5c68e-51ac-4735-84fb-9467732363df"” – set Interface one-43-0 “external-ids:vm-id="14cb7095-6d18-490f-b3bf-18e108b37b75"” – set Interface one-43-0 external-ids:iface-status=active

After restarting libvirtd

I Can able to ping , But the issue is everytime its works after restarting the libvirtd

Hello again @Senthil_Kumar_M,

I didn’t notice before, but you mentioned that you are using OpenNebula 6.4.5. Currently I don’t know if this could be a bug or something that the team fixed on latest versions, so my question to you is if you are not able to install a newer version, like 6.10, for example.

Are you using 6.4.5 for compatibility issues?

Regards,