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 next message
ChrisV is currently offline  ChrisV
Messages: 1
Registered: June 2012
Junior Member
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/redhat-add_ip.sh
Setting CPU units: 1000
Configuring meminfo: 65536
Running container script: /etc/vz/dists/scripts/redhat-set_hostname.sh
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
2.6.18-274.7.1.el5.028stab095.1

[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 node...com 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
vzquota-3.0.12-1
ovzkernel-2.6.18-274.7.1.el5.028stab095.1
ovzkernel-2.6.18-238.12.1.el5.028stab091.1
vzprocps-2.0.11-6.13.swsoft
vzctl-lib-3.3-1
vzctl-3.3-1
ovzkernel-2.6.18-274.3.1.el5.028stab094.3
ovzkernel-devel-2.6.18-308.el5.028stab099.3
ovzkernel-2.6.18-308.el5.028stab099.3
ovzkernel-2.6.18-238.5.1.el5.028stab085.3

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.

Thanks!
Re: Cannot install Fedora 15/16 VPS template anymore [message #47360 is a reply to message #46854] Thu, 02 August 2012 12:19 Go to previous message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Just saw this post...

Perhaps I'm stating the obvious, but this isn't supposed to work. How did you manage to run Fedora 15 container on a 2.6.18-xxx kernel in the first place? AFAIK, Fedora 15 containers really do need a 2.6.32-xxx openvz kernel.
Previous Topic: Vswap Priority
Next Topic: tcprewrite pcap file with ip information
Goto Forum:
  


Current Time: Thu May 02 07:22:52 GMT 2024

Total time taken to generate the page: 0.01825 seconds