OpenVZ Forum

Home » General » Discussions » Cannot install Fedora 15/16 VPS template anymore (Cannot install Fedora 15/16 VPS template anymore )
Cannot install Fedora 15/16 VPS template anymore [message #46854] Mon, 18 June 2012 15:22 Go to previous message
ChrisV is currently offline  ChrisV
Messages: 1
Registered: June 2012
Junior Member
From: *
Hi guys,
We were able to successfully install/reinstall CTs with the Fedora 15 - both 32-bit and x64 on a few hardware node, but it stopped working.

The problem is that after the VPS create, only 1 process starts, and there are some errors when trying to start services inside the container.

I've also downloaded the latest fedora-15 templates from OpenVZ website, but without any luck.

[root@node log]# vzctl --verbose create 66103 --ostemplate fedora-15-x86_64 --hostname vpsXXX --config basic
Looking for /vz/template/cache/fedora-15-x86_64.tar
Looking for /vz/template/cache/fedora-15-x86_64.tar.gz
Creating container private area (fedora-15-x86_64)
Performing postcreate actions
CT configuration saved to /etc/vz/conf/66103.conf
Container private area was created

[root@node log]# vzctl --verbose start 66103
Starting container ...
Container is mounted
Found osrelease 2.6.32 for dist fedora-15-x86_64
Set osrelease=2.6.32-274.7.1.el5.028stab095.1
Running container script: /etc/vz/dists/scripts/
Setting CPU units: 1000
Configuring meminfo: 65536
Running container script: /etc/vz/dists/scripts/
Container start in progress...

[root@node log]# vzlist -a | grep 66103
66103 1 running - vpsXXX


Inside the container there's the weird part:
[root@vpsXXX /]# service network start
FATAL: Could not load /lib/modules/2.6.32-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
Bringing up loopback interface: [ OK ]
FATAL: Could not load /lib/modules/2.6.32-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
touch: cannot touch `/var/lock/subsys/network': No such file or directory

ls /lib/modules/ returns empty

[root@node log]# cat /etc/vz/osrelease.conf
# List of kernel versions (osreleases) required by different
# distributions (OS templates). vzctl tells kernel to report
# the given version to containers based on a specified distro.
# Format: <template> <minimum kernel version required>
fedora-11 2.6.18
fedora-12 2.6.18
fedora-13 2.6.18
fedora-14 2.6.32
fedora-15 2.6.32
debian-6.0 2.6.32

[root@node log]# cat /proc/sys/kernel/virt_osrelease

[root@node log]# uname -a
Linux node... 2.6.18-274.7.1.el5.028stab095.1 #1 SMP Mon Oct 24 20:49:24 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux

As we're using k-splice, the actual kernel version is slightly newer:

[root@node log]# uptrack-uname -a
Linux 2.6.18-308.el5.028stab099.3 #1 SMP Wed Mar 7 15:56:00 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux

[root@node log]# cat /etc/redhat-release
CentOS release 5.8 (Final)

[root@node log]# rpm -qa | grep vz

and the server is up-to-date.

Any ideas on how to fix this, or suggestions? I couldn't find anything relevant on the internet.

Read Message
Read Message
Previous Topic: Vswap Priority
Next Topic: tcprewrite pcap file with ip information
Goto Forum:

Current Time: Thu Oct 21 13:50:48 GMT 2021