← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257896] [NEW] nova scheduler (devstack) doesnt seem to honor 'scheduler_default_filters = AllHostsFilter' in nova.conf

 

Public bug reported:

When setting 'scheduler_default_filters = AllHostsFilter' in nova.conf
on devstack, the default filters (like 'RamFilter') are still used.


Steps to reproduce:


./stack.sh
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_TENANT_NAME=demo
export OS_AUTH_URL=http://192.168.126.142:5000/v2.0/

source /usr/local/src/devstack/openrc admin

vi /etc/nova/nova.conf
Add 'scheduler_default_filters = AllHostsFilter'.
use 'screen -r' to restart nova scheduler.

wget https://launchpadlibrarian.net/83303699/cirros-0.3.0-i386-disk.img
glance image-create --name=cirros-0.3.0-i386 --is-public=true --container-format=bare --disk-format=qcow2 < cirros-0.3.0-i386-disk.img

launch a flavor that woud overallocate/overcommit ram memory: nova boot --flavor m1.foo --image cirros-0.3.0-i386 myvm
nova show myvm

The instance fails to launch: 'No valid host was found.'. Launching a
smaller flavor, like 'm1.nano', does succeed.

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "devstack logfiles in '/opt/stack/logs'"
   https://bugs.launchpad.net/bugs/1257896/+attachment/3923310/+files/devstack-nova-scheduler.tar.gz

-- 
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/1257896

Title:
  nova scheduler (devstack) doesnt seem to honor
  'scheduler_default_filters = AllHostsFilter' in nova.conf

Status in OpenStack Compute (Nova):
  New

Bug description:
  When setting 'scheduler_default_filters = AllHostsFilter' in nova.conf
  on devstack, the default filters (like 'RamFilter') are still used.


  Steps to reproduce:

  
  ./stack.sh
  export OS_USERNAME=admin
  export OS_PASSWORD=password
  export OS_TENANT_NAME=demo
  export OS_AUTH_URL=http://192.168.126.142:5000/v2.0/

  source /usr/local/src/devstack/openrc admin

  vi /etc/nova/nova.conf
  Add 'scheduler_default_filters = AllHostsFilter'.
  use 'screen -r' to restart nova scheduler.

  wget https://launchpadlibrarian.net/83303699/cirros-0.3.0-i386-disk.img
  glance image-create --name=cirros-0.3.0-i386 --is-public=true --container-format=bare --disk-format=qcow2 < cirros-0.3.0-i386-disk.img

  launch a flavor that woud overallocate/overcommit ram memory: nova boot --flavor m1.foo --image cirros-0.3.0-i386 myvm
  nova show myvm

  The instance fails to launch: 'No valid host was found.'. Launching a
  smaller flavor, like 'm1.nano', does succeed.

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


Follow ups

References