← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1412930] [NEW] CPU feature request is not respected when create VM

 

Public bug reported:

When creating a VM requiring some specific CPU features, although the
guest will be scheduled to a host with the capability, but such
information is not  always exposed to guest.

	a) started devstack by default, (means nova configuration libvirt.cpu_mode=none), the compute node has the SSE4.1 support
        b) create flavor with {"capabilities:cpu_info:features": "<in> sse4.1"} extra spec, i.e. requiring SSE4.1.
	c) launch an instance with the flavor.
        d) ssh to instance and 'cat /proc/cpuinfo'.

The SSE4.1 is not presented in guest.

I think the reason is because when libvirt.cpu_mode is none, libvirt
will not specify the feature request in the guest  vcpu config.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1412930

Title:
  CPU feature request is not respected when create VM

Status in OpenStack Compute (Nova):
  New

Bug description:
  When creating a VM requiring some specific CPU features, although the
  guest will be scheduled to a host with the capability, but such
  information is not  always exposed to guest.

  	a) started devstack by default, (means nova configuration libvirt.cpu_mode=none), the compute node has the SSE4.1 support
          b) create flavor with {"capabilities:cpu_info:features": "<in> sse4.1"} extra spec, i.e. requiring SSE4.1.
  	c) launch an instance with the flavor.
          d) ssh to instance and 'cat /proc/cpuinfo'.

  The SSE4.1 is not presented in guest.

  I think the reason is because when libvirt.cpu_mode is none, libvirt
  will not specify the feature request in the guest  vcpu config.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1412930/+subscriptions


Follow ups

References