Hello,
I want to delete a Virtual Private Network but I can’t because OpenNebula says there is a VM attached to it:
However, that VM doesn’t exist at system:
oneadmin@myserver:~$ onevm list | grep 1427
oneadmin@myserver:~$
But if for onevnet
, VM is attached:
[...]
LEASES
AR OWNER MAC IP PORT_FORWARD IP6
0 V:1427 02:00:0a:0a:0a:64 10.10.10.100 - -
[...]
I have tried with all these commands but VM continues attached to Virtual Network:
onedb update-body vnet --id 0
onedb update-body vm --id 1427
onevm recover --delete 1427
onevm terminate 1427
onevm terminate --hard 1427
onevnet release 0 10.10.10.100
VM appears in state “DONE” and all options like “Power Off”, “Undeploy”, “Release” or “Recover” (and more…) and disabled, so I can’t do anything:
How could I delete it and free Virtual Network from that attached VM?
Thanks.