Symptoms
convert_vps_to_host.py
fails with the error:
2014-04-11 11:18:10.331 ERROR Precheck error: Host vps01.domain.tld (123) have following network configuration probles:
missing networks on venet0:
1.2.3.4/255.255.255.0
However, in VPS another netmask (255.255.255.255) is shown.
Cause
Incorrect netmask of VPS IP address.
Resolution
The issue is caused by non-matching netmask for 1.2.3.4. OA expects to see /24 netmask, however in host-routed mode the container has /32 netmask. To workaround the issue, please change netmask on VPS manually:
# ip a s venet0
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/void
inet 127.0.0.1/32 scope host venet0
inet 1.2.3.4/24 brd 10.61.37.255 scope global venet0:0
After that convert_vps_to_host.py
pre-check will be completed successfully.