Changed cpu limit to a static value of 100000 (100%) instead of using the vcpu value of 1. There is no weight/limit variable now so I see no other solution than the static max limit.
This commit is contained in:
commit
05f49c2942
1
Authors
1
Authors
|
@ -24,6 +24,7 @@ Joe Heck <heckj@mac.com>
|
|||
Joel Moore <joelbm24@gmail.com>
|
||||
John Dewey <john@dewey.ws>
|
||||
Jonathan Bryce <jbryce@jbryce.com>
|
||||
Jordan Rinke <jordan@openstack.org>
|
||||
Josh Durgin <joshd@hq.newdream.net>
|
||||
Josh Kearney <josh.kearney@rackspace.com>
|
||||
Joshua McKenty <jmckenty@gmail.com>
|
||||
|
|
|
@ -191,7 +191,7 @@ class HyperVConnection(object):
|
|||
vcpus = long(instance['vcpus'])
|
||||
procsetting.VirtualQuantity = vcpus
|
||||
procsetting.Reservation = vcpus
|
||||
procsetting.Limit = vcpus
|
||||
procsetting.Limit = 100000 # static assignment to 100%
|
||||
|
||||
(job, ret_val) = vs_man_svc.ModifyVirtualSystemResources(
|
||||
vm.path_(), [procsetting.GetText_(1)])
|
||||
|
|
Loading…
Reference in New Issue