About add-support-for-cpu-hotadd

asked 2015-10-30 03:31:55 -0500

dommgifer gravatar image

I'm interested in Openstack cpu hotadd, I found Openstack wiki about cpu hotadd(https://wiki.openstack.org/wiki/Nova/add-support-for-cpu-hotadd).

I follow first step:


Add extra key to flavor to define the instance's current CPU key:"cpu:current" value:"2"

I do this command: nova flavor-key cpu set cpu:current=2


and then second step:Create VM with max VCPU in flavor.

The instance's XML looks like:

< vcpu current="2">4 </vcpu>


so I create instance with this flavor. But instance's xml not<vcpu current="2">4</vcpu> but <vcpu>4</vcpu>


Does anyone finished vcpu hotadd?

Thanks!

edit retag flag offensive close merge delete