-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
KVM Agent
CLOUDSTACK VERSION
4.18
CONFIGURATION
- Advanced Networking
- FRR BGP daemon with BGP Unnumbered and VXLAN
OS / ENVIRONMENT
Ubuntu 22.04
SUMMARY
The 'control.cidr' configuration value from the agent.properties is no longer honered and thus the subnet 169.254.0.0/16 is always used.
This conflicts with BGP Unnumbered and thus renders the network configuration broken.
STEPS TO REPRODUCE
- Install KVM Agent 4.18
- Set control.cidr to 169.254.240.0/20
- See the cloud0 still gets the address 169.254.0.1/255.255.0.0
EXPECTED RESULTS
I would expect the CIDR to be honered.
LOGS
May 31 12:18:09 hv-pod2-r1-21 java[5559]: DEBUG [utils.script.Script] (main:) (logid:) Executing: /bin/bash -c ip address add 169.254.0.1/255.255.0.0 dev cloud0
May 31 12:18:09 hv-pod2-r1-21 java[5559]: DEBUG [utils.script.Script] (main:) (logid:) Cannot find device "cloud0"
May 31 12:18:09 hv-pod2-r1-21 java[5559]: DEBUG [utils.script.Script] (main:) (logid:) Executing: /bin/bash -c ip route add 169.254.0.0/16 dev cloud0 src 169.254.0.1
May 31 12:18:09 hv-pod2-r1-21 java[5559]: DEBUG [utils.script.Script] (main:) (logid:) Cannot find device "cloud0"
May 31 12:18:09 hv-pod2-r1-21 java[5559]: DEBUG [utils.script.Script] (main:) (logid:) Executing: /bin/bash -c ip link add name cloud0 type bridge
May 31 12:18:09 hv-pod2-r1-21 java[5559]: DEBUG [utils.script.Script] (main:) (logid:) Executing: /bin/bash -c ip link set cloud0 up
May 31 12:18:09 hv-pod2-r1-21 systemd-networkd[3152]: cloud0: Link UP
May 31 12:18:09 hv-pod2-r1-21 java[5559]: DEBUG [utils.script.Script] (main:) (logid:) Executing: /bin/bash -c ip address add 169.254.0.1/255.255.0.0 dev cloud0
This can be observed in the logs of the KVM Agent and here we can see that the /16 subnet is still used.
This used to work in versions prior to 4.18 and is now broken.
Reactions are currently unavailable