Article ID: 128010, created on Jan 11, 2016, last review on Jan 11, 2016

  • Applies to:
  • Operations Automation 5.5

Symptoms

When running the VPS conversion script, I get the following error:

# /usr/local/pem/bin/convert_vps_to_host.py --host-id 46 --hw-host-id 62 --gateway 192.168.0.1 --backnet BackNet --frontnet FrontNet --verbose
2015-03-04 17:34:40.516 DEBUG Using database: plesk(1)
...
2015-03-04 17:34:42.756 ERROR Precheck error: Host vps001.hosting.tld (46) have following network configuration probles:
network interfaces are missing on Shared VPS:
venet0

I tried reregistering the container to see if this would help OA to recognize that there are no more venet0 interfaces but that did not help.

Cause

Host-routed network interface was removed from the container manually.

Resolution

It is not needed to remove the routed network configuration from container and add bridged adapters manually. Convert script is supposed to do it. Only the following things should be done in regards to network configuration:

  1. check bridged network on the hardware node and create them if needed:

    # vznetcfg net list
    # vznetcfg net new BackNet
    # vznetcfg net new FrontNet
    
  2. check IP addresses and how they are bound to networks

  3. associate new networks with correct adapters using the command like:

    # vznetcfg net addif BackNet eth1
    

If you face the issue described above, please remove bridged adapters from the container and add host-routed adapters in the same way as they were configured before. Alternatively, if you do not know previous configuration, you may restore the clone of the container.

Search Words

Error converting shared vps to hw node

convert_vps_to_host.py

VPS conversion

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF