Symptoms:
Upon starting Usage Meter 4.x in vSphere after deployment, the console displays the following FAILED message:
[FAILED] Failed to start Wait for Network to be Configured. See 'systemctl status systemd-networkd-wait-online.service' for details.
The issue arises from the network netmask not being updated to CIDR notation (for example, use 24 for 255.255.255.0 and 28 for 255.255.255.240). This adjustment is necessary for Usage Meter to function correctly with a static IP.
This is also mentioned in the OVF deployment wizard as shown in the screenshot below.
Follow the steps below to fix the issue.
sudo root
cp /etc/systemd/network/10-eth0.network /etc/systemd/network/10-eth0.network.bak
vi network/10-eth0.network
You can refer to below format for reference
[Match}
Name-eth0
[Network]
Domains= domain.local
DNS=172.x.x.x
Address=172.x.x.x/24
LinkLocalAddressing=no
DHCP=no
[DHCP]
UseDNS=false
:wq!
Note: If you don't want to save your changes, enter :q! to exit the editor.
reboot