Over committing is not working once upgraded to 9.2 ( both CPU and RAM )
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Max Yatsenko |
Bug Description
Hi,
Fuel Version : 9.2
Steps :
1. Update fuel to 9.2
2. add nodes to env ( 1 Controller + 3 compute +ceph )
3. deploy env
4. once env is success , go to controller and change ram_allocation_
ram_allocation_
cpu_allocation_
5. restart nova-scheduler services
6. spin up new instance with ram > compute host RAM
Expected results :
Instance should spin up
Actual result :
Instance failed with error
No valid host was found. There are not enough hosts available.
Code
500
Details
File "/usr/lib/
Note : default CPU is set to 1:8 but it accept only 1:1
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → MOS Maintenance (mos-maintenance) |
milestone: | none → 9.x-updates |
tags: | added: customer-found |
Changed in fuel: | |
assignee: | MOS Maintenance (mos-maintenance) → Max Yatsenko (myatsenko) |
nova-scheduler.log
This is for instance i tried to create ( 2vCPU , 1GB ram , 10Gb HDD ) ,
2017-06-22 19:38:29.511 5283 DEBUG nova.filters [req-eaf5f257- d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] Starting with 3 host(s) get_filtered_ objects /usr/lib/ python2. 7/dist- packages/ nova/filters. py:70 d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] Filter RetryFilter returned 3 host(s) get_filtered_ objects /usr/lib/ python2. 7/dist- packages/ nova/filters. py:104 d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] Filter AvailabilityZon eFilter returned 3 host(s) get_filtered_ objects /usr/lib/ python2. 7/dist- packages/ nova/filters. py:104 filters. ram_filter [req-eaf5f257- d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] (node-4.domain.tld, node-4.domain.tld) ram: 464MB disk: 207872MB io_ops: 0 instances: 1 does not have 1024 MB usable ram, it only has 464.0 MB usable ram. host_passes /usr/lib/ python2. 7/dist- packages/ nova/scheduler/ filters/ ram_filter. py:59 d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] Filter RamFilter returned 2 host(s) get_filtered_ objects /usr/lib/ python2. 7/dist- packages/ nova/filters. py:104 filters. core_filter [req-eaf5f257- d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] (node-3.domain.tld, node-3.domain.tld) ram: 1488MB disk: 207872MB io_ops: 0 instances: 0 does not have 2 total cpus before overcommit, it only has 1 host_passes /usr/lib/ python2. 7/dist- packages/ nova/scheduler/ filters/ core_filter. py:56 filters. core_filter [req-eaf5f257- d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] (node-2.domain.tld, node-2.domain.tld) ram: 1488MB disk: 207872MB io_ops: 0 instances: 0 does not have 2 total cpus before overcommit, it only has 1 host_passes /usr/lib/ python2. 7/dist- packages/ nova/scheduler/ filters/ core_filter. py:56 d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] Filter CoreFilter returned 0 hosts d4cf-406b- 8e5f-b25ba8afd1 19 91b375d4da03437 1b3e5733136901a b1 e623d125e118460 3b31ddd18fc0b77 a7 - - -] Filtering removed all hosts for the request with instance ID '218ed6cd- 8a70-4b53- ae7a-022d77afba b7'. Filter results: [('RetryFilter', [(u'node- 4.domain. tld', u'node- 4.domain. tld'), (u'node- 3.domain. tld', u'node- 3.domain. tld'), (u'node- 2.domain. tld', u'node- 2.domain. tld')]) , ('AvailabilityZ oneFilter' , [(u'node- 4.domain. tld', u'node- 4.domain. tld'), (u'node- 3.domain. tld', u'node-3.domain....
2017-06-22 19:38:29.512 5283 DEBUG nova.filters [req-eaf5f257-
2017-06-22 19:38:29.513 5283 DEBUG nova.filters [req-eaf5f257-
2017-06-22 19:38:29.513 5283 DEBUG nova.scheduler.
2017-06-22 19:38:29.515 5283 DEBUG nova.filters [req-eaf5f257-
2017-06-22 19:38:29.517 5283 DEBUG nova.scheduler.
2017-06-22 19:38:29.518 5283 DEBUG nova.scheduler.
2017-06-22 19:38:29.518 5283 INFO nova.filters [req-eaf5f257-
2017-06-22 19:38:29.520 5283 DEBUG nova.filters [req-eaf5f257-