Admin-Ahead Community

Linux => Virtualization => Topic started by: Jithin on November 08, 2013, 10:09:58 pm

Title: Error : vzctl exited with code 17
Post by: Jithin on November 08, 2013, 10:09:58 pm
Hi Guys,

You may get the following error while doing an online container migration.

    Aug 17 22:25:22 h2-vps06 vzmdest[12099]: vzctl : Error: rst_restore_net: -22
    Aug 17 22:25:22 h2-vps06 vzmdest[12099]: vzctl : Failed to start the Container
    Aug 17 22:25:23 h2-vps06 vzmdest[12099]: vzctl : Failed to start the Container
    Aug 17 22:25:23 h2-vps06 vzmdest[12099]: /usr/sbin/vzctl exited with code 17
    Aug 17 22:25:26 h2-vps06 vzmdest[12099]: /usr/sbin/vzctl exited with code 17

This is causing because the there is no necessary iptable modules in the target node.

To fix the issue, compare and correct the iptable modules in "/etc/vz.conf" ( both source and destination ) and restart container.

Give it a try!