OpenVZ Forum - RDF feed
type: channel
items: Fedora Core 6 ready to use template?
items: Re: Fedora Core 6 ready to use template?

Fedora Core 6 ready to use template?
type: item
description: Hello, one of my users asked me for VE with Fedora Core 6 installed. It is't part of precreated packages: http://download.openvz.org/template/precreated/ Is precreated template of this system somewhere else? Thanks -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/
creator: Jan Tomasek
date: 2007-04-10T14:34:35-00:00

Re: Fedora Core 6 ready to use template?
type: item
description: Hello, There is no precreated template cache for FC6 at the moment at openvz.org. Probably somebody from OpenVZ users has created it, but I haven't heard about it. I guess, you can install FC5 precreated template cache, create a VE based on this template, then upgrade VE up to FC6 from inside VE using usual means (up2date, yum). After that clean VE from needless information (network settings, users, ...) and create a tar.gz archive of VE - it'll be a template cache for FC6. HTH, Vasily Jan Tomasek wrote: > Hello, > > one of my users asked me for VE with Fedora Core 6 installed. It is't > part of precreated packages: > http://download.openvz.org/template/precreated/ > > Is precreated template of this system somewhere else? > > Thanks > > > ------------------------------------------------------------ ------------ >
creator: Vasily Tarasov
date: 2007-04-12T08:39:39-00:00

Re: Fedora Core 6 ready to use template?
type: item
description: On Thu, 2007-04-12 at 12:39 +0400, Vasily Tarasov wrote: > Hello, > > There is no precreated template cache for FC6 at the moment at > openvz.org. Probably somebody from OpenVZ users has created it, but I > haven't heard about it. > I guess, you can install FC5 precreated template cache, create a VE > based on this template, then upgrade VE up to FC6 from inside VE using > usual means (up2date, yum). After that clean VE from needless > information (network settings, users, ...) and create a tar.gz archive > of VE - it'll be a template cache for FC6. I was able to replicate the vz/template/fedora/5 directory over to vz/template/fedora/6 and then modify the .../i386/conf/yum.conf file appropriately (just change all the instances of 5 to 6). I was then able to use vzcachepkg to create and manage the templates. I've got several VE's running based on that template now. It would be nice if someone could package this up and add it to the template repositories. This one is not to terribly hard to create. OTOH... I've just been working with CentOS 5. It's a friggen nightmare. There's a "conflicts with kernel < 2.6.12" built into the initscripts rpm that's hosing everything and I've been totally unable to build a centos-5 template. Even adding the kernel package to the package lists doesn't help (is it excluded somewhere, somehow). Even updating from CentOS 4 to CentOS 5 isn't working. The conflict exists if it doesn't find a kernel package it likes (in this case it doesn't even exist). You can install the kernel package (which can be removed later, if you care) and then vzyum will update a bunch of packages, including initscripts, and update even more when you run a final vzyum update after the vzyum install. But the resulting VE in non functional. Trying to enter the running VE, I get a "Unable to open pty: No such file or directory". No joy either way. Really strange, since they've got an RHEL 5 kernel on the OpenVZ site. No templates for VE's, though. If CentOS 5 won't bu…
creator: mhw
date: 2007-04-13T14:02:36-00:00

Re: Fedora Core 6 ready to use template?
type: item
description: > Really strange, since they've got an RHEL 5 kernel on the OpenVZ site. > No templates for VE's, though. If CentOS 5 won't build into a template, > I would guess RHEL 5 is going to be the same trouble. > > CentOS 5 was just released yesterday and the OpenVZ team doesn't even > have an FC6 template in the repositories yet, so I'm not holding my > breath. I think both FC6 and CentOS5 templates will be ready next week. Thanks, Kirill
creator: dev
date: 2007-04-13T16:07:08-00:00

Re: Fedora Core 6 ready to use template?
type: item
description: > On Thu, 2007-04-12 at 12:39 +0400, Vasily Tarasov wrote: >> Hello, >> >> There is no precreated template cache for FC6 at the moment at >> openvz.org. Probably somebody from OpenVZ users has created it, but I >> haven't heard about it. > >> I guess, you can install FC5 precreated template cache, create a VE >> based on this template, then upgrade VE up to FC6 from inside VE using >> usual means (up2date, yum). After that clean VE from needless >> information (network settings, users, ...) and create a tar.gz archive >> of VE - it'll be a template cache for FC6. > > I was able to replicate the vz/template/fedora/5 directory over to > vz/template/fedora/6 and then modify the .../i386/conf/yum.conf file > appropriately (just change all the instances of 5 to 6). I was then > able to use vzcachepkg to create and manage the templates. I've got > several VE's running based on that template now. It would be nice if > someone could package this up and add it to the template repositories. > This one is not to terribly hard to create. > > OTOH... I've just been working with CentOS 5. It's a friggen > nightmare. There's a "conflicts with kernel < 2.6.12" built into the > initscripts rpm that's hosing everything and I've been totally unable to > build a centos-5 template. Even adding the kernel package to the > package lists doesn't help (is it excluded somewhere, somehow). > > Even updating from CentOS 4 to CentOS 5 isn't working. The conflict > exists if it doesn't find a kernel package it likes (in this case it > doesn't even exist). You can install the kernel package (which can be > removed later, if you care) and then vzyum will update a bunch of > packages, including initscripts, and update even more when you run a > final vzyum update after the vzyum install. But the resulting VE in non > functional. Trying to enter the running VE, I get a "Unable to open > pty: No such file or directory". No joy either way. > i tried yesterday the same and got centos5 ve under centos5 …
creator: Peter Hackl
date: 2007-04-13T16:14:42-00:00

Re: Fedora Core 6 ready to use template?
type: item
description: Kirill Korotaev wrote: >> Really strange, since they've got an RHEL 5 kernel on the OpenVZ site. >> No templates for VE's, though. If CentOS 5 won't build into a template, >> I would guess RHEL 5 is going to be the same trouble. >> >> CentOS 5 was just released yesterday and the OpenVZ team doesn't even >> have an FC6 template in the repositories yet, so I'm not holding my >> breath. >> > > I think both FC6 and CentOS5 templates will be ready next week. FC6/i686 (precreated only) is now available from http://download.openvz.org/template/precreated/fedora-core-6 -i686-default.tar.gz FC6/x86_64 will follow next week. CentOS 5 -- we will start working on it next week.
creator: kir
date: 2007-04-13T16:36:19-00:00

Re: Fedora Core 6 ready to use template?
type: item
description: Michael H. Warfield wrote: > Even updating from CentOS 4 to CentOS 5 isn't working. The conflict > exists if it doesn't find a kernel package it likes (in this case it > doesn't even exist). You can install the kernel package (which can be > removed later, if you care) and then vzyum will update a bunch of > packages, including initscripts, and update even more when you run a > final vzyum update after the vzyum install. But the resulting VE in non > functional. Trying to enter the running VE, I get a "Unable to open > pty: No such file or directory". No joy either way. > All I can provide now are a few hints. CentOS 5 template will be available in a few weeks or so. 1. Check if /dev is hosted on tmpfs. If yes -- find out where in initscripts /dev is mounted using tmpfs, and get rid of this mount. 2. Try to (forcibly I suppose) remove udev package from the VE, and install back vzdev package. 3. Copy the /dev/ttyp* and /dev/ptyp* devices from VE0 into VE. 4. Make sure /dev/pts is mounted inside a VE. 5. Check if your kernel is compiled with the following options: CONFIG_UNIX98_PTYS=y CONFIG_LEGACY_PTYS=y
creator: kir
date: 2007-04-13T16:42:10-00:00

Re: Fedora Core 6 ready to use template?
type: item
description: Hello Kir, > FC6/i686 (precreated only) is now available from > http://download.openvz.org/template/precreated/fedora-core-6 -i686-default.tar.gz Thank you very much! I already installed FC6 into VMWare, transfered it into OpenVZ and I was fighting with udev and yum. I was beaten first time when I missed that yum is going remove yum and rpm ;) Second try was better but still not very good (I just edited /sbin/start_udev to not start it and provided static /dev). Maybe you can reconsider some of packages inside, such as lm_sensors. They are not necasary for VE and on other hand I was missing yum inside, I'm not very used to rpm, I'm mainly using Debian. yum is in my option much user-friendly than plain rpm. Your template is much better than mine attempt. Thanks you very much, your help is very appreciated! Thanks :) -- ----------------------- Jan Tomasek aka Semik http://www.tomasek.cz/
creator: Jan Tomasek
date: 2007-04-13T20:18:27-00:00