[opensuse-buildservice] NEW: up-to-date OpenVZ kernels at 'Virtualization:OpenVZ' BS project
Hello all of you, virtualization addicts! [reference] OpenVZ is container-based virtualization for Linux -> http://wiki.openvz.org/Main_Page [/reference] It's been quite a while since any OpenVZ kernel package shows up on the Build Service. SLES10 2.6.16 kernel is still maintain by the OpenVZ team but openSUSE users had it hard getting newer OpenVZ kernel running without giving up on Suse kernel configuration and patches. So here comes the new 'Virtualization:OpenVZ' project hosted on BS. It aims at providing recent openvz kernel builds while being as close as possible to the original Suse kernel ABIs and default configurations. Some trade-offs had to be made though. Most notably, Apparmor patches could not accommodate with OpenVZ ones. I suspect this would take a significant amount of work and testing to get them both. Two OpenVZ kernels has been packaged: - 2.6.24 -> Virtualization:OpenVZ:STABLE sub-project, available repositories : SLE_10, openSUSE_10.3 and openSUSE_11.0. - 2.6.26 git -> Virtualization:OpenVZ:HEAD sub-project, available repositories : openSUSE_11.0 and openSUSE_Factory. Appropriate administration tools are included in each repository. Packages are: kernel-ovz-default, kernel-ovz-pae, kernel-ovz-debug vzctl, vzquota, linux-kernel-headers, kernel-ovz-source. OpenVZ requires templates to create containers. You can find some of them at http://wiki.openvz.org/Download/template/precreated or create one yourself (search openvz wiki). I will soon add an openSuse 11.0 template in the 'Virtualization:OpenVZ' repository. Also you need IPv6 enabled (use Yast) to load required openvz kernel modules. Last but not least, please consider those packages at beta stage. Comments/bug reports are greatly appreciated. Especially I would be grateful to any experienced kernel packager who would have a look at Virtualization:OpenVZ:HEAD/kernel-source and the set of diff applied to Kernel:HEAD/kernel-source and tell me if I did commit any 'spec file blasphemy'. Project homepages: http://build.opensuse.org/project/show?project=Virtualization:OpenVZ http://build.opensuse.org/project/show?project=Virtualization:OpenVZ:STABLE http://build.opensuse.org/project/show?project=Virtualization:OpenVZ:HEAD have a lot of fun! -Jb. G --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Jean ! Thanks a lot for providing us with OpenVZ packages, as I was fighting a losing war. I mean, that my OpenVZ kernel were very funtionally poor and lacked a lot of drivers, because I used OpenVZ's reference kernel-config file and I was unable to understand and build openSUSE "guest OS" template. Another important point is Documentation. Unfortunately official OpenVZ documentation is made for Red Hat, so users of other distros are left out in the cold. I have an idea how-to change this ! I can write basic documentation as part of openSUSE's Community Documentation Project "Lessons for Lizards". (if time permits) Good day, -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
After documentation, next step for distro integration would be OpenVZ GUI (easyVZ?) + integrating packages into Factory. -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Just tried your packages on my openSUSE 10.3 32-bit. As you may see, your packages fail to install on openSUSE 10.3 due to dependencies. I have used "--nodeps" to install anyway, and pray for those packages to work, but we may need to improve this situation. (spec file) Log ================================================================= suse103-home:/E/Lin-Install/OpenVZ/openSUSE-10.3-Host/i586 # rpm -ivh kernel-ovz-default-2.6.24-4.1.i586.rpm libvzctl-0_0_2-3.0.22.1-1.1.i586.rpm vz* warning: kernel-ovz-default-2.6.24-4.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID d673da6c error: Failed dependencies: apparmor-profiles <= 2.1 conflicts with kernel-ovz-default-2.6.24-4.1.i586 apparmor-parser < 2.3 conflicts with kernel-ovz-default-2.6.24-4.1.i586 udev < 118 conflicts with kernel-ovz-default-2.6.24-4.1.i586 lvm2 < 2.02.33 conflicts with kernel-ovz-default-2.6.24-4.1.i586 libvzctl-0_0_2 = 3.0.22-1.1 is needed by vzctl-3.0.22-1.1.i586 suse103-home:/E/Lin-Install/OpenVZ/openSUSE-10.3-Host/i586 # rpm -q udev udev-114-19 suse103-home:/E/Lin-Install/OpenVZ/openSUSE-10.3-Host/i586 # rpm -ivh --nodeps kernel-ovz-default-2.6.24-4.1.i586.rpm libvzctl-0_0_2-3.0.22.1-1.1.i586.rpm vz* warning: kernel-ovz-default-2.6.24-4.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID d673da6c Preparing... ########################################### [100%] 1:kernel-ovz-default ########################################### [ 25%] Setting up /lib/modules/2.6.24-ovz-4-default Kernel image: /boot/vmlinuz-2.6.24-ovz-4-default Initrd image: /boot/initrd-2.6.24-ovz-4-default Root device: /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS80274383-part9 (/dev/sda9) (mounted on / as reiserfs) Resume device: /dev/sda8 Kernel Modules: processor thermal scsi_mod libata ata_piix pata_jmicron fan reiserfs edd sd_mod usbcore ohci-hcd uhci-hcd ehci-hcd ff-memless hid usbhid Features: keyboard-blink block usb resume.userspace resume.kernel Bootsplash: SuSE (1024x768), SuSE (800x600) 17713 blocks 2:vzquota ########################################### [ 50%] 3:libvzctl-0_0_2 ########################################### [ 75%] 4:vzctl ########################################### [100%] ================================================================= -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Here are the packages, that I have: alexey@suse103-home:~> rpm -q apparmor-profiles apparmor-profiles-2.1-12 alexey@suse103-home:~> rpm -q apparmor-parser apparmor-parser-2.1-19 alexey@suse103-home:~> rpm -q udev udev-114-19 alexey@suse103-home:~> rpm -q lvm2 lvm2-2.02.25-28 -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Also you need IPv6 enabled (use Yast) to load required openvz kernel modules.
Another problem is IPv6. It is disabled in my setup, but I have no idea how-to enable it, and quick googling didn't help. :( two ideas: 1. Do not require IPv6 for OpenVZ 2. If first is not possible, then RPM setup should ensure you have IPv6 enabled (or enable it during setup). -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thx for the feed-back as I don't have 10.3 to test packages on it. I fixed broken dependencies. (Could take a few hours before changes show up in the repository) As for IPv6 I will look in a way to have it loaded with openvz startup script, as I think rpm should not change network configuration. regards, -Jb. G On Wed, 2008-07-23 at 19:15 +0000, Alexey Eremenko wrote:
Also you need IPv6 enabled (use Yast) to load required openvz kernel modules.
Another problem is IPv6. It is disabled in my setup, but I have no idea how-to enable it, and quick googling didn't help. :(
two ideas: 1. Do not require IPv6 for OpenVZ 2. If first is not possible, then RPM setup should ensure you have IPv6 enabled (or enable it during setup).
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
An Opensuse 11.0 template is available at: http://jb.giraudeau.info/fileadmin/user_upload/openvz/opensuse-11.0-i386-def... I will probably not package openvz templates as it is very painful to maintain for each suse version/arch. I am working on a script instead so that one can easily generate such templates him/her-self. Jb.G On Wed, 2008-07-23 at 20:33 +0100, Jean-Baptiste Giraudeau wrote:
Thx for the feed-back as I don't have 10.3 to test packages on it. I fixed broken dependencies. (Could take a few hours before changes show up in the repository)
As for IPv6 I will look in a way to have it loaded with openvz startup script, as I think rpm should not change network configuration.
regards,
-Jb. G
On Wed, 2008-07-23 at 19:15 +0000, Alexey Eremenko wrote:
Also you need IPv6 enabled (use Yast) to load required openvz kernel modules.
Another problem is IPv6. It is disabled in my setup, but I have no idea how-to enable it, and quick googling didn't help. :(
two ideas: 1. Do not require IPv6 for OpenVZ 2. If first is not possible, then RPM setup should ensure you have IPv6 enabled (or enable it during setup).
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
KVM should not be a problem however.
Yep, just tested KVM. It works on your kernel(s). Tested on: 2.6.24-ovz-5-default on openSUSE-10.3 32-bit on Intel CPU. -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Looked at the openSUSE 11.0 image you provided. I can say that it is a bit broken. 1. IP connections don't work for some strange reason between host and guest. 2. "iputils" package is not installed as part of the image :( It means no "ping" command to test. What the HELL !?! 3. We really need to put more effort if we are to succeed -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
services: openSUSE Host integration. Currently OpenVZ uses non-SUSE way of controlling services: # /etc/init.d/vz status It should have more SUSE-friendly way of doing the same, like: # rcvz status Maybe we can add some link into RPM? Like: ln -s /etc/init.d/vz /usr/sbin/rcvz -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Speaking of networking: vzctl set 103 --ipadd 192.168.2.103 --save I have used the standard command, but it doesn't work for the openSUSE 11.0 guest image. -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Jean-Baptiste, Some people have found one _very serious bug_ in your OpenVZ kernel. Namely the "linux-kernel-headers" from 2.6.24 kernel replacing standard distro kernel headers, which makes external modules compilation suddely fail. We need to figure a way that won't hurt standard SUSE kernel. OS: openSUSE 10.3, i586 -- -Alexey Eromenko "Technologov" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Alexey Eremenko
-
Jean-Baptiste Giraudeau