[opensuse-buildservice] How to configure obs-workers to use Xen/KVM?
Hi, all! I've got a question that anybody can't resolve me at IRC, so darix convinces me to put it here. My problem is that I don't know how obs-worker uses Xen/KVM virtual machines, and how I should configure obs-worker and Xen/KVM, so obs-worker can use Xen/KVM, because I suppose that obs-worker using Xen/KVM is better and faster than using only qemu. Can anyone help me? -- Francisco Javier Cuadrado SPAIN-CHINA-HONG KONG-POLAND Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
From what I checked, Setting OBS_VM_TYPE to kvm in /etc/sysconfg/obs-worker file uses kvm in place of qemu if /dev/kvm file on your worker host is readable. If not, it will use qemu. Praveen -----Original Message----- From: Francisco Javier Cuadrado [mailto:francisco.cuadrado@iunika.net] Sent: Wednesday, November 03, 2010 7:03 AM To: OBS Subject: [opensuse-buildservice] How to configure obs-workers to use Xen/KVM? Hi, all! I've got a question that anybody can't resolve me at IRC, so darix convinces me to put it here. My problem is that I don't know how obs-worker uses Xen/KVM virtual machines, and how I should configure obs-worker and Xen/KVM, so obs-worker can use Xen/KVM, because I suppose that obs-worker using Xen/KVM is better and faster than using only qemu. Can anyone help me? -- Francisco Javier Cuadrado SPAIN-CHINA-HONG KONG-POLAND Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org N�����r��y隊Z)z{.���Wlz��qﮞ˛���m�)z{.��+�Z+i�b�*'jW(�f�vǦj)h���Ǜ�)]���Ǿ��i�������
2010/11/5
From what I checked, Setting OBS_VM_TYPE to kvm in /etc/sysconfg/obs-worker file uses kvm in place of qemu if /dev/kvm file on your worker host is readable. If not, it will use qemu.
Yes, but will I have to configure anything related to KVM?
Praveen
-----Original Message----- From: Francisco Javier Cuadrado [mailto:francisco.cuadrado@iunika.net] Sent: Wednesday, November 03, 2010 7:03 AM To: OBS Subject: [opensuse-buildservice] How to configure obs-workers to use Xen/KVM?
Hi, all!
I've got a question that anybody can't resolve me at IRC, so darix convinces me to put it here.
My problem is that I don't know how obs-worker uses Xen/KVM virtual machines, and how I should configure obs-worker and Xen/KVM, so obs-worker can use Xen/KVM, because I suppose that obs-worker using Xen/KVM is better and faster than using only qemu.
Can anyone help me?
-- Francisco Javier Cuadrado
SPAIN-CHINA-HONG KONG-POLAND
Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid
http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Francisco Javier Cuadrado SPAIN-CHINA-HONG KONG-POLAND Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag, 8. November 2010, 09:10:08 schrieb Francisco Javier Cuadrado:
2010/11/5
: From what I checked, Setting OBS_VM_TYPE to kvm in /etc/sysconfg/obs-worker file uses kvm in place of qemu if /dev/kvm file on your worker host is readable. If not, it will use qemu.
Yes, but will I have to configure anything related to KVM?
The appliance is using KVM automatically, if your hardware is providing support. If you setup it manually, you need to configure devices (partiations, losetup or lvm volumes) manually. Because it needs to format the entire partition. In case you want to use the LVM setup, you can setup these partitions like described here: http://en.opensuse.org/openSUSE:Build_Service_Appliance The obsworker init script will pick automatically partitions which are named in the /dev/obs/worker_root_? scheme. bye adrian
Praveen
-----Original Message----- From: Francisco Javier Cuadrado [mailto:francisco.cuadrado@iunika.net] Sent: Wednesday, November 03, 2010 7:03 AM To: OBS Subject: [opensuse-buildservice] How to configure obs-workers to use Xen/KVM?
Hi, all!
I've got a question that anybody can't resolve me at IRC, so darix convinces me to put it here.
My problem is that I don't know how obs-worker uses Xen/KVM virtual machines, and how I should configure obs-worker and Xen/KVM, so obs-worker can use Xen/KVM, because I suppose that obs-worker using Xen/KVM is better and faster than using only qemu.
Can anyone help me?
-- Francisco Javier Cuadrado
SPAIN-CHINA-HONG KONG-POLAND
Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid
http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2010/11/8 Adrian Schröter
Am Montag, 8. November 2010, 09:10:08 schrieb Francisco Javier Cuadrado:
2010/11/5
: From what I checked, Setting OBS_VM_TYPE to kvm in /etc/sysconfg/obs-worker file uses kvm in place of qemu if /dev/kvm file on your worker host is readable. If not, it will use qemu.
Yes, but will I have to configure anything related to KVM?
The appliance is using KVM automatically, if your hardware is providing support.
If you setup it manually, you need to configure devices (partiations, losetup or lvm volumes) manually. Because it needs to format the entire partition.
In case you want to use the LVM setup, you can setup these partitions like described here:
http://en.opensuse.org/openSUSE:Build_Service_Appliance
The obsworker init script will pick automatically partitions which are named in the /dev/obs/worker_root_? scheme.
Now, I read that article and I've created the following partitions: /dev/sda1 -> boot /dev/sda2 -> LVM2 /dev/OBS -> Volume Group /dev/OBS/root -> root /dev/OBS/home ->home /dev/OBS/swap -> swap These are the basic filesystem structure. /dev/OBS/worker_root_{1,2} -> My OBS workers' root /dev/OBS/worker_swap_{1,2} -> My OBS workers' swap These are the OBS workers' logic volumes. But OBS workers have failed showing the following log: http://pastie.org/1281327 Any idea?
bye adrian
Praveen
-----Original Message----- From: Francisco Javier Cuadrado [mailto:francisco.cuadrado@iunika.net] Sent: Wednesday, November 03, 2010 7:03 AM To: OBS Subject: [opensuse-buildservice] How to configure obs-workers to use Xen/KVM?
Hi, all!
I've got a question that anybody can't resolve me at IRC, so darix convinces me to put it here.
My problem is that I don't know how obs-worker uses Xen/KVM virtual machines, and how I should configure obs-worker and Xen/KVM, so obs-worker can use Xen/KVM, because I suppose that obs-worker using Xen/KVM is better and faster than using only qemu.
Can anyone help me?
-- Francisco Javier Cuadrado SPAIN-CHINA-HONG KONG-POLAND Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, again!
In case you want to use the LVM setup, you can setup these partitions like described here:
http://en.opensuse.org/openSUSE:Build_Service_Appliance
The obsworker init script will pick automatically partitions which are named in the /dev/obs/worker_root_? scheme.
Now, I read that article and I've created the following partitions:
/dev/sda1 -> boot /dev/sda2 -> LVM2 /dev/OBS -> Volume Group /dev/OBS/root -> root /dev/OBS/home ->home /dev/OBS/swap -> swap
These are the basic filesystem structure.
/dev/OBS/worker_root_{1,2} -> My OBS workers' root /dev/OBS/worker_swap_{1,2} -> My OBS workers' swap
These are the OBS workers' logic volumes.
But OBS workers have failed showing the following log: http://pastie.org/1281327
Any idea?
Someone from the #opensuse-buildservice IRC channel told me that in the previous log OBS can't install bash-static and mount-static, then after installing these packages OBS still fails and now it gives me the following log: http://pastie.org/1286549 Any idea? It seems that OBS doesn't recognize LVM volume group and logic volumes. -- Francisco Javier Cuadrado SPAIN-CHINA-HONG KONG-POLAND Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Mittwoch, 10. November 2010, 09:55:10 schrieb Francisco Javier Cuadrado:
Hi, again!
In case you want to use the LVM setup, you can setup these partitions like described here:
http://en.opensuse.org/openSUSE:Build_Service_Appliance
The obsworker init script will pick automatically partitions which are named in the /dev/obs/worker_root_? scheme.
Now, I read that article and I've created the following partitions:
/dev/sda1 -> boot /dev/sda2 -> LVM2 /dev/OBS -> Volume Group /dev/OBS/root -> root /dev/OBS/home ->home /dev/OBS/swap -> swap
These are the basic filesystem structure.
/dev/OBS/worker_root_{1,2} -> My OBS workers' root /dev/OBS/worker_swap_{1,2} -> My OBS workers' swap
These are the OBS workers' logic volumes.
But OBS workers have failed showing the following log: http://pastie.org/1281327
Any idea?
Someone from the #opensuse-buildservice IRC channel told me that in the previous log OBS can't install bash-static and mount-static, then after installing these packages OBS still fails and now it gives me the following log: http://pastie.org/1286549
Any idea? It seems that OBS doesn't recognize LVM volume group and logic volumes.
The binfmt_misc kernel modul seems not to be available. You may need to add it to your initrd. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2010/11/10 Adrian Schröter
Am Mittwoch, 10. November 2010, 09:55:10 schrieb Francisco Javier Cuadrado:
Hi, again!
In case you want to use the LVM setup, you can setup these partitions like described here:
http://en.opensuse.org/openSUSE:Build_Service_Appliance
The obsworker init script will pick automatically partitions which are named in the /dev/obs/worker_root_? scheme.
Now, I read that article and I've created the following partitions:
/dev/sda1 -> boot /dev/sda2 -> LVM2 /dev/OBS -> Volume Group /dev/OBS/root -> root /dev/OBS/home ->home /dev/OBS/swap -> swap
These are the basic filesystem structure.
/dev/OBS/worker_root_{1,2} -> My OBS workers' root /dev/OBS/worker_swap_{1,2} -> My OBS workers' swap
These are the OBS workers' logic volumes.
But OBS workers have failed showing the following log: http://pastie.org/1281327
Any idea?
Someone from the #opensuse-buildservice IRC channel told me that in the previous log OBS can't install bash-static and mount-static, then after installing these packages OBS still fails and now it gives me the following log: http://pastie.org/1286549
Any idea? It seems that OBS doesn't recognize LVM volume group and logic volumes.
The binfmt_misc kernel modul seems not to be available.
You may need to add it to your initrd.
Thanks, I've forgotten to say that I can solve this problem with the help of dl9pf from the opensuse-buildservice IRC channel. Only I have to add "virtio_blk binfmt_misc" to INITRD_MODULES= in file '/etc/sysconfig/kernel' and run 'mkinitrd' command. Anyway, thanks! -- Francisco Javier Cuadrado SPAIN-CHINA-HONG KONG-POLAND Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Francisco Javier Cuadrado
-
Praveen_Paladugu@Dell.com