ansible-role-systemd_networkd not support vip /32
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
New
|
Wishlist
|
Unassigned |
Bug Description
Hello,
I noticed that the ansible-
here are the variables I've used:
systemd_
systemd_networks:
- interface: "ens18"
address: "10.0.100.11"
netmask: "255.255.255.255"
gateway: "10.0.100.254"
mtu: 1500
usedns: true
systemd_resolved:
DNS: "10.0.0.10"
FallbackDNS: "9.9.9.9 1.1.1.1"
this format is not valid for an ip in /32 :
[Match]
Name=ens18
[Network]
Address=
Gateway=
DNS=10.1.10.1
According to my research and testing, it should be in this format:
[Match]
Name=ens18
[Network]
Gateway=
[Address]
Address=10.0.100.11
Peer=10.
We'll have to see about adding /32 ip management to the template.
Changed in openstack-ansible: | |
importance: | Undecided → Wishlist |
Hi,
I'm not sure about the context of systemd_networkd usage, but I assume that having var like this should lead to result you've posted:
systemd_networks: overrides:
- interface: "ens18"
mtu: 1500
usedns: true
config_
Network:
Gateway: 10.1.100.254
Address:
Address: 10.0.100.11
Peer: 10.1.100.254/32
Any contributions/ proposals to optimize the flow are very welcome :)