创建新实例的时候出错,麻位那位高手帮看下是什么原因.
nova-api日志
2016-01-19 04:21:25.003 35344 DEBUG nova.api.openstack.wsgi [req-b95e78a9-4035-48da-a60e-749b4ddd7279 None] Calling method '<bound method AvailabilityZoneController.index of <nova.api.openstack.compute.contrib.availability_zone.AvailabilityZoneController object at 0x51c42d0>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:25.045 35344 INFO nova.osapi_compute.wsgi.server [req-b95e78a9-4035-48da-a60e-749b4ddd7279 None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0465801
2016-01-19 04:21:25.054 35342 DEBUG nova.api.openstack.wsgi [req-1410ed41-7750-4cdc-96f3-f7fc58143641 None] Calling method '<bound method Controller.detail of <nova.api.openstack.compute.flavors.Controller object at 0x5073490>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:25.087 35342 INFO nova.osapi_compute.wsgi.server [req-1410ed41-7750-4cdc-96f3-f7fc58143641 None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0368769
2016-01-19 04:21:25.885 35342 DEBUG nova.api.openstack.wsgi [req-141f9f23-399d-4aa0-9fda-b5909b1dbcac None] Calling method '<bound method ExtensionsController.index of <nova.api.openstack.extensions.ExtensionsController object at 0x51b9dd0>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:25.889 35342 INFO nova.osapi_compute.wsgi.server [req-141f9f23-399d-4aa0-9fda-b5909b1dbcac None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/extensions HTTP/1.1" status: 200 len: 22227 time: 0.0087559
2016-01-19 04:21:25.911 35343 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller:35357/v2.0/tokens/acf68e9c2b05487d93147789dcfdf871 -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: TOKEN_REDACTED" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:155
2016-01-19 04:21:25.964 35343 DEBUG keystoneclient.session [-] RESP: [200] {'Date': 'Tue, 19 Jan 2016 09:21:25 GMT', 'Content-Type': 'application/json', 'Content-Length': '3812', 'Vary': 'X-Auth-Token', 'Connection': 'keep-alive'}
RESP BODY: {"access": {"token": {"issued_at": "2016-01-19T09:10:59.900455", "expires": "2016-01-19T10:10:59Z", "id": "acf68e9c2b05487d93147789dcfdf871", "tenant": {"enabled": true, "id": "e799e85303374e7d970a504924000563", "name": "demo", "description": "Demo Tenant"}, "audit_ids": ["ojGplpEnS6C0PCj9i39_fw", "dQDBeoJPSwSHR8sYjPuz1w"]}, "serviceCatalog": [{"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:8774/v2/e799e85303374e7d970a504924000563", "region": "regionOne", "publicURL": "http://controller:8774/v2/e799e85303374e7d970a504924000563", "id": "7d3890288d604f298e3e7b07d583805b", "internalURL": "http://controller:8774/v2/e799e85303374e7d970a504924000563"}], "type": "compute", "name": "nova"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:9696", "region": "regionOne", "publicURL": "http://controller:9696", "id": "45720c7bd1bf49b1ae7e77566b7294d3", "internalURL": "http://controller:9696"}], "type": "network", "name": "neutron"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:8776/v2/e799e85303374e7d970a504924000563", "region": "regionOne", "publicURL": "http://controller:8776/v2/e799e85303374e7d970a504924000563", "id": "27a35d4c61b84ff29653965b4e02c1a1", "internalURL": "http://controller:8776/v2/e799e85303374e7d970a504924000563"}], "type": "volumev2", "name": "cinderv2"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:9292", "region": "regionOne", "publicURL": "http://controller:9292", "id": "139db3c051bc482cbeddf70bb04a198d", "internalURL": "http://controller:9292"}], "type": "image", "name": "glance"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:8777", "region": "regionOne", "publicURL": "http://controller:8777", "id": "53f53883b1324c28bdd66c08635622cc", "internalURL": "http://controller:8777"}], "type": "metering", "name": "ceilometer"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:8000/v1", "region": "regionOne", "publicURL": "http://controller:8000/v1", "id": "7a7b036bea0846d699250a171ae6a75a", "internalURL": "http://controller:8000/v1"}], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:8776/v1/e799e85303374e7d970a504924000563", "region": "regionOne", "publicURL": "http://controller:8776/v1/e799e85303374e7d970a504924000563", "id": "bfe95408ca5d4325afb6a50dbf9d084f", "internalURL": "http://controller:8776/v1/e799e85303374e7d970a504924000563"}], "type": "volume", "name": "cinder"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:8004/v1/e799e85303374e7d970a504924000563", "region": "regionOne", "publicURL": "http://controller:8004/v1/e799e85303374e7d970a504924000563", "id": "0b7691f15c784c86b420d7656e3a1aaf", "internalURL": "http://controller:8004/v1/e799e85303374e7d970a504924000563"}], "type": "orchestration", "name": "heat"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:8080", "region": "regionOne", "publicURL": "http://controller:8080/v1/AUTH_e799e85303374e7d970a504924000563", "id": "3277007f9f05464982978f92161b583d", "internalURL": "http://controller:8080/v1/AUTH_e799e85303374e7d970a504924000563"}], "type": "object-store", "name": "swift"}, {"endpoints_links": [], "endpoints": [{"adminURL": "http://controller:35357/v2.0", "region": "regionOne", "publicURL": "http://controller:5000/v2.0", "id": "28dba8b96c294272b53914beea3cee7d", "internalURL": "http://controller:5000/v2.0"}], "type": "identity", "name": "keystone"}], "user": {"username": "demo", "roles_links": [], "id": "bf4366ba90074c1d9534d5e12b6629c1", "roles": [{"name": "heat_stack_owner"}, {"name": "_member_"}], "name": "demo"}, "metadata": {"is_admin": 0, "roles": ["186c9803a5124c95a0e58fbdbd89c2fb", "9fe2ff9ee4384b1894a90878d3e92bab"]}}}
_http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:182
2016-01-19 04:21:25.973 35343 DEBUG nova.api.openstack.wsgi [req-3d361159-6717-440b-81dd-84d3da4940cc None] Calling method '<bound method KeypairController.index of <nova.api.openstack.compute.contrib.keypairs.KeypairController object at 0x51c8e50>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:25.985 35343 INFO nova.osapi_compute.wsgi.server [req-3d361159-6717-440b-81dd-84d3da4940cc None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/os-keypairs HTTP/1.1" status: 200 len: 728 time: 0.0760050
2016-01-19 04:21:26.238 35343 DEBUG nova.api.openstack.wsgi [req-a710b2a6-84b5-4176-a493-f6125ff48284 None] Calling method '<bound method LimitsController.index of <nova.api.openstack.compute.limits.LimitsController object at 0x5069e90>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:26.274 35343 INFO nova.osapi_compute.wsgi.server [req-a710b2a6-84b5-4176-a493-f6125ff48284 None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/limits HTTP/1.1" status: 200 len: 708 time: 0.0399301
2016-01-19 04:21:34.796 35343 DEBUG nova.api.openstack.wsgi [req-77c14db8-fa0e-4ba7-92c8-c405d347ef03 None] Calling method '<bound method AvailabilityZoneController.index of <nova.api.openstack.compute.contrib.availability_zone.AvailabilityZoneController object at 0x51c42d0>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:34.855 35343 INFO nova.osapi_compute.wsgi.server [req-77c14db8-fa0e-4ba7-92c8-c405d347ef03 None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0631571
2016-01-19 04:21:34.864 35341 DEBUG nova.api.openstack.wsgi [req-a8d2e815-76bb-4c8a-9943-5548f4e145aa None] Calling method '<bound method Controller.detail of <nova.api.openstack.compute.flavors.Controller object at 0x5073490>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:34.907 35341 INFO nova.osapi_compute.wsgi.server [req-a8d2e815-76bb-4c8a-9943-5548f4e145aa None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0468411
2016-01-19 04:21:35.213 35341 DEBUG nova.api.openstack.wsgi [req-247db9db-4f85-4af1-8344-ac94917262d2 None] Calling method '<bound method ExtensionsController.index of <nova.api.openstack.extensions.ExtensionsController object at 0x51b9dd0>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:35.215 35341 INFO nova.osapi_compute.wsgi.server [req-247db9db-4f85-4af1-8344-ac94917262d2 None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/extensions HTTP/1.1" status: 200 len: 22227 time: 0.0066340
2016-01-19 04:21:35.245 35342 DEBUG nova.api.openstack.wsgi [req-bcaa01d3-6824-407a-944d-ed6e5ca8e0af None] Calling method '<bound method QuotaSetsController.show of <nova.api.openstack.compute.contrib.quotas.QuotaSetsController object at 0x51c9b10>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:35.258 35342 INFO nova.osapi_compute.wsgi.server [req-bcaa01d3-6824-407a-944d-ed6e5ca8e0af None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/os-quota-sets/e799e85303374e7d970a504924000563 HTTP/1.1" status: 200 len: 568 time: 0.0204470
2016-01-19 04:21:35.379 35342 DEBUG nova.api.openstack.wsgi [req-7b5cb80c-f7b2-4ec6-b173-b285189dd487 None] Calling method '<bound method Controller.detail of <nova.api.openstack.compute.servers.Controller object at 0x4e78310>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:35.380 35342 DEBUG nova.api.openstack.compute.servers [req-7b5cb80c-f7b2-4ec6-b173-b285189dd487 None] Removing options 'project_id' from query remove_invalid_options /usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py:1532
2016-01-19 04:21:35.381 35342 DEBUG nova.compute.api [req-7b5cb80c-f7b2-4ec6-b173-b285189dd487 None] Searching by: {'deleted': False, 'project_id': u'e799e85303374e7d970a504924000563'} get_all /usr/lib/python2.7/site-packages/nova/compute/api.py:1930
2016-01-19 04:21:35.432 35342 INFO nova.osapi_compute.wsgi.server [req-7b5cb80c-f7b2-4ec6-b173-b285189dd487 None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/servers/detail?project_id=e799e85303374e7d970a504924000563 HTTP/1.1" status: 200 len: 211 time: 0.0559390
2016-01-19 04:21:35.562 35343 DEBUG nova.api.openstack.wsgi [req-f82254db-319e-4fc2-8c23-99953f835285 None] Calling method '<bound method KeypairController.index of <nova.api.openstack.compute.contrib.keypairs.KeypairController object at 0x51c8e50>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:35.569 35343 INFO nova.osapi_compute.wsgi.server [req-f82254db-319e-4fc2-8c23-99953f835285 None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/os-keypairs HTTP/1.1" status: 200 len: 728 time: 0.0133822
2016-01-19 04:21:35.731 35342 DEBUG nova.api.openstack.wsgi [req-3ac804a6-42bd-47f5-895a-a3afd6d885e8 None] Action: 'create', calling method: <bound method Controller.create of <nova.api.openstack.compute.servers.Controller object at 0x4e78310>>, body: {"server": {"name": "aaabbb", "imageRef": "e046abb0-88a5-43bb-b791-615d20ad1099", "availability_zone": "nova", "key_name": "demo-key", "flavorRef": "1", "OS-DCF:diskConfig": "AUTO", "max_count": 1, "min_count": 1, "networks": [{"uuid": "8806c853-906a-462b-9729-63fbb813689e"}], "security_groups": [{"name": "default"}]}} _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:934
2016-01-19 04:21:35.770 35342 DEBUG glanceclient.common.http [req-3ac804a6-42bd-47f5-895a-a3afd6d885e8 ] curl -i -X HEAD -H 'X-Service-Catalog: [{"endpoints": [{"adminURL": "http://controller:8776/v2/e799e85303374e7d970a504924000563", "region": "regionOne", "id": "27a35d4c61b84ff29653965b4e02c1a1", "internalURL": "http://controller:8776/v2/e799e85303374e7d970a504924000563", "publicURL": "http://controller:8776/v2/e799e85303374e7d970a504924000563"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://controller:8776/v1/e799e85303374e7d970a504924000563", "region": "regionOne", "id": "bfe95408ca5d4325afb6a50dbf9d084f", "internalURL": "http://controller:8776/v1/e799e85303374e7d970a504924000563", "publicURL": "http://controller:8776/v1/e799e85303374e7d970a504924000563"}], "endpoints_links": [], "type": "volume", "name": "cinder"}]' -H 'X-Auth-Token: {SHA1}0fa67db516e0b569a72a4ea292bbdac40898eda7' -H 'Accept-Encoding: gzip, deflate' -H 'Connection: keep-alive' -H 'Accept: */*' -H 'X-Roles: heat_stack_owner,_member_' -H 'User-Agent: python-glanceclient' -H 'X-Tenant-Id: e799e85303374e7d970a504924000563' -H 'X-User-Id: bf4366ba90074c1d9534d5e12b6629c1' -H 'X-Identity-Status: Confirmed' -H 'Content-Type: application/octet-stream' http://controller:9292/v1/images/e046abb0-88a5-43bb-b791-615d20ad1099 log_curl_request /usr/lib/python2.7/site-packages/glanceclient/common/http.py:122
2016-01-19 04:21:35.940 35342 DEBUG glanceclient.common.http [req-3ac804a6-42bd-47f5-895a-a3afd6d885e8 ]
HTTP/1.1 200 OK
Content-Length: 0
X-Image-Meta-Id: e046abb0-88a5-43bb-b791-615d20ad1099
X-Image-Meta-Deleted: False
X-Image-Meta-Checksum: 133eae9fb1c98f45894a4e60d8736619
X-Image-Meta-Status: active
X-Image-Meta-Container_format: bare
X-Image-Meta-Protected: False
X-Image-Meta-Min_disk: 0
X-Image-Meta-Min_ram: 0
X-Image-Meta-Created_at: 2015-12-25T06:28:30
X-Image-Meta-Size: 13200896
Connection: keep-alive
Etag: 133eae9fb1c98f45894a4e60d8736619
X-Image-Meta-Is_public: True
Date: Tue, 19 Jan 2016 09:21:35 GMT
X-Image-Meta-Owner: cbae138daa8f48d7b332407018200468
X-Image-Meta-Updated_at: 2015-12-25T06:28:32
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-c3ec2125-ca7a-4cde-90d3-fd08aef823fa
X-Image-Meta-Disk_format: qcow2
X-Image-Meta-Name: cirros-0.3.3-x86_64
log_http_response /usr/lib/python2.7/site-packages/glanceclient/common/http.py:135
2016-01-19 04:21:35.942 35342 ERROR nova.api.openstack [req-3ac804a6-42bd-47f5-895a-a3afd6d885e8 None] Caught error: id
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack Traceback (most recent call last):
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 124, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return req.get_response(self.application)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack application, catch_exc_info=False)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return resp(environ, start_response)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 748, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return self._call_app(env, start_response)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 684, in _call_app
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return self._app(env, _fake_start_response)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return resp(environ, start_response)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return resp(environ, start_response)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack response = self.app(environ, start_response)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return resp(environ, start_response)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 910, in __call__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack content_type, body, accept)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 975, in _process_stack
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 1059, in dispatch
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack return method(req=request, **action_args)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 958, in create
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack check_server_group_quota=check_server_group_quota)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 131, in inner
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack rv = f(*args, **kwargs)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1457, in create
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack check_server_group_quota=check_server_group_quota)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1058, in _create_instance
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack image_id, boot_meta = self._get_image(context, image_href)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 712, in _get_image
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack image = self.image_api.get(context, image_href)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 89, in get
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack include_locations=include_locations)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 317, in show
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack include_locations=include_locations)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 491, in _translate_from_glance
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack include_locations=include_locations)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 553, in _extract_attributes
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack queued = getattr(image, 'status') == 'queued'
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 461, in __getattr__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack self.get()
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 479, in get
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack new = self.manager.get(self.id)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 464, in __getattr__
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack raise AttributeError(k)
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack AttributeError: id
2016-01-19 04:21:35.942 35342 TRACE nova.api.openstack
2016-01-19 04:21:35.945 35342 INFO nova.api.openstack [req-3ac804a6-42bd-47f5-895a-a3afd6d885e8 None] http://controller:8774/v2/e799e85303374e7d970a504924000563/servers returned with HTTP 500
2016-01-19 04:21:35.947 35342 DEBUG nova.api.openstack.wsgi [req-3ac804a6-42bd-47f5-895a-a3afd6d885e8 None] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:1201
2016-01-19 04:21:35.948 35342 INFO nova.osapi_compute.wsgi.server [req-3ac804a6-42bd-47f5-895a-a3afd6d885e8 None] 10.0.0.99 "POST /v2/e799e85303374e7d970a504924000563/servers HTTP/1.1" status: 500 len: 359 time: 0.2215679
2016-01-19 04:21:35.994 35343 DEBUG nova.api.openstack.wsgi [req-a4ba0690-0983-4ff6-bfeb-98a179ac1fce None] Calling method '<bound method Controller.detail of <nova.api.openstack.compute.servers.Controller object at 0x4e78310>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:35.995 35343 DEBUG nova.api.openstack.compute.servers [req-a4ba0690-0983-4ff6-bfeb-98a179ac1fce None] Removing options 'project_id, limit' from query remove_invalid_options /usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py:1532
2016-01-19 04:21:35.996 35343 DEBUG nova.compute.api [req-a4ba0690-0983-4ff6-bfeb-98a179ac1fce None] Searching by: {'deleted': False, 'project_id': u'e799e85303374e7d970a504924000563'} get_all /usr/lib/python2.7/site-packages/nova/compute/api.py:1930
2016-01-19 04:21:36.053 35343 INFO nova.osapi_compute.wsgi.server [req-a4ba0690-0983-4ff6-bfeb-98a179ac1fce None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/servers/detail?limit=21&project_id=e799e85303374e7d970a504924000563 HTTP/1.1" status: 200 len: 211 time: 0.0626550
2016-01-19 04:21:36.154 35342 DEBUG nova.api.openstack.wsgi [req-b2ded63b-8006-4938-b8d3-ed5cbb0b991d None] Calling method '<bound method LimitsController.index of <nova.api.openstack.compute.limits.LimitsController object at 0x5069e90>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:36.187 35342 INFO nova.osapi_compute.wsgi.server [req-b2ded63b-8006-4938-b8d3-ed5cbb0b991d None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0370102
2016-01-19 04:21:36.211 35342 DEBUG nova.api.openstack.wsgi [req-084fa0ea-94b9-426c-a61f-d11291fbebf9 None] Calling method '<bound method LimitsController.index of <nova.api.openstack.compute.limits.LimitsController object at 0x5069e90>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:937
2016-01-19 04:21:36.245 35342 INFO nova.osapi_compute.wsgi.server [req-084fa0ea-94b9-426c-a61f-d11291fbebf9 None] 10.0.0.99 "GET /v2/e799e85303374e7d970a504924000563/limits?reserved=1 HTTP/1.1" status: 200 len: 708 time: 0.0369301
服务运行正常:
[root@controller ~]# source admin-openrc.sh
[root@controller ~]# opens
openssl openstack-db openstack-service
openstack-config openstack-keystone-sample-data openstack-status
[root@controller ~]# opens
openssl openstack-db openstack-service
openstack-config openstack-keystone-sample-data openstack-status
[root@controller ~]# opens
openssl openstack-db openstack-service
openstack-config openstack-keystone-sample-data openstack-status
[root@controller ~]# openstack-status
== Nova services ==
openstack-nova-api: active
openstack-nova-cert: active
openstack-nova-compute: active
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-conductor: active
== Glance services ==
openstack-glance-api: active
openstack-glance-registry: active
== Keystone service ==
openstack-keystone: active
== Horizon service ==
openstack-dashboard: active
== neutron services ==
neutron-server: active
neutron-dhcp-agent: active
neutron-l3-agent: active
neutron-metadata-agent: active
neutron-lbaas-agent: inactive (disabled on boot)
neutron-openvswitch-agent: active
== Swift services ==
openstack-swift-proxy: active
openstack-swift-account: active
openstack-swift-container: active
openstack-swift-object: active
== Cinder services ==
openstack-cinder-api: active
openstack-cinder-scheduler: active
openstack-cinder-volume: active
openstack-cinder-backup: inactive (disabled on boot)
== Ceilometer services ==
openstack-ceilometer-api: active
openstack-ceilometer-central: active
openstack-ceilometer-compute: active
openstack-ceilometer-collector: active
openstack-ceilometer-alarm-notifier: active
openstack-ceilometer-alarm-evaluator: active
openstack-ceilometer-notification: active
== Heat services ==
openstack-heat-api: active
openstack-heat-api-cfn: active
openstack-heat-api-cloudwatch: inactive (disabled on boot)
openstack-heat-engine: active
== Support services ==
mysqld: inactive (disabled on boot)
libvirtd: active
openvswitch: active
dbus: active
target: active
rabbitmq-server: active
memcached: active
== Keystone users ==
+----------------------------------+------------+---------+----------------+
| id | name | enabled | email |
+----------------------------------+------------+---------+----------------+
| 9b02bb669c1e41fd99c62cf934405499 | admin | True | root@localhost |
| 9ebcf3ce7e844a2b80549292fb1a5600 | ceilometer | True | |
| 3bfa1b1e348349aca4d8d1a2b6dea7f8 | cinder | True | |
| bf4366ba90074c1d9534d5e12b6629c1 | demo | True | root@localhost |
| f1328201143d421195aaf9aac5d34494 | glance | True | |
| 719e57375b3042dd8ed9006d6da5d127 | heat | True | |
| 94b24d0287f54817b17ff2d9921663f9 | neutron | True | |
| 3699486e901344b990cdf3d8860e5736 | nova | True | |
| 16aa248952d2466aafc0b40cdd82d7d7 | swift | True | |
+----------------------------------+------------+---------+----------------+
== Glance images ==
+--------------------------------------+---------------------+-------------+------------------+----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+---------------------+-------------+------------------+----------+--------+
| e046abb0-88a5-43bb-b791-615d20ad1099 | cirros-0.3.3-x86_64 | qcow2 | bare | 13200896 | active |
+--------------------------------------+---------------------+-------------+------------------+----------+--------+
== Nova managed services ==
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | controller | internal | enabled | up | 2016-01-19T09:23:51.000000 | - |
| 2 | nova-consoleauth | controller | internal | enabled | up | 2016-01-19T09:23:52.000000 | - |
| 3 | nova-scheduler | controller | internal | enabled | up | 2016-01-19T09:23:52.000000 | - |
| 4 | nova-conductor | controller | internal | enabled | up | 2016-01-19T09:23:51.000000 | - |
| 5 | nova-compute | controller | nova | enabled | up | 2016-01-19T09:23:57.000000 | None |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+----------+------+
| ID | Label | Cidr |
+--------------------------------------+----------+------+
| 8806c853-906a-462b-9729-63fbb813689e | demo-net | - |
| 9472dd1c-ebad-4536-b292-9bb8b1f65434 | ext-net | - |
+--------------------------------------+----------+------+
== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
|