VPS conversion to HN using
convert_vps_to_host.py failed with the following error:
ip route add default via xxx.xxx.xx.xx"']' exited with non-zero status, stdout = '' stderr = 'RTNETLINK answers: No such process
Also why it is trying to set eth1 not eth0 ?
Gateway IP address that was specified when executing the script is not accessible from VPS. Assigning default route fails the error
RTNETLINK answers: No such process because route via path is not known to the host. Please refer to the article http://serverfault.com/questions/437598/what-can-cause-rtnetlink-answers-no-such-process-when-adding-a-route for more details.
When you execute the
convert_vps_to_host.py script, make sure that the gateway specified in the script parameters is accessible from the VPS.
NOTE: there can be an issue with network mask. If incorrect network mask was assigned to the container during conversion, then such error will be shown because the gateway is not accessible from the inside of the container. To fix this situation, change the network mask for the container on the side of Virtuozzo and repeat the conversion attempt.