canonical / maas-anvil

A snap for managing charmed MAAS deployments.
https://maas.io
Apache License 2.0
3 stars 7 forks source link

Using a VIP for haproxy sometimes breaks the deployment #57

Open bjornt opened 2 months ago

bjornt commented 2 months ago

When giving anvil a VIP for haproxy that is the .10 address for the management network, I get consistent failures to deploy.

For example, my management network is 10.5.120.0/24 and I use 10.5.120.10 as the VIP. It always fails for me.

However, if I choose another IP for the VIP, I get successful runs.

I wonder if something is sorting IPs and getting the first one? Apart from 10.5.120.1, which is already taken by the gateway, 10.5.120.10 is the next IP if you sort the IPs as strings.