I thought i would try and start simple - so i created a simple zone and vnet.
The container i attached to the zone came up and was issue an IP address from IPAM. I could ping both itslef and the gateway (host) address.
I realised i had set the subnet wrong.
so I added a new subnet with the right settings, tried to start the container and it failed.
so i removed the old subnet (so there is only one subnet on the vnet) and the container also failed
attaching the container to vmbr0 works
When i applied the SDN settings i see:
this only happend one the failure happend, the initial vnet creation was fine.
When i start the container and it fails:
this is my SDN config
and this is my frr.conf - just incase having that subnet defined twice is the issue.....
The container i attached to the zone came up and was issue an IP address from IPAM. I could ping both itslef and the gateway (host) address.
I realised i had set the subnet wrong.
so I added a new subnet with the right settings, tried to start the container and it failed.
so i removed the old subnet (so there is only one subnet on the vnet) and the container also failed
attaching the container to vmbr0 works
When i applied the SDN settings i see:
Code:
Removed "/etc/systemd/system/multi-user.target.wants/dnsmasq@node3.service".
Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq@node3.service -> /lib/systemd/system/dnsmasq@.service.
Job for dnsmasq@node3.service failed because the control process exited with error code.
See "systemctl status dnsmasq@node3.service" and "journalctl -xeu dnsmasq@node3.service" for details.
Could not run after_configure for DHCP server node3 command 'systemctl restart dnsmasq@node3' failed: exit code 1
TASK OK
When i start the container and it fails:
Code:
run_buffer: 571 Script exited with status 11
lxc_init: 845 Failed to run lxc.hook.pre-start for container "102"
__lxc_start: 2034 Failed to initialize container "102"
TASK ERROR: startup for container '102' failed
this is my SDN config
Code:
root@pve3 13:35:52 /etc/frr # cat /etc/pve/sdn/*.cfg
subnet: node3-10.0.83.0-24
vnet test
dhcp-range start-address=10.0.83.2,end-address=10.0.83.20
gateway 10.0.83.1
snat 1
vnet: test
zone node3
simple: node3
dhcp dnsmasq
ipam pve
nodes pve3
and this is my frr.conf - just incase having that subnet defined twice is the issue.....
Code:
frr version 8.5.2
frr defaults datacenter
hostname pve3
log syslog informational
service integrated-vtysh-config
!
interface en05
ip router openfabric 1
ipv6 router openfabric 1
!
interface en06
ip router openfabric 1
ipv6 router openfabric 1
!
interface lo
ip address 10.0.0.83/32
ip address 10.0.83.83/24
ip router openfabric 1
ipv6 address fc00::83/128
ipv6 address fd00:0:0:83::83/64
ipv6 router openfabric 1
openfabric passive
!
router openfabric 1
net 49.0000.0000.0003.00
spf-delay 10
spf-holdtime 20
spf-maximum-wait 50
lsp-gen-interval 5
exit
!
Last edited: