Symptoms
Conversion of VPS to Hardware Node fails with the following error:
/usr/local/pem/bin/convert_vps_to_host.py --only-checks --verbose --host-id 123 --hw-host-id 456 --gateway 1.2.3.4 --backnet backnet --frontnet frontnet
/usr/lib/python2.6/ ... raise Exception("Shared VPS located on hardware host %d but passed %s", row[0], hw_host_id)
Exception: ('Shared VPS located on hardware host %d but passed %s', 5, 157)
Cause
Issue appears because of inconsistency in OA DB: according to DB VPS is located on one node, but actually VPS is located on another node. Such issue could appear due to manual migrations of VPSs.
Resolution
Please contact Odin technical support to fix the issue.