Revision history [back]

click to hide/show revision 1
initial version

devstack no hosts available

I am trying to run a devstack installation from the stable/ocata branch. At first I got the following error No hosts found to map to cell, exiting” I solved it by adding enable_service n-cell to my local.conf, so now the file looks like this

[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
IP_VERSION=4
enable_service n-cell
RECLONE=yes

The installation completed successfully, however when I try to create new cirros vm I am getting the following error:

 No valid host was found. There are not enough hosts available

From the screen session I see that n-cond n-cell-region n-cell-child n-sch n-cauth and n-cpu are running. In the scheduler log I found the following error

2017-04-04 15:47:53.219 DEBUG nova.filters [req-7ae99e00-ddcc-492f-b061-805aa4314cee admin 
admin] Starting with 0 host(s) from (pid=30739) get_filtered_objects /opt/stack/nova/no
va/filters.py:70
2017-04-04 15:47:53.220 INFO nova.filters [req-7ae99e00-ddcc-492f-b061-805aa4314cee admin a
dmin] Filter RetryFilter returned 0 hosts

In nova-cells.conf I see the following filters are enabled:

scheduler_default_filters = RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SameHostFilter,DifferentHostFilter

I don't see anything wrong in the config, the only thing that bothers me is enable_service n-cell, because I never needed it to run devstack. Any ideas why the scheduler is starting with 0 hosts