unable to boot instance (Error: novalid host )

asked 2013-03-01 04:33:05 -0500

anil-benny gravatar image

Unable to boot an instance. I get novalid host error. I have attached the n-api log and cinder.conf file which i am using in pastebin

http://pastebin.com/wca3B5zW

nova boot --image c64c1f4a-edae-4f46-835f-929de2b1c84e --flavor m1.tiny test2 +-----------------------------+---------------------------------------------------------------------------------+ | Property | Value | +-----------------------------+---------------------------------------------------------------------------------+ | status | ERROR | | updated | 2013-03-01T04:19:52Z | | OS-EXT-STS:task_state | None | | key_name | None | | image | cirros-0.3.0-x86_64-uec | | hostId | | | OS-EXT-STS:vm_state | error | | flavor | m1.tiny | | id | c14f1124-4d4a-4c71-bf7f-20c750b8fd42 | | security_groups | [{u'name': u'default'}] | | user_id | fde67b8f9c854843bcc1aa11f2ac79d4 | | name | test2 | | adminPass | vg7rHPzGyp6G | | fault | {u'message': u'NoValidHost', u'code': 500, u'created': u'2013-03-01T04:19:52Z'} | | created | 2013-03-01T04:19:52Z | | OS-DCF:diskConfig | MANUAL | | metadata | {} | | accessIPv4 | | | accessIPv6 | | | tenant_id | 166c24ffa3934175b8f14cc7f9a09f4c | | OS-EXT-STS:power_state | 0 | | OS-EXT-AZ:availability_zone | None | | config_drive | | +-----------------------------+---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------

####################

n-api log

####################

2013-02-28 23:19:51.329 INFO nova.osapi_compute.wsgi.server [req-1dc1222c-39da-4031-8ad9-90f9209dfe4b demo demo] 10.63.165.30 "GET /v2/166c24ffa3934175b8f14cc7f9a09f4c/flavors/detail HTTP/1.1" status: 200 len: 2263 time: 0.0906730

2013-02-28 23:19:51.405 INFO nova.api.openstack.wsgi [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] POST http://10.63.165.30:8774/v2/166c24ffa3934175b8f14cc7f9a09f4c/servers (http://10.63.165.30:8774/v2/166c24ffa...) 2013-02-28 23:19:51.406 INFO nova.api.openstack.wsgi [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] Action: 'create', body: {"server": {"min_count": 1, "flavorRef": "1", "name": "test2", "imageRef": "c64c1f4a-edae-4f46-835f-929de2b1c84e", "max_count": 1}} 2013-02-28 23:19:51.406 DEBUG nova.api.openstack.wsgi [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] Calling method > from (pid=29599) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:927 2013-02-28 23:19:51.468 DEBUG nova.quota [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] Created reservations ['34aea247-0480-4bb1-8d76-64acf4cc8665', 'f5b462e8-5e49-45e5-88b8-509d71fbc6a3', 'a1649614-11b9-498c-b5cb-731c938a91da'] from (pid=29599) reserve /opt/stack/nova/nova/quota.py:944 2013-02-28 23:19:51.478 DEBUG nova.image.glance [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] fetching image c64c1f4a-edae-4f46-835f-929de2b1c84e from glance from (pid=29599) get_remote_image_service /opt/stack/nova/nova/image/glance.py:492 2013-02-28 23:19:51.830 DEBUG nova.image.glance [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] fetching image 55d910b0-aaaa-446f-a9c2-9c2f514cae8f from glance from (pid=29599) get_remote_image_service /opt/stack/nova/nova/image/glance.py:492 2013-02-28 23:19:52.152 DEBUG nova.image.glance [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] fetching image c7bef711-9931-4ceb-bdff-e8057af16543 from glance from (pid=29599) get_remote_image_service /opt/stack/nova/nova/image/glance.py:492 2013-02-28 23:19:52.475 DEBUG nova.compute.api [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] Going to run 1 instances... from (pid=29599) _validate_and_provision_instance /opt/stack/nova/nova/compute/api.py:589 2013-02-28 23:19:52.607 DEBUG nova.quota [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] Committed reservations ['34aea247-0480-4bb1-8d76-64acf4cc8665', 'f5b462e8-5e49-45e5-88b8-509d71fbc6a3', 'a1649614-11b9-498c-b5cb-731c938a91da'] from (pid=29599) commit /opt/stack/nova/nova/quota.py:968 2013-02-28 23:19:52.631 DEBUG nova.openstack.common.rpc.amqp [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] Making asynchronous cast on scheduler... from (pid=29599) cast /opt/stack/nova/nova/openstack/common/rpc/amqp.py:577 2013-02-28 23:19:52.675 INFO nova.api.openstack.wsgi [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] http://10.63.165.30:8774/v2/166c24ffa3934175b8f14cc7f9a09f4c/servers (http://10.63.165.30:8774/v2/166c24ffa...) returned with HTTP 202 2013-02-28 23:19:52.676 INFO nova.osapi_compute.wsgi.server [req-9919eef0-e97e-44e2-bdb5-76d0db28244f demo demo] 10.63.165.30 "POST /v2/166c24ffa3934175b8f14cc7f9a09f4c/servers HTTP/1.1" status: 202 len: 736 time: 1.3419569

2013-02-28 23:19:52 ... (more)

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-08 21:11:11 -0500

zzs gravatar image

it looks like the nova-conductor is still initializing, can you check if it is gone after a while. Please check all the nova services work or not by: nova-manage service list.

edit flag offensive delete link more
0

answered 2013-03-01 15:52:15 -0500

I'm convering this bug into a question. Hopefully someone can continue to help you debug your setup there. Thanks!

edit flag offensive delete link more
0

answered 2013-03-02 10:34:12 -0500

varadaa gravatar image

1 )how is your nova-scheduler.log looking, when 'nova boot ' was issued ?

2 )See..if the compute node is registered in the sqlDB at all mysql> select hypervisor_hostname from compute_nodes;

3) Could be authentication issue from compute node itself. You might want to check the connect strings/user/pass and such.

edit flag offensive delete link more
0

answered 2013-03-07 10:05:23 -0500

anil-benny gravatar image

ok i see the root cause itself being the devstack installation. I am seeing these errors being thrown after i install the devstack.

req-1ac4ac16-4d59-4205-98c2-7a00e12cb2a9 None None] Timed out waiting for nova-conductor. Is it running? Or did this service start before nova-conductor? 2013-03-07 05:01:11.515 DEBUG nova.openstack.common.rpc.amqp [req-1ac4ac16-4d59-4205-98c2-7a00e12cb2a9 None None] Making synchronous call on conductor ... from (pid=4666) multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:541 2013-03-07 05:01:11.516 DEBUG nova.openstack.common.rpc.amqp [req-1ac4ac16-4d59-4205-98c2-7a00e12cb2a9 None None] MSG_ID is 77d1c4ce71384b509740caa688c97821 from (pid=4666) multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:544 2013-03-07 05:02:11.622 ERROR nova.openstack.common.rpc.common [req-1ac4ac16-4d59-4205-98c2-7a00e12cb2a9 None None] Timed out waiting for RPC response: timed out 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common Traceback (most recent call last): 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/opt/stack/nova/nova/openstack/common/rpc/impl_kombu.py", line 563, in ensure 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common return method(args, kwargs) 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/opt/stack/nova/nova/openstack/common/rpc/impl_kombu.py", line 643, in _consume 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common return self.connection.drain_events(timeout=timeout) 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 110, in drain_events 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common return self.transport.drain_events(self.connection, *kwargs) 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 200, in drain_events 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common return connection.drain_events(kwargs) 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 50, in drain_events 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common return self.wait_multi(self.channels.values(), timeout=timeout) 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 56, in wait_multi 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common chanmap.keys(), allowed_methods, timeout=timeout) 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 104, in _wait_multiple 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common channel, method_sig, args, content = self.read_timeout(timeout) 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 86, in read_timeout 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common return self.method_reader.read_method() 2013-03-07 05:02:11.622 TRACE nova.openstack.common.rpc.common File "/usr/local/lib/python2.7/dist-packages/amqplib ... (more)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-01 04:33:05 -0500

Seen: 114 times

Last updated: Mar 08 '13