I’m having trouble starting the VM.
LCM State: BOOT_UNDEPLOY_FAILURE
Message in OpenNebula Sunstone:
"Driver Error
DEPLOY: bridge: ERROR: pre: Command “sudo -n ip link set master virbr0” failed. ERROR: pre: Not enou… see more details in VM log "
VM log:
[Z0][VMM][I]: Command execution fail (exit code: 255): cat << 'EOT' | /var/tmp/one/vnm/bridge/pre
[Z0][VMM][E]: pre: Command "sudo -n ip link set master virbr0" failed.
[Z0][VMM][E]: pre: Not enough information: "dev" argument is required.
[Z0][VMM][I]: Not enough information: "dev" argument is required.
[Z0][VMM][I]: ExitCode: 255
[Z0][VMM][I]: Failed to execute network driver operation: pre.
[Z0][VMM][E]: DEPLOY: bridge: ERROR: pre: Command "sudo -n ip link set master virbr0" failed. ERROR: pre: Not enough information: "dev" argument is required. Not enough information: "dev" argument is required. ExitCode: 255
[Z0][VM][I]: New LCM state is BOOT_UNDEPLOY_FAILURE
VM → Conf
ETH0_EXTERNAL
ETH0_GATEWAY 192.168.122.1
ETH0_IP 192.168.122.2
ETH0_IP6
ETH0_IP6_GATEWAY
ETH0_IP6_METHOD
ETH0_IP6_METRIC
ETH0_IP6_PREFIX_LENGTH
ETH0_IP6_ULA
ETH0_MASK 255.255.255.0
VM → Template
NIC = [
AR_ID = "0",
BRIDGE = "virbr0",
BRIDGE_TYPE = "linux",
CLUSTER_ID = "0",
IP = "192.168.122.2",
NAME = "NIC0",
NETWORK = "private",
NETWORK_ID = "0",
NETWORK_UNAME = "oneadmin",
NIC_ID = "0",
OUTER_VLAN_ID = "",
PHYDEV = "",
SECURITY_GROUPS = "0",
TARGET = "one-0-0",
VLAN_ID = "",
VN_MAD = "bridge"
]
I have installed OpenNebula. OpenNebula 6.6.0
I set up a VM (KVM-Ubuntu 22.04).
I have set up Network (Virutal Network Template, Virutal Network).
I’ve set up an SSH connection to an Ubuntu 22.04 VM.
Everything worked. I could connect to via ssh from the VM, there was internet access in the VM.
I wanted to do port forwarding to be able to connect via ssh from the internet to the VM. Using the information at libvirt: NAT forwarding (aka "virtual networks") (“Forwarding Incoming Connections”).
I restarted the host and the problem appeared. I couldn’t start the VM. I created another VM. In the created VM, I was able to connect via ssh but immediately I had no access. I restarted the host and the problem appeared in all VMs already.
I don’t know where exactly the problem is, where to look for it?