Ask Your Question

buggy's profile - activity

2017-10-18 13:47:58 -0500 received badge  Famous Question (source)
2017-07-20 23:19:03 -0500 received badge  Notable Question (source)
2017-07-20 16:03:46 -0500 answered a question cpu overcommit does not work

Here is my nova.conf settings for the parameters mentioned: cpu_allocation_ratio=32.0

available_filters=nova.scheduler.filters.all_filters enabled_filters=RetryFilter,ComputeFilter,ImagePropertiesFilter,CoreFilter,SameHostFilter,ServerGroupAffinityFilter

And I also discovered another related problem. I tried to scale down one of the instance from 8 cpu to 4 cpu. And I got the same error: No valid host is found.

How can I determine what the nova conductor is complaining?

Many Thanks

2017-07-20 08:02:16 -0500 received badge  Popular Question (source)
2017-07-19 20:24:12 -0500 asked a question cpu overcommit does not work

I have set cpu_allocation_ratio=32.0 and enabled CoreFilter I understand I can only see the actual cores but not the overcomitted total cores. openstack hypervisor stats show +----------------------+--------+ | Field | Value | +----------------------+--------+ | count | 3 | | current_workload | 0 | | disk_available_least | 2347 | | free_disk_gb | 3752 | | free_ram_mb | 83938 | | local_gb | 5613 | | local_gb_used | 3246 | | memory_mb | 147426 | | memory_mb_used | 49786 | | running_vms | 7 | | vcpus | 40 | | vcpus_used | 33 | +----------------------+--------+

However when I try to launch a VM with 12 vCPU, it always gives error saying no valid host is found. I can only create VM with 8 vCPU or fewer.

Why CPU overcommit does not work?

Am I mssing something in config files?

I am using Ocata.

Any comments are welcome.

Many Thanks