Ask Your Question
2

Unable to create instance. [closed]

asked 2013-11-22 13:11:49 -0500

bgyako gravatar image

updated 2013-11-22 15:26:30 -0500

Hi Pretty new to openstack, fixed all other bugs I had with cinder and nova conf. Finally at step to create instance and it fails.

nova-manage service list shows all smileys Exp:

Binary           Host                                 Zone             Status     State Updated_At
nova-cert        cloudcontroller                      nova             enabled    :-)   2013-11-22 19:07:10
nova-consoleauth cloudcontroller                      nova             enabled    :-)   2013-11-22 19:07:11
nova-scheduler   cloudcontroller                      nova             enabled    :-)   2013-11-22 19:07:16
nova-conductor   cloudcontroller                      nova             enabled    :-)   2013-11-22 19:07:09
nova-compute     cloudcompute011                      nova             enabled    :-)   2013-11-22 19:07:14
nova-compute     cloudcompute003                      nova             enabled    :-)   2013-11-22 19:07:12
nova-compute     cloudcompute015                      nova             enabled    :-)   2013-11-22 19:07:12
nova-compute     cloudcompute008                      nova             enabled    :-)   2013-11-22 19:07:14
nova-compute     cloudcompute002                      nova             enabled    :-)   2013-11-22 19:07:14
nova-compute     cloudcompute004                      nova             enabled    :-)   2013-11-22 19:07:14
nova-compute     cloudcompute013                      nova             enabled    :-)   2013-11-22 19:07:14

Nova Schedular log shows:

2013-11-22 13:34:39.785 WARNING nova.scheduler.manager [req-6a3af940-8df3-4b8e-9d73-04bb62583196 0841aee7570b4b0fb02b695605ca8980 2cc3cd2e32824d4da3b8c4fcf3a1dd2e] Failed to schedule_run_instance: No valid host was found. Exceeded max scheduling attempts 3 for instance d6c3a558-8e21-4c52-84be-10e4c682068a
2013-11-22 13:34:39.786 WARNING nova.scheduler.manager [req-6a3af940-8df3-4b8e-9d73-04bb62583196 0841aee7570b4b0fb02b695605ca8980 2cc3cd2e32824d4da3b8c4fcf3a1dd2e] [instance: d6c3a558-8e21-4c52-84be-10e4c682068a] Setting instance to ERROR state.

Quantum server log shows:

2013-11-22 13:32:50  WARNING [quantum.db.agentschedulers_db] Fail scheduling network {'status': u'ACTIVE', 'subnets': [u'77f243d7-6150-42bb-8cfa-ff0704f36cff'], 'name': u'Demo_Private', 'provider:physical_network': None, 'admin_state_up': True, 'tenant_id': u'2cc3cd2e32824d4da3b8c4fcf3a1dd2e', 'provider:network_type': u'gre', 'router:external': False, 'shared': True, 'id': u'15771bd5-d5d3-4c3e-8019-d5e92982c533', 'provider:segmentation_id': 2L}
2013-11-22 13:33:27  WARNING [quantum.db.agentschedulers_db] Fail scheduling network {'status': u'ACTIVE', 'subnets': [u'77f243d7-6150-42bb-8cfa-ff0704f36cff'], 'name': u'Demo_Private', 'provider:physical_network': None, 'admin_state_up': True, 'tenant_id': u'2cc3cd2e32824d4da3b8c4fcf3a1dd2e', 'provider:network_type': u'gre', 'router:external': False, 'shared': True, 'id': u'15771bd5-d5d3-4c3e-8019-d5e92982c533', 'provider:segmentation_id': 2L}

    2013-11-22 13:34:04  WARNING [quantum.db.agentschedulers_db] Fail scheduling network {'status': u'ACTIVE', 'subnets': [u'77f243d7-6150-42bb-8cfa-ff0704f36cff'], 'name': u'Demo_Private', 'provider:physical_network': None, 'admin_state_up': True, 'tenant_id': u'2cc3cd2e32824d4da3b8c4fcf3a1dd2e', 'provider:network_type': u'gre', 'router:external': False, 'shared': True, 'id': u'15771bd5-d5d3-4c3e-8019-d5e92982c533', 'provider:segmentation_id': 2L}
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by bgyako
close date 2013-12-13 12:30:20.687842

Comments

are you able to solve this ? What is the status set for instance ? It must be error. Can you check /var/log/libvirt/libvirtd.log and /var/log/nova/nova-compute.log. This may give us more info. Please attach logs in pastebin.com.

dheeru gravatar imagedheeru ( 2013-11-23 10:11:00 -0500 )edit

No, do not have either one of those logs.

bgyako gravatar imagebgyako ( 2013-11-25 09:06:58 -0500 )edit

looks you have multi node installation. ie. you have multiple compute nodes. So logs can be there any of these nodes. Can you look for these errors in all these compute nodes. DOn't just look at controller node.

dheeru gravatar imagedheeru ( 2013-11-25 09:25:57 -0500 )edit

Yes here are the logs: nova-compute log of one of the compute nodes. http://pastebin.com/TNpdtfLs Libvirt log has error from several days ago nothing current: http://pastebin.com/ZtAS7Jqm

bgyako gravatar imagebgyako ( 2013-11-25 09:58:18 -0500 )edit

pastebin is not working and I'm not able to see logs. I think now we can get into db directly. Are you interested in getting into deep troubleshooting. We have to access the db and see which compute is hosting your instance If you can come on gmail chat we can discuss and solve your problem. I'm confident of solving your problem my email id is dheerendra.madhusudhana@gmail.com. Can you drop me an email ?

dheeru gravatar imagedheeru ( 2013-11-25 10:14:02 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-22 15:30:15 -0500

You may need to add this option to nova.conf --scheduler_default_filters=AllHostsFilterhttps://answers.launchpad.net/nova/+question/192511

edit flag offensive delete link more

Comments

Updated nova still fails: Quantum failure log: http://pastebin.com/8JXQQPxS Nova scheduler failure log: http://pastebin.com/SUMAtdtv

bgyako gravatar imagebgyako ( 2013-11-25 09:47:50 -0500 )edit

i have the same case here any help plz!

islem gravatar imageislem ( 2014-07-11 13:03:38 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-11-22 13:11:49 -0500

Seen: 2,690 times

Last updated: Nov 22 '13