Ask Your Question

Revision history [back]

have you restart your nova processes after added vcpu_pin_set to nova.conf? such as nova-compute? and you may grep 'vcpu_pin_set' /var/log/nova/nova-compute.log and check the result, mine is: 2013-06-27 05:51:41.335 DEBUG nova.openstack.common.service [-] vcpu_pin_set = 1 from (pid=23026) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo/config/



发件人:Peeyush Gupta 发送时间:2013-06-27 15:01 主题:Re: [Question #231384]: How to set cpuset attribute in vcpu element in instance xml? 收件人:"hzwangpan" 抄送:

Question #231384 on OpenStack Compute (nova) changed:

Status: Answered => Open

Peeyush Gupta is still having a problem: I have added it to the [DEFAULT] section only. When I did head /etc/nova/nova.conf, I got this:

root@peeyush-virtual-machine:/opt/stack/nova# head /etc/nova/nova.conf

[DEFAULT] vcpu_pin_set = 2 log_dir = /var/log/nova firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver compute_driver = libvirt.LibvirtDriver flat_interface = eth0 flat_network_bridge = br100 vlan_interface = eth0 public_interface = br100

I launched a new instance after that and it's still not working. Still there is no cpuset attribute in the vcpu element.

You received this question notification because you are a direct subscriber of the question.