Hi Vikash, Did you make sure that your compute node is running?
'nova availability-zone-list' (or the equivalent openstack cli command) will show you that. If your compute node isn't active, you need to check whether nova-compute throws errors on your compute node. cheers, hauke On 14.03.2017 06:22, Vikash Kumar wrote: > I am unable to launch the instance. Below is Nova scheduler logs which > says 0 host. I have installed openstack ocata devstack. Here is output of : > > *nova-manage host list > host zone > 0.0.0.0 internal > stack internal > nfp nova* # Compute node > > 2017-03-14 10:13:15.949 24225 DEBUG oslo_service.periodic_task > [req-b6c01e64-17e9-4f57-aec8-4bf7ba279e8f - -] Running periodic task > SchedulerManager._ > run_periodic_tasks run_periodic_tasks > /usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215 > 2017-03-14 10:13:52.178 24225 DEBUG oslo_messaging._drivers.amqpdriver > [-] received message with unique_id: 3b9519dd6abb4a808433f594dda3c8ba > __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:196 > 2017-03-14 10:13:52.180 24225 DEBUG oslo_concurrency.lockutils > [req-fafcd5e5-0278-447e-ace4-a67defd17816 - -] Lock "host_instance" > acquired by "nova.s > cheduler.host_manager.update_instance_info" :: waited 0.000s inner > /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:270 > 2017-03-14 10:13:52.181 24225 DEBUG oslo_concurrency.lockutils > [req-fafcd5e5-0278-447e-ace4-a67defd17816 - -] Lock "host_instance" > released by "nova.s > cheduler.host_manager.update_instance_info" :: held 0.001s inner > /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:282 > 2017-03-14 10:14:04.230 24225 DEBUG oslo_service.periodic_task > [req-b6c01e64-17e9-4f57-aec8-4bf7ba279e8f - -] Running periodic task > SchedulerManager._ > expire_reservations run_periodic_tasks > /usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215 > 2017-03-14 10:14:15.951 24225 DEBUG oslo_service.periodic_task > [req-b6c01e64-17e9-4f57-aec8-4bf7ba279e8f - -] Running periodic task > SchedulerManager._ > run_periodic_tasks run_periodic_tasks > /usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215 > 2017-03-14 10:14:34.614 24225 DEBUG oslo_messaging._drivers.amqpdriver > [-] received message msg_id: 7bd0be86818e42a58d845a4e783efbd4 reply to > reply_49 > 01cb308942488984a83a9e2275f6b5 __call__ > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:194 > 2017-03-14 10:14:34.617 24225 DEBUG oslo_messaging._drivers.amqpdriver > [req-babb1ec2-2619-4d9b-8677-33e928b6e66f vks vks] CAST unique_id: > b118ce0d7da0 > 43b2bfee3c63f5939ff4 NOTIFY exchange 'nova' topic 'notifications.info > <http://notifications.info>' _send > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:426 > 2017-03-14 10:14:44.112 24225 DEBUG nova.filters > [req-babb1ec2-2619-4d9b-8677-33e928b6e66f vks vks] *Starting with 0 > host(s) get_filtered_objects /opt/stack/nova/nova/filters.py:70* > 2017-03-14 10:14:44.113 24225 INFO nova.filters > [req-babb1ec2-2619-4d9b-8677-33e928b6e66f vks vks] Filter RetryFilter > returned 0 hosts > 2017-03-14 10:14:44.114 24225 DEBUG nova.filters > [req-babb1ec2-2619-4d9b-8677-33e928b6e66f vks vks] Filtering removed all > hosts for the request with instance ID > 'ebce31a7-7018-4f2e-980c-e10987afdca6'. Filter results: [('RetryFilter', > None)] get_filtered_objects /opt/stack/nova/nova/filters.py:129 > 2017-03-14 10:14:44.115 24225 INFO nova.filters > [req-babb1ec2-2619-4d9b-8677-33e928b6e66f vks vks] Filtering removed all > hosts for the request with instance ID > 'ebce31a7-7018-4f2e-980c-e10987afdca6'. Filter results: ['RetryFilter: > (start: 0, end: 0)'] > 2017-03-14 10:14:44.116 24225 DEBUG nova.scheduler.filter_scheduler > [req-babb1ec2-2619-4d9b-8677-33e928b6e66f vks vks] T*here are 0 hosts > available but 1 instances requested to build. select_destinations > /opt/stack/nova/nova/scheduler/filter_scheduler.py:76* > 2017-03-14 10:14:44.117 24225 DEBUG oslo_messaging.rpc.server > [req-babb1ec2-2619-4d9b-8677-33e928b6e66f vks vks] Expected exception > during message handling () _process_incoming > /usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py:158 > 2017-03-14 10:14:44.118 24225 DEBUG oslo_messaging._drivers.amqpdriver > [req-babb1ec2-2619-4d9b-8677-33e928b6e66f vks vks] sending reply msg_id: > 7bd0be86818e42a58d845a4e783efbd4 reply queue: > reply_4901cb308942488984a83a9e2275f6b5 time elapsed: 9.50398825854s > _send_reply > /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:73 > > Is this a filter isssue ? > > > > > > -- > Regards, > Vikash > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack