CentOS 5.11 in lxc

lweidig

Active Member
Oct 20, 2011
104
2
38
Sheboygan, WI
We are converting our OpenVZ containers on 3.4 to LXC in 4.0. So far this has been a simple process and worked without issue until this container. It is running CentOS 5.11 and when we run the ptc restore get an error "unsupported redhat release 'CentOS release 5.11 (Final)'". Tried to modify the conf file manually to look like another machine running CentOS 6 (works fine) but cannot get the machine to start. Here is the log from trying to start the machine:

Code:
      lxc-start 1444965707.634 ERROR    lxc_conf - conf.c:run_buffer:336 - Script exited with status 25      lxc-start 1444965707.634 ERROR    lxc_conf - conf.c:lxc_setup:3827 - failed to run mount hooks for container
 '114'.
      lxc-start 1444965707.634 ERROR    lxc_start - start.c:do_start:702 - failed to setup the container
      lxc-start 1444965707.634 ERROR    lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
      lxc-start 1444965707.748 ERROR    lxc_start - start.c:__lxc_start:1172 - failed to spawn '114'
      lxc-start 1444965713.047 ERROR    lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
      lxc-start 1444965713.047 ERROR    lxc_start_ui - lxc_start.c:main:346 - To get more details, run the contain
er in foreground mode.
      lxc-start 1444965713.047 ERROR    lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtain
ed by setting the --logfile and --logpriority options.

Assuming we cannot run this as a container is there any documented procedure for converting the OpenVZ image to a KVM machine that would be simple to follow. So far we have seen good things on 4.0. Thanks!