[opensuse-buildservice] RE: KVM workers
Good Day how do I activate kvm workers on local OBS configuration? Kind Regards, Sean Fabian Chief Operating Officer -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello Sean, On Thu, 2020-04-02 at 14:25 +0200, Sean Fabian wrote:
Good Day how do I activate kvm workers on local OBS configuration?
This is what I have in my workers: # grep -v -e "^$" -e "^#" -e '=""' /etc/sysconfig/obs-server ... OBS_VM_INITRD="none" OBS_VM_KERNEL="none" OBS_VM_TYPE="auto" ... (/etc/init.d/obsworker will check availability of XEN or KVM if OBS_VM_TYPE is set to "auto") Then I install KVM (especially, qemu-kvm) on the worker and make sure the kernel modules are loaded at boot. When the worker starts, it starts with KVM as the sandbox. Regards, Srinidhi. PS: I'm still running OBS 2.9.x on my local instance.N�����r��y隊Z)z{.���Wlz��qﮞ˛���m�)z{.��+�:�{Zr�az�'z��j)h���Ǜ�)]���Ǿ� ޮ�^�ˬz��
Hi Srinidhi This is what I have installed S | Name | Summary | Type ---+----------------------------+---------------------------------------------------------+----------- | docker-machine-driver-kvm2 | KVM driver for docker-machine | package | ikvm | A JVM Based on the Mono Runtime | package | kernel-kvmsmall | The Small Developer Kernel for KVM | package | kernel-kvmsmall | The Small Developer Kernel for KVM | srcpackage | kernel-kvmsmall-base | The Small Developer Kernel for KVM - base modules | package | kernel-kvmsmall-devel | Development files necessary for building kernel modules | package | kvm_server | KVM Host Server | pattern | kvm_stat | Monitoring Tool for KVM guests | package | kvm_stat | Monitoring Tool for KVM guests | srcpackage | kvm_tools | KVM Virtualization Host and tools | pattern | patterns-server-kvm_server | KVM Host Server | package | patterns-server-kvm_tools | KVM Virtualization Host and tools | package i+ | qemu-kvm | Wrapper to enable KVM acceleration under QEMU | package Should I select more? Kind Regards, Sean Fabian Chief Operating Officer Office +27126585182 | Mobile +27790155514 | Email sean.fabian@pfortner.co.za | Web www.pfortner.co.za EMAIL DISCLAIMER : https://www.pfortner.co.za/disclaimer/ -----Original Message----- From: Srinidhi B <Srinidhi.BS@microfocus.com> Sent: Thursday, 02 April 2020 14:59 To: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] RE: KVM workers Hello Sean, On Thu, 2020-04-02 at 14:25 +0200, Sean Fabian wrote:
Good Day how do I activate kvm workers on local OBS configuration?
This is what I have in my workers: # grep -v -e "^$" -e "^#" -e '=""' /etc/sysconfig/obs-server ... OBS_VM_INITRD="none" OBS_VM_KERNEL="none" OBS_VM_TYPE="auto" ... (/etc/init.d/obsworker will check availability of XEN or KVM if OBS_VM_TYPE is set to "auto") Then I install KVM (especially, qemu-kvm) on the worker and make sure the kernel modules are loaded at boot. When the worker starts, it starts with KVM as the sandbox. Regards, Srinidhi. PS: I'm still running OBS 2.9.x on my local instance.N r y隊Z)z{. Wlz qﮞ˛ m )z{. + : {Zr az 'z j)h Ǜ )] Ǿ ޮ ^ ˬz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Freitag, 3. April 2020, 11:03:11 CEST wrote Sean Fabian:
Hi Srinidhi
This is what I have installed
S | Name | Summary | Type ---+----------------------------+---------------------------------------------------------+----------- | docker-machine-driver-kvm2 | KVM driver for docker-machine | package | ikvm | A JVM Based on the Mono Runtime | package | kernel-kvmsmall | The Small Developer Kernel for KVM | package | kernel-kvmsmall | The Small Developer Kernel for KVM | srcpackage | kernel-kvmsmall-base | The Small Developer Kernel for KVM - base modules | package | kernel-kvmsmall-devel | Development files necessary for building kernel modules | package | kvm_server | KVM Host Server | pattern | kvm_stat | Monitoring Tool for KVM guests | package | kvm_stat | Monitoring Tool for KVM guests | srcpackage | kvm_tools | KVM Virtualization Host and tools | pattern | patterns-server-kvm_server | KVM Host Server | package | patterns-server-kvm_tools | KVM Virtualization Host and tools | package i+ | qemu-kvm | Wrapper to enable KVM acceleration under QEMU | package
Should I select more?
make sure your system offers kvm at all. It gets used by default automatically then usually. Do you have /dev/kvm and /usr/bin/qemu-kvm ? -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Adrian /dev/kvm - no and /usr/bin/qemu-kvm - yes Kind Regards, Sean Fabian Chief Operating Officer Office +27126585182 | Mobile +27790155514 | Email sean.fabian@pfortner.co.za | Web www.pfortner.co.za EMAIL DISCLAIMER : https://www.pfortner.co.za/disclaimer/ -----Original Message----- From: Adrian Schröter <adrian@suse.de> Sent: Friday, 03 April 2020 11:11 To: Srinidhi B <Srinidhi.BS@microfocus.com>; opensuse-buildservice@opensuse.org Cc: Sean Fabian <sean.fabian@pfortner.co.za> Subject: Re: [opensuse-buildservice] RE: KVM workers On Freitag, 3. April 2020, 11:03:11 CEST wrote Sean Fabian:
Hi Srinidhi
This is what I have installed
S | Name | Summary | Type
| docker-machine-driver-kvm2 | KVM driver for docker-machine | package | ikvm | A JVM Based on the Mono Runtime | package | kernel-kvmsmall | The Small Developer Kernel for KVM | package | kernel-kvmsmall | The Small Developer Kernel for KVM | srcpackage | kernel-kvmsmall-base | The Small Developer Kernel for KVM -
---+----------------------------+----------------------------------------- ----------------+----------- base
modules | package | kernel-kvmsmall-devel | Development files necessary for building kernel modules | package | kvm_server | KVM Host Server | pattern | kvm_stat | Monitoring Tool for KVM guests | package | kvm_stat | Monitoring Tool for KVM guests | srcpackage | kvm_tools | KVM Virtualization Host and tools | pattern | patterns-server-kvm_server | KVM Host Server | package | patterns-server-kvm_tools | KVM Virtualization Host and tools | package i+ | qemu-kvm | Wrapper to enable KVM acceleration under QEMU | package
Should I select more?
make sure your system offers kvm at all. It gets used by default automatically then usually. Do you have /dev/kvm and /usr/bin/qemu-kvm ? -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Freitag, 3. April 2020, 11:13:22 CEST wrote Sean Fabian:
Hi Adrian
/dev/kvm - no
so your kernel or your hardware is not supporting it.
and
/usr/bin/qemu-kvm - yes
Kind Regards,
Sean Fabian Chief Operating Officer
Office +27126585182 | Mobile +27790155514 | Email sean.fabian@pfortner.co.za | Web www.pfortner.co.za
EMAIL DISCLAIMER : https://www.pfortner.co.za/disclaimer/
-----Original Message----- From: Adrian Schröter <adrian@suse.de> Sent: Friday, 03 April 2020 11:11 To: Srinidhi B <Srinidhi.BS@microfocus.com>; opensuse-buildservice@opensuse.org Cc: Sean Fabian <sean.fabian@pfortner.co.za> Subject: Re: [opensuse-buildservice] RE: KVM workers
On Freitag, 3. April 2020, 11:03:11 CEST wrote Sean Fabian:
Hi Srinidhi
This is what I have installed
S | Name | Summary | Type
| docker-machine-driver-kvm2 | KVM driver for docker-machine | package | ikvm | A JVM Based on the Mono Runtime | package | kernel-kvmsmall | The Small Developer Kernel for KVM | package | kernel-kvmsmall | The Small Developer Kernel for KVM | srcpackage | kernel-kvmsmall-base | The Small Developer Kernel for KVM -
---+----------------------------+----------------------------------------- ----------------+----------- base
modules | package | kernel-kvmsmall-devel | Development files necessary for building kernel modules | package | kvm_server | KVM Host Server | pattern | kvm_stat | Monitoring Tool for KVM guests | package | kvm_stat | Monitoring Tool for KVM guests | srcpackage | kvm_tools | KVM Virtualization Host and tools | pattern | patterns-server-kvm_server | KVM Host Server | package | patterns-server-kvm_tools | KVM Virtualization Host and tools | package i+ | qemu-kvm | Wrapper to enable KVM acceleration under QEMU | package
Should I select more?
make sure your system offers kvm at all. It gets used by default automatically then usually.
Do you have
/dev/kvm
and
/usr/bin/qemu-kvm
?
--
Adrian Schroeter email: adrian@suse.de
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5 90409 Nürnberg Germany
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Adrian I installed a obs vm on vmware 6.7, is this the reason I get the following error package build was not possible: no compliant workers (constraints mismatch hint: hardware:disk) Please adapt your constraints. And when removing the constraint <disk> <size unit="G">10</size> </disk> The build works. Kind Regards, Sean Fabian Chief Operating Officer Office +27126585182 | Mobile +27790155514 | Email sean.fabian@pfortner.co.za | Web www.pfortner.co.za EMAIL DISCLAIMER : https://www.pfortner.co.za/disclaimer/ -----Original Message----- From: Adrian Schröter <adrian@suse.de> Sent: Friday, 03 April 2020 11:21 To: Srinidhi B <Srinidhi.BS@microfocus.com>; opensuse-buildservice@opensuse.org; Sean Fabian <sean.fabian@pfortner.co.za> Subject: Re: [opensuse-buildservice] RE: KVM workers On Freitag, 3. April 2020, 11:13:22 CEST wrote Sean Fabian:
Hi Adrian
/dev/kvm - no
so your kernel or your hardware is not supporting it.
and
/usr/bin/qemu-kvm - yes
Kind Regards,
Sean Fabian Chief Operating Officer
Office +27126585182 | Mobile +27790155514 | Email sean.fabian@pfortner.co.za | Web www.pfortner.co.za
EMAIL DISCLAIMER : https://www.pfortner.co.za/disclaimer/
-----Original Message----- From: Adrian Schröter <adrian@suse.de> Sent: Friday, 03 April 2020 11:11 To: Srinidhi B <Srinidhi.BS@microfocus.com>; opensuse-buildservice@opensuse.org Cc: Sean Fabian <sean.fabian@pfortner.co.za> Subject: Re: [opensuse-buildservice] RE: KVM workers
On Freitag, 3. April 2020, 11:03:11 CEST wrote Sean Fabian:
Hi Srinidhi
This is what I have installed
S | Name | Summary | Type
| docker-machine-driver-kvm2 | KVM driver for docker-machine | package | ikvm | A JVM Based on the Mono Runtime | package | kernel-kvmsmall | The Small Developer Kernel for KVM | package | kernel-kvmsmall | The Small Developer Kernel for KVM | srcpackage | kernel-kvmsmall-base | The Small Developer Kernel for KVM -
---+----------------------------+------------------------------------- ---+----------------------------+---- ----------------+----------- base
modules | package | kernel-kvmsmall-devel | Development files necessary for building kernel modules | package | kvm_server | KVM Host Server | pattern | kvm_stat | Monitoring Tool for KVM guests | package | kvm_stat | Monitoring Tool for KVM guests | srcpackage | kvm_tools | KVM Virtualization Host and tools | pattern | patterns-server-kvm_server | KVM Host Server | package | patterns-server-kvm_tools | KVM Virtualization Host and tools | package i+ | qemu-kvm | Wrapper to enable KVM acceleration under QEMU | package
Should I select more?
make sure your system offers kvm at all. It gets used by default automatically then usually.
Do you have
/dev/kvm
and
/usr/bin/qemu-kvm
?
--
Adrian Schroeter email: adrian@suse.de
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5 90409 Nürnberg Germany
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Sean Fabian
-
Srinidhi B