← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1718455] [NEW] [pike] Nova host disable and Live Migrate all instances fail.

 

Public bug reported:

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.filter_scheduler
[req-4268ea83-0657-40cc-961b-f0ae9fb3019e
385c60230b3f49da930dda4d089eda6b 723aa12337a44f818b6d1e1a59f16e49 -
default default] There are 1 hosts available but 10 instances requested
to build. select_destinations /usr/lib/python2.7/dist-
packages/nova/scheduler/filter_scheduler.py:101

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.0-0ubuntu1~cloud0                   all          OpenStack Compute - API frontend
ii  nova-common                        2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - common files
ii  nova-conductor                     2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - conductor service
ii  nova-consoleauth                   2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - Console Authenticator
ii  nova-novncproxy                    2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - NoVNC proxy
ii  nova-placement-api                 2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - placement API frontend
ii  nova-scheduler                     2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - virtual machine scheduler
ii  python-nova                        2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute Python libraries
ii  python-novaclient

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1718455

Title:
  [pike] Nova host disable and Live Migrate all instances fail.

Status in OpenStack Compute (nova):
  New

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.filter_scheduler
  [req-4268ea83-0657-40cc-961b-f0ae9fb3019e
  385c60230b3f49da930dda4d089eda6b 723aa12337a44f818b6d1e1a59f16e49 -
  default default] There are 1 hosts available but 10 instances
  requested to build. select_destinations /usr/lib/python2.7/dist-
  packages/nova/scheduler/filter_scheduler.py:101

  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.0-0ubuntu1~cloud0                   all          OpenStack Compute - API frontend
  ii  nova-common                        2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - common files
  ii  nova-conductor                     2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - conductor service
  ii  nova-consoleauth                   2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - Console Authenticator
  ii  nova-novncproxy                    2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - NoVNC proxy
  ii  nova-placement-api                 2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - placement API frontend
  ii  nova-scheduler                     2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute - virtual machine scheduler
  ii  python-nova                        2:16.0.0-0ubuntu1~cloud0                   all          OpenStack Compute Python libraries
  ii  python-novaclient

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1718455/+subscriptions


Follow ups