Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Using

curl http://git.openstack.org/cgit/openstack/keystone/plain/httpd/keystone.py?h=kilo-eol | tee /var/www/cgi-bin/keystone/main /var/www/cgi-bin/keystone/admin

seems to solve the issue.

But I have still an issue when launching the demo instance :

[root@controller nova]# neutron net-list
7d43ee10-baa1-4463-aaf0-f8f3b890a01a | ext-net  | 1744efc4-a135-4a4f-ac81-0dcbfef0657a XXXXXX 
dba911ce-0bed-4d6d-945e-a19789f36197 | demo-net | b8ed02e6-9cc4-4d82-9f81-2fc5191cdf73 192.168.1.0/24 

nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64 --nic net-id=dba911ce-0bed-4d6d-945e-a19789f36197 --security-group default --key-name demo-key demo-instance1

nova-api.log :

: 22486 time: 0.9127622
2016-07-25 17:06:06.464 21586 INFO nova.osapi_compute.wsgi.server [req-0418e4c6-b143-4bf6-bb5a-1c593c7324e5 97582299ac9e42aeb4377ff9224dc2d9 a7107abaece04e43adc2cd299d87e2b1 - - -] 10.0.0.25 "
len: 214 time: 0.0154979
2016-07-25 17:06:06.513 21586 INFO nova.osapi_compute.wsgi.server [req-03e6ab23-3faf-411b-baea-a4722dea203a 97582299ac9e42aeb4377ff9224dc2d9 a7107abaece04e43adc2cd299d87e2b1 - - -] 10.0.0.25 "
" status: 200 len: 1294 time: 0.0452380
2016-07-25 17:06:10.393 21585 INFO nova.osapi_compute.wsgi.server [req-59ebaf54-4a0d-478f-a7a1-7e5f131f1ff1 97582299ac9e42aeb4377ff9224dc2d9 a7107abaece04e43adc2cd299d87e2b1 - - -] 10.0.0.25 "
t=21 HTTP/1.1" status: 200 len: 211 time: 0.2834220
2016-07-25 17:10:21.823 21588 INFO nova.osapi_compute.wsgi.server [req-58e64ecd-4f9e-434c-85af-cfac303aa148 97582299ac9e42aeb4377ff9224dc2d9 a7107abaece04e43adc2cd299d87e2b1 - - -] 10.0.0.25 "
len: 889 time: 0.3874590
2016-07-25 17:11:07.121 21588 INFO nova.osapi_compute.wsgi.server [req-c348b49c-c80e-4eed-aabc-4979d4d02262 97582299ac9e42aeb4377ff9224dc2d9 a7107abaece04e43adc2cd299d87e2b1 - - -] 10.0.0.25 "
5 time: 0.3618941
2016-07-25 17:11:07.169 21588 ERROR nova.api.openstack [req-52bcf50c-b9a8-4b2d-a9fa-63e213fd2a83 97582299ac9e42aeb4377ff9224dc2d9 a7107abaece04e43adc2cd299d87e2b1 - - -] Caught error: id
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack Traceback (most recent call last):
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 125, in __call__
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     return req.get_response(self.application)
File Edit Options Buffers Tools Help                                                                                                                                                           
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     response = self.app(environ, start_response)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     return resp(environ, start_response)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 756, in __call__
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     content_type, body, accept)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 821, in _process_stack
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 911, in dispatch
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     return method(req=request, **action_args)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 83, in show
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     image = self._image_api.get(context, id)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 93, in get
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     show_deleted=show_deleted)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 309, in show
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     include_locations=include_locations)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 483, in _translate_from_glance
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     include_locations=include_locations)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 545, in _extract_attributes
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     queued = getattr(image, 'status') == 'queued'
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 491, in __getattr__
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     self.get()
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 509, in get
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     new = self.manager.get(self.id)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 494, in __getattr__
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack     raise AttributeError(k)
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack AttributeError: id
2016-07-25 17:11:07.169 21588 TRACE nova.api.openstack
2016-07-25 17:11:07.173 21588 INFO nova.api.openstack [req-52bcf50c-b9a8-4b2d-a9fa-63e213fd2a83 97582299ac9e42aeb4377ff9224dc2d9 a7107abaece04e43adc2cd299d87e2b1 - - -] http://controller:877\
4/v2/a7107abaece04e43adc2cd299d87e2b1/images/b7195f8b-2b3e-4376-b12b-4988df8e4d45 returned with HTTP 500