When creating an instance on controller node.. the instance remains in scheduling state and no power and no available Network

asked 2015-08-18 10:05:33 -0500

Nour gravatar image

updated 2015-08-19 04:21:47 -0500

I have a three node openstack environment 1-Cntroller 2-Compute 3-Neutron working on Vms on Vmware environment and I have installed everything and everything seems to be working well but whenever I try to create an instance it remains in the scheduling state with no power state and nothing shows in the log.

nova keypair-list
+-------------+-------------------------------------------------+
| Name        | Fingerprint                                     |
+-------------+-------------------------------------------------+
| test        | 52:7d:b2:fc:cb:36:89:71:f9:57:b9:b3:3c:a7:f4:ce |
| demo-key    | f5:f6:fa:aa:7b:be:ca:3f:a3:30:2c:2d:41:0a:0b:5c |
| demo-key123 | 61:75:e0:55:d7:a0:54:78:17:19:d5:5e:a9:e5:e8:41 |
+-------------+-------------------------------------------------+

 nova image-list
+--------------------------------------+---------------------+--------+--------+
| ID                                   | Name                | Status | Server |
+--------------------------------------+---------------------+--------+--------+
| b825b0b7-6d9c-4d74-915e-0df258fa3279 | cirros-0.3.3-x86_64 | ACTIVE |        |
+--------------------------------------+---------------------+--------+--------+

neutron net-list

+--------------------------------------+----------+-----------------------------------------------------+
| id                                   | name     | subnets                                             |
+--------------------------------------+----------+-----------------------------------------------------+
| a9ae6859-1b45-482d-84e4-e620df307a88 | demo-net | fdf33709-7762-4ece-8451-bffa4f274988 192.168.1.0/24 |
| 0ef785e7-676f-41c9-b90d-db198012d35d | ext-net  | 054e0e72-61eb-4744-aa48-34c4e54a8254 203.0.113.0/24 |
|                                      |          | cb73b722-5411-43de-b20b-a5116787974f 192.168.0.0/24 |
+--------------------------------------+----------+-----------------------------------------------------+
 nova secgroup-list
+--------------------------------------+---------+-------------+
| Id                                   | Name    | Description |
+--------------------------------------+---------+-------------+
| 92dbad34-afb9-4848-8dbc-186955ab0db3 | default | default     |
| cfd90f74-b0a6-4756-82c1-e843c529153c | new     | test        |
+--------------------------------------+---------+-------------+

 nova list
+--------------------------------------+-----------------+--------+------------+-------------+----------+
| ID                                   | Name            | Status | Task State | Power State | Networks |
+--------------------------------------+-----------------+--------+------------+-------------+----------+
| 2af23243-e89d-4774-9b03-ff4a16243031 | demo-instance77 | BUILD  | scheduling | NOSTATE     |          |
+------------------------`--------------+-----------------+--------+------------+-------------+----------+

when grepping the instance ID in the nova-api.log grep 2af23243-e89d-4774-9b03-ff4a16243031 /var/log/nova/nova-api.log 2015-08-18 09:25:34.154 13979 DEBUG nova.compute.api [req-82c7102b-b02f-4b81-b6f5-eb59c4d6df29 None] [instance: 2af23243-e89d-4774-9b03-ff4a16243031] block_device_mapping [{'guest_format': None, 'boot_index': 0, 'no_device': None, 'connection_info': None, 'snapshot_id': None, 'volume_size': None, 'device_name': None, 'disk_bus': None, 'image_id': u'b825b0b7-6d9c-4d74-915e-0df258fa3279', 'source_type': 'image', 'device_type': 'disk', 'volume_id': None, 'destination_type': 'local', 'delete_on_termination': True}] _update_block_device_mapping /usr/lib/python2.7/site-packages/nova/compute/api.py:1182 REQ: curl -i http://controller:9696/v2.0/ports.json?device_id=2af23243-e89d-4774-9b03-ff4a16243031 (http://controller:9696/v2.0/ports.jso...) -X GET -H "X-Auth-Token: 901900e5145a4065bc01b9dd4c994ab3" -H "User-Agent: python-neutronclient" 2015-08-18 09:25:34.295 13979 INFO nova.osapi_compute.wsgi.server [req-bd005d71-cfaa-42df-bec1-03619b71a7f3 None] 10.0.0.11 "GET /v2/bd6f23c4d1bd47f3934935724b5105cb/servers/2af23243-e89d-4774-9b03-ff4a16243031 HTTP/1.1" status: 200 len: 1630 time: 0.0854621 REQ: curl -i http://controller:9696/v2.0/ports.json?device_id=2af23243-e89d-4774-9b03-ff4a16243031&device_id=15020400-d536-4446-805f-881c7609d53b (http://controller:9696/v2.0/ports.jso...) -X GET -H "X-Auth-Token: 7771daf953574914aa9897f46d730d03" -H "User-Agent: python-neutronclient" REQ: curl -i http://controller:9696/v2.0/ports.json?device_id=2af23243-e89d-4774-9b03-ff4a16243031&device_id=15020400-d536-4446-805f-881c7609d53b (http://controller:9696/v2.0/ports.jso...) -X GET -H "X-Auth-Token: 6dcfd7d18499435ba174bbf6ed7bd6a0" -H "User-Agent: python-neutronclient" REQ: curl -i http://controller:9696/v2.0/ports.json?device_id=2af23243-e89d-4774-9b03-ff4a16243031&device_id=15020400-d536-4446-805f-881c7609d53b (http://controller:9696/v2.0/ports.jso...) -X GET -H "X-Auth-Token: d35674d8fec54935b9824062d8cd28fe" -H "User-Agent: python-neutronclient" REQ: curl -i http://controller:9696/v2.0/ports.json?device_id=2af23243-e89d-4774-9b03-ff4a16243031&device_id=15020400-d536-4446-805f-881c7609d53b (http://controller:9696/v2.0/ports.jso...) -X GET -H "X-Auth-Token: 345eb2569fed476e93254c303dfed543" -H "User-Agent: python-neutronclient" REQ: curl -i http://controller:9696/v2.0/ports.json?device_id=2e18ab62-b948-4b0a-a671-559bba13e6c8&device_id=5126435f-0d02-44a0-bbca-c95e70b61cf8&device_id=2af23243-e89d-4774-9b03-ff4a16243031&device_id=15020400-d536-4446-805f-881c7609d53b (http://controller:9696/v2.0/ports.jso...) -X GET -H "X-Auth-Token: d49eb701d7e849efaa180e4b7a1e5073" -H "User-Agent: python-neutronclient" REQ: curl -i http://controller:9696/v2.0/ports.json?device_id=2af23243-e89d-4774-9b03-ff4a16243031 (http://controller:9696/v2.0/ports.jso...) -X GET -H "X-Auth-Token: 015cd1b36c2a4e6bae333d2ef653945c" -H "User-Agent: python-neutronclient" REQ: curl -i http://controller:9696/v2.0/ports.json?device_id=2af23243-e89d-4774-9b03-ff4a16243031 (http://controller:9696/v2.0/ports.jso...) -X GET -H "X-Auth-Token ... (more)

edit retag flag offensive close merge delete

Comments

can you also post the Compute Node nova log?

natsu gravatar imagenatsu ( 2015-08-18 19:09:42 -0500 )edit

I have updated the question with the logs

Nour gravatar imageNour ( 2015-08-19 04:39:35 -0500 )edit