[Starlingx-discuss] cpu model Passthrough with Intel/Skylake-Server-IBRS
Hi, I'm using starlingX release "stx.2018.10", and "Intel/Skylake-Server-IBRS" as my compute server, trying to create a VM with cpu_model as passthrough but it is giving a error. Error: No valid host was found. There are not enough hosts available. compute-0: (ComputeFilter) host is disabled, reason: disabled by VIM*, compute-1: (VCpuModelFilter) Host VCPU model Skylake-Server-IBRS required Passthrough* I checked the starling-Discuss page & found it is fixed with qemu-kvm version:qemu-kvm-ev-3.0.0-0.tis.97 *starling-discuss link:* http://lists.starlingx.io/pipermail/starlingx-discuss/2018-December/002110.h... Current qemu-kvm version in my setup: q*emu-img version 2.10.0(qemu-kvm-ev-2.10.0-0.tis.0)* Please let me know how can i upgrade qemu-kvm package in my compute without disturbing much running setup. Many Thanks, Himanshu Goyal
Hi, I tried manual installation of rpm packages "qemu-kvm-ev-3.0.0-0.tis.97.x86_64.rpm" but it is not working, Please help how can i upgrade the required packages. Many thanks, Himanshu Goyal On Fri, Mar 22, 2019 at 3:57 PM Himanshu Goyal <himanshugoyal500@gmail.com> wrote:
Hi,
I'm using starlingX release "stx.2018.10", and "Intel/Skylake-Server-IBRS" as my compute server, trying to create a VM with cpu_model as passthrough but it is giving a error.
Error: No valid host was found. There are not enough hosts available. compute-0: (ComputeFilter) host is disabled, reason: disabled by VIM*, compute-1: (VCpuModelFilter) Host VCPU model Skylake-Server-IBRS required Passthrough*
I checked the starling-Discuss page & found it is fixed with qemu-kvm version:qemu-kvm-ev-3.0.0-0.tis.97
*starling-discuss link:*
http://lists.starlingx.io/pipermail/starlingx-discuss/2018-December/002110.h...
Current qemu-kvm version in my setup: q*emu-img version 2.10.0(qemu-kvm-ev-2.10.0-0.tis.0)*
Please let me know how can i upgrade qemu-kvm package in my compute without disturbing much running setup.
Many Thanks, Himanshu Goyal
+ prashant, som Adding my team members in the same. Regards, Himanshu Goyal On Mon, Mar 25, 2019 at 1:33 PM Himanshu Goyal <himanshugoyal500@gmail.com> wrote:
Hi,
I tried manual installation of rpm packages "qemu-kvm-ev-3.0.0-0.tis.97.x86_64.rpm" but it is not working, Please help how can i upgrade the required packages.
Many thanks, Himanshu Goyal
On Fri, Mar 22, 2019 at 3:57 PM Himanshu Goyal <himanshugoyal500@gmail.com> wrote:
Hi,
I'm using starlingX release "stx.2018.10", and "Intel/Skylake-Server-IBRS" as my compute server, trying to create a VM with cpu_model as passthrough but it is giving a error.
Error: No valid host was found. There are not enough hosts available. compute-0: (ComputeFilter) host is disabled, reason: disabled by VIM*, compute-1: (VCpuModelFilter) Host VCPU model Skylake-Server-IBRS required Passthrough*
I checked the starling-Discuss page & found it is fixed with qemu-kvm version:qemu-kvm-ev-3.0.0-0.tis.97
*starling-discuss link:*
http://lists.starlingx.io/pipermail/starlingx-discuss/2018-December/002110.h...
Current qemu-kvm version in my setup: q*emu-img version 2.10.0(qemu-kvm-ev-2.10.0-0.tis.0)*
Please let me know how can i upgrade qemu-kvm package in my compute without disturbing much running setup.
Many Thanks, Himanshu Goyal
Hi : You have to patch (stx-nova) https://github.com/starlingx-staging/stx-nova/pull/17/files/2556ad28eb44a691... and (stx-glance) https://github.com/starlingx-staging/stx-glance/pull/5/commits/35d76808893cf... into your system and restart the necessary nova , glance services Thanks. BR Austin Sun. From: Himanshu Goyal [mailto:himanshugoyal500@gmail.com] Sent: Tuesday, March 26, 2019 1:53 PM To: starlingx-discuss@lists.starlingx.io; Alonso, Juan Carlos <juan.carlos.alonso@intel.com>; Hu, Yong <yong.hu@intel.com>; Prashant.Patil@radisys.com; Somshekar.Ydlapur@radisys.com Subject: Re: [Starlingx-discuss] cpu model Passthrough with Intel/Skylake-Server-IBRS + prashant, som Adding my team members in the same. Regards, Himanshu Goyal On Mon, Mar 25, 2019 at 1:33 PM Himanshu Goyal <himanshugoyal500@gmail.com<mailto:himanshugoyal500@gmail.com>> wrote: Hi, I tried manual installation of rpm packages "qemu-kvm-ev-3.0.0-0.tis.97.x86_64.rpm" but it is not working, Please help how can i upgrade the required packages. Many thanks, Himanshu Goyal On Fri, Mar 22, 2019 at 3:57 PM Himanshu Goyal <himanshugoyal500@gmail.com<mailto:himanshugoyal500@gmail.com>> wrote: Hi, I'm using starlingX release "stx.2018.10", and "Intel/Skylake-Server-IBRS" as my compute server, trying to create a VM with cpu_model as passthrough but it is giving a error. Error: No valid host was found. There are not enough hosts available. compute-0: (ComputeFilter) host is disabled, reason: disabled by VIM, compute-1: (VCpuModelFilter) Host VCPU model Skylake-Server-IBRS required Passthrough I checked the starling-Discuss page & found it is fixed with qemu-kvm version:qemu-kvm-ev-3.0.0-0.tis.97 starling-discuss link: http://lists.starlingx.io/pipermail/starlingx-discuss/2018-December/002110.h... Current qemu-kvm version in my setup: qemu-img version 2.10.0(qemu-kvm-ev-2.10.0-0.tis.0) Please let me know how can i upgrade qemu-kvm package in my compute without disturbing much running setup. Many Thanks, Himanshu Goyal
what about the also supported AMD EPYC CPUs by kvm? /usr/lib/python2.7/site-packages/nova/scheduler/filters/vcpu_model_filter.py def _is_host_kvm(self, cpu_info): info = jsonutils.loads(cpu_info) if 'vmx' in info['features']: return True if 'svm' in info['features']: //this add AMD support return True return False -------------- /usr/lib/python2.7/site-packages/nova/objects/fields.py # WRS: List of Intel based guest CPU models that can be selected from a user # defined instance type class CPUModel(BaseNovaEnum): # We use the ordering of the cpu models to determine whether a # given host can emulate a specified virtual model, so it's not # just an enum. ALL = ("Passthrough", "EPYC", // add AMD EPYC "EPYC-IBPB", // add AMD EPYC-IBPB "Conroe", "Penryn", ... Volker... ________________________________ Von: Sun, Austin [austin.sun@intel.com] Gesendet: Dienstag, 26. März 2019 07:37 An: Himanshu Goyal; starlingx-discuss@lists.starlingx.io; Alonso, Juan Carlos; Hu, Yong; Prashant.Patil@radisys.com; Somshekar.Ydlapur@radisys.com Betreff: Re: [Starlingx-discuss] cpu model Passthrough with Intel/Skylake-Server-IBRS Hi : You have to patch (stx-nova) https://github.com/starlingx-staging/stx-nova/pull/17/files/2556ad28eb44a691... and (stx-glance) https://github.com/starlingx-staging/stx-glance/pull/5/commits/35d76808893cf... into your system and restart the necessary nova , glance services Thanks. BR Austin Sun. From: Himanshu Goyal [mailto:himanshugoyal500@gmail.com] Sent: Tuesday, March 26, 2019 1:53 PM To: starlingx-discuss@lists.starlingx.io; Alonso, Juan Carlos <juan.carlos.alonso@intel.com>; Hu, Yong <yong.hu@intel.com>; Prashant.Patil@radisys.com; Somshekar.Ydlapur@radisys.com Subject: Re: [Starlingx-discuss] cpu model Passthrough with Intel/Skylake-Server-IBRS + prashant, som Adding my team members in the same. Regards, Himanshu Goyal On Mon, Mar 25, 2019 at 1:33 PM Himanshu Goyal <himanshugoyal500@gmail.com<mailto:himanshugoyal500@gmail.com>> wrote: Hi, I tried manual installation of rpm packages "qemu-kvm-ev-3.0.0-0.tis.97.x86_64.rpm" but it is not working, Please help how can i upgrade the required packages. Many thanks, Himanshu Goyal On Fri, Mar 22, 2019 at 3:57 PM Himanshu Goyal <himanshugoyal500@gmail.com<mailto:himanshugoyal500@gmail.com>> wrote: Hi, I'm using starlingX release "stx.2018.10", and "Intel/Skylake-Server-IBRS" as my compute server, trying to create a VM with cpu_model as passthrough but it is giving a error. Error: No valid host was found. There are not enough hosts available. compute-0: (ComputeFilter) host is disabled, reason: disabled by VIM, compute-1: (VCpuModelFilter) Host VCPU model Skylake-Server-IBRS required Passthrough I checked the starling-Discuss page & found it is fixed with qemu-kvm version:qemu-kvm-ev-3.0.0-0.tis.97 starling-discuss link: http://lists.starlingx.io/pipermail/starlingx-discuss/2018-December/002110.h... Current qemu-kvm version in my setup: qemu-img version 2.10.0(qemu-kvm-ev-2.10.0-0.tis.0) Please let me know how can i upgrade qemu-kvm package in my compute without disturbing much running setup. Many Thanks, Himanshu Goyal
Thanks a lot Austin and Volker, After applied shared Patch cpu model as passthrough is working fine. Regards, Himanshu Goyal On Tue, Mar 26, 2019 at 1:30 PM von Hoesslin, Volker < Volker.Hoesslin@swsn.de> wrote:
what about the also supported AMD EPYC CPUs by kvm?
/usr/lib/python2.7/site-packages/nova/scheduler/filters/vcpu_model_filter.py
def _is_host_kvm(self, cpu_info): info = jsonutils.loads(cpu_info) if 'vmx' in info['features']: return True if 'svm' in info['features']: //this add AMD support return True return False
--------------
/usr/lib/python2.7/site-packages/nova/objects/fields.py
# WRS: List of Intel based guest CPU models that can be selected from a user # defined instance type class CPUModel(BaseNovaEnum): # We use the ordering of the cpu models to determine whether a # given host can emulate a specified virtual model, so it's not # just an enum. ALL = ("Passthrough", "EPYC", // add AMD EPYC "EPYC-IBPB", // add AMD EPYC-IBPB "Conroe", "Penryn", ...
Volker...
------------------------------ *Von:* Sun, Austin [austin.sun@intel.com] *Gesendet:* Dienstag, 26. März 2019 07:37 *An:* Himanshu Goyal; starlingx-discuss@lists.starlingx.io; Alonso, Juan Carlos; Hu, Yong; Prashant.Patil@radisys.com; Somshekar.Ydlapur@radisys.com *Betreff:* Re: [Starlingx-discuss] cpu model Passthrough with Intel/Skylake-Server-IBRS
Hi :
You have to patch (stx-nova) https://github.com/starlingx-staging/stx-nova/pull/17/files/2556ad28eb44a691... and (stx-glance) https://github.com/starlingx-staging/stx-glance/pull/5/commits/35d76808893cf...
into your system and restart the necessary nova , glance services
Thanks.
BR Austin Sun.
*From:* Himanshu Goyal [mailto:himanshugoyal500@gmail.com] *Sent:* Tuesday, March 26, 2019 1:53 PM *To:* starlingx-discuss@lists.starlingx.io; Alonso, Juan Carlos < juan.carlos.alonso@intel.com>; Hu, Yong <yong.hu@intel.com>; Prashant.Patil@radisys.com; Somshekar.Ydlapur@radisys.com *Subject:* Re: [Starlingx-discuss] cpu model Passthrough with Intel/Skylake-Server-IBRS
+ prashant, som
Adding my team members in the same.
Regards,
Himanshu Goyal
On Mon, Mar 25, 2019 at 1:33 PM Himanshu Goyal <himanshugoyal500@gmail.com> wrote:
Hi,
I tried manual installation of rpm packages "qemu-kvm-ev-3.0.0-0.tis.97.x86_64.rpm" but it is not working, Please help how can i upgrade the required packages.
Many thanks,
Himanshu Goyal
On Fri, Mar 22, 2019 at 3:57 PM Himanshu Goyal <himanshugoyal500@gmail.com> wrote:
Hi,
I'm using starlingX release "stx.2018.10", and "Intel/Skylake-Server-IBRS" as my compute server, trying to create a VM with cpu_model as passthrough but it is giving a error.
Error:
No valid host was found. There are not enough hosts available. compute-0: (ComputeFilter) host is disabled, reason: disabled by VIM*, compute-1: (VCpuModelFilter) Host VCPU model Skylake-Server-IBRS required Passthrough*
I checked the starling-Discuss page & found it is fixed with qemu-kvm version:qemu-kvm-ev-3.0.0-0.tis.97
*starling-discuss link:*
http://lists.starlingx.io/pipermail/starlingx-discuss/2018-December/002110.h...
Current qemu-kvm version in my setup:
q*emu-img version 2.10.0(qemu-kvm-ev-2.10.0-0.tis.0)*
Please let me know how can i upgrade qemu-kvm package in my compute without disturbing much running setup.
Many Thanks,
Himanshu Goyal
participants (3)
-
Himanshu Goyal
-
Sun, Austin
-
von Hoesslin, Volker