Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Failed to boot instance on Openstack

hi: when i use the command "nova boot --flavor 1 --key-name openstack --image f4787dac-2f24-4d1e-8bde-eabb17266d13 --nic net-id=e1375bc4-ad1d-41d5-ae16-f81a4f851d34 --security-group default my_first_instance" to boot an instance on Openstack, got failed with "ERROR (ConnectTimeout): Request to http://10.3.214.202:8774/v2/e4fc003f33b445ad96378f2646f2faae/servers timed out " who can help me to have a look at? Thank you very much~

python version is 2.7.5, and the openstack is installed with RDO.

following is the log information

nova-compute.log

2016-10-31 12:26:34.677 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Auditing locally available compute resources for node localhost.localdomain 2016-10-31 12:26:34.946 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Total usable vcpus: 2, total allocated vcpus: 0 2016-10-31 12:26:34.946 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Final resource view: name=localhost.localdomain phys_ram=7823MB used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=2 used_vcpus=0 pci_stats=[] 2016-10-31 12:26:34.996 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Compute_service record updated for localhost.localdomain:localhost.localdomain 2016-10-31 12:27:35.687 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Auditing locally available compute resources for node localhost.localdomain 2016-10-31 12:27:35.872 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Total usable vcpus: 2, total allocated vcpus: 0 2016-10-31 12:27:35.872 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Final resource view: name=localhost.localdomain phys_ram=7823MB used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=2 used_vcpus=0 pci_stats=[] 2016-10-31 12:27:35.913 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Compute_service record updated for localhost.localdomain:localhost.localdomain

~

nova-api.log

2016-10-31 12:24:12.787 27213 INFO nova.osapi_compute.wsgi.server [req-0c177022-3d9c-4e46-bbe2-e3bc2c400caa ea2388cc0af24b36aaf186c75e9953ba 87e2c49a23b84cbd9d89eee522681fa5 - - -] 10.3.214.202 "GET /v2/87e2c49a23b84cbd9d89eee522681fa5/servers/detail?all_tenants=True&changes-since=2016-10-31T16%3A14%3A12.906190%2B00%3A00 HTTP/1.1" status: 200 len: 211 time: 0.3187652 2016-10-31 12:25:30.149 27213 INFO nova.osapi_compute.wsgi.server [req-b758e98e-cfa3-4d7f-bb49-d2fa90359789 805b58b08cb44fb29f1feb826fa007e6 e4fc003f33b445ad96378f2646f2faae - - -] 10.3.214.202 "GET /v2/e4fc003f33b445ad96378f2646f2faae HTTP/1.1" status: 404 len: 264 time: 0.1048701 2016-10-31 12:25:30.159 27213 INFO nova.osapi_compute.wsgi.server [req-b80a3fd0-97bb-4de4-8fb4-6582c21aa7c0 805b58b08cb44fb29f1feb826fa007e6 e4fc003f33b445ad96378f2646f2faae - - -] 10.3.214.202 "GET /v2/ HTTP/1.1" status: 200 len: 574 time: 0.0055690 2016-10-31 12:25:30.362 27213 INFO nova.osapi_compute.wsgi.server [req-0a3f9ff8-690b-438c-8bd1-6c8688b62270 805b58b08cb44fb29f1feb826fa007e6 e4fc003f33b445ad96378f2646f2faae - - -] 10.3.214.202 "GET /v2/e4fc003f33b445ad96378f2646f2faae/servers/detail HTTP/1.1" status: 200 len: 211 time: 0.0491831

Failed to boot instance on Openstack

hi: when i use the command "nova "nova boot --flavor 1 --key-name openstack --image f4787dac-2f24-4d1e-8bde-eabb17266d13 --nic net-id=e1375bc4-ad1d-41d5-ae16-f81a4f851d34 --security-group default my_first_instance" my_first_instance" to boot an instance on Openstack, got failed with "ERROR "ERROR (ConnectTimeout): Request to http://10.3.214.202:8774/v2/e4fc003f33b445ad96378f2646f2faae/servers timed out out " who can help me to have a look at? Thank you very much~

python version is 2.7.5, and the openstack is installed with RDO.

RDO. following is the log information

nova-compute.log

===============================================================
nova-compute.log
=====================
2016-10-31 12:26:34.677 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Auditing locally available compute resources for node localhost.localdomain
2016-10-31 12:26:34.946 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Total usable vcpus: 2, total allocated vcpus: 0
2016-10-31 12:26:34.946 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Final resource view: name=localhost.localdomain phys_ram=7823MB used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=2 used_vcpus=0 pci_stats=[]
2016-10-31 12:26:34.996 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Compute_service record updated for localhost.localdomain:localhost.localdomain
2016-10-31 12:27:35.687 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Auditing locally available compute resources for node localhost.localdomain
2016-10-31 12:27:35.872 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Total usable vcpus: 2, total allocated vcpus: 0
2016-10-31 12:27:35.872 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Final resource view: name=localhost.localdomain phys_ram=7823MB used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=2 used_vcpus=0 pci_stats=[]
2016-10-31 12:27:35.913 3087 INFO nova.compute.resource_tracker [req-da40c9bd-5ef1-4c92-b9fe-3b365b1d7eca - - - - -] Compute_service record updated for localhost.localdomain:localhost.localdomain

~

nova-api.log

localhost.localdomain:localhost.localdomain ~ =========================================== nova-api.log =============== 2016-10-31 12:24:12.787 27213 INFO nova.osapi_compute.wsgi.server [req-0c177022-3d9c-4e46-bbe2-e3bc2c400caa ea2388cc0af24b36aaf186c75e9953ba 87e2c49a23b84cbd9d89eee522681fa5 - - -] 10.3.214.202 "GET /v2/87e2c49a23b84cbd9d89eee522681fa5/servers/detail?all_tenants=True&changes-since=2016-10-31T16%3A14%3A12.906190%2B00%3A00 HTTP/1.1" status: 200 len: 211 time: 0.3187652 2016-10-31 12:25:30.149 27213 INFO nova.osapi_compute.wsgi.server [req-b758e98e-cfa3-4d7f-bb49-d2fa90359789 805b58b08cb44fb29f1feb826fa007e6 e4fc003f33b445ad96378f2646f2faae - - -] 10.3.214.202 "GET /v2/e4fc003f33b445ad96378f2646f2faae HTTP/1.1" status: 404 len: 264 time: 0.1048701 2016-10-31 12:25:30.159 27213 INFO nova.osapi_compute.wsgi.server [req-b80a3fd0-97bb-4de4-8fb4-6582c21aa7c0 805b58b08cb44fb29f1feb826fa007e6 e4fc003f33b445ad96378f2646f2faae - - -] 10.3.214.202 "GET /v2/ HTTP/1.1" status: 200 len: 574 time: 0.0055690 2016-10-31 12:25:30.362 27213 INFO nova.osapi_compute.wsgi.server [req-0a3f9ff8-690b-438c-8bd1-6c8688b62270 805b58b08cb44fb29f1feb826fa007e6 e4fc003f33b445ad96378f2646f2faae - - -] 10.3.214.202 "GET /v2/e4fc003f33b445ad96378f2646f2faae/servers/detail HTTP/1.1" status: 200 len: 211 time: 0.0491831

0.0491831