Dear Proxmox-Team and other users,
I am currently working on a proxmox-lab combining a root server and a lab server at home. I've establshed an VXNat-Zone at the cluster level and a Vnet based on this.
After some testing I changed the network-setup of my Cloud-Init Guest and since this point, qemu is unable to boot this system. The following error is reported:
The error seems to be caused by using a Vnet in conjunction with Cloud-Init - using any other network device besides the Vnet works flawlessly. Since this error starts to appear, I am completely unable to use a VNet with cloud-init.
What i've tried so far to resolve this:
- Triage using different clones and cloud-init configurations
- Restart network services
- Remove and add the vnet
- Remove and add the Zone
- Several reboots of the home-hypervisor
After all this triage, using
My Network config:
I am currently working on a proxmox-lab combining a root server and a lab server at home. I've establshed an VXNat-Zone at the cluster level and a Vnet based on this.
After some testing I changed the network-setup of my Cloud-Init Guest and since this point, qemu is unable to boot this system. The following error is reported:
Code:
generating cloud-init ISO
failed to open /proc/sys/net/ipv6/conf/tap101i0/disable_ipv6 for writing: No such file or directory
kvm: -netdev type=tap,id=net0,ifname=tap101i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on: network script /var/lib/qemu-server/pve-bridge failed with status 512
start failed: QEMU exited with code 1
The error seems to be caused by using a Vnet in conjunction with Cloud-Init - using any other network device besides the Vnet works flawlessly. Since this error starts to appear, I am completely unable to use a VNet with cloud-init.
What i've tried so far to resolve this:
- Triage using different clones and cloud-init configurations
- Restart network services
- Remove and add the vnet
- Remove and add the Zone
- Several reboots of the home-hypervisor
After all this triage, using
ifreload -c
results into: warning: error writing to file /proc/sys/net/ipv6/conf/test/forwarding([Errno 2] No such file or directory: '/proc/sys/net/ipv6/conf/test/forwarding')
. I don't use ipv6 in my home-network, due to some VPN-issues as of now. Could this be the root-case? The 2nd node has ipv6 enabled.My Network config:
/etc/network/interfaces
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto enp0s31f6
iface enp0s31f6 inet static
address [redacted]
gateway [redacted]
auto vmbr0
iface vmbr0 inet static
address 10.0.0.1/30
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.0.0.2/30' -o enp0s31f6 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.2/30' -o enp0s31f6 -j MASQUERADE
/etc/network/interfaces.d/sdn
Code:
#version:14
auto test
iface test
bridge_ports vxlan_test
bridge_stp off
bridge_fd 0
mtu 1000
auto vxlan_test
iface vxlan_test
vxlan-id 10
vxlan_remoteip 192.168.254.3
mtu 1000
Last edited: