[pike] Nova host disable and Live Migrate all instances fail.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Sylvain Bauza | ||
Pike |
Fix Committed
|
High
|
Matt Riedemann |
Bug Description
Disabling a host in horizon and live-migrating instances off fail with the following error if the instances are created with a single boot command. eg. create 10 cirros instances through the horizon dashboard. The instances are all KVM and backed by Cinder Volumes.
2017-09-19 19:02:30.588 19741 DEBUG nova.scheduler.
Steps to reproduce:
1. Create 10 instances via the horizon dashboard at the same time.
2. Set a compute host disabled.
3. Choose the migrate host option and select live-migrate as the method.
4. The live migration will fail all after passing the scheduler with the error above.
NOTE: Creating 10 separate instances with individual "openstack server create" commands or running the launch instance 10 times in horizon does not produce the same result and the scheduler will evacuate the host as expected.
Nova version on controller:
ii nova-api 2:16.0.
ii nova-common 2:16.0.
ii nova-conductor 2:16.0.
ii nova-consoleauth 2:16.0.
ii nova-novncproxy 2:16.0.
ii nova-placement-api 2:16.0.
ii nova-scheduler 2:16.0.
ii python-nova 2:16.0.
ii python-novaclient
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Sylvain Bauza (sylvain-bauza) |
no longer affects: | nova/ocata |
tags: | added: scheduler |
Changed in nova: | |
assignee: | Sylvain Bauza (sylvain-bauza) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Sylvain Bauza (sylvain-bauza) |
Changed in nova: | |
assignee: | Sylvain Bauza (sylvain-bauza) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Sylvain Bauza (sylvain-bauza) |
Changed in nova: | |
importance: | Medium → High |
description: | updated |
We should have a functional scenario test for this since we had a similar bug/fix in pike:
https:/ /review. openstack. org/#/c/ 491439/
But that missed this other part because it's just a unit test:
https:/ /review. openstack. org/#/c/ 491439/ 3/nova/ scheduler/ filter_ scheduler. py@81