Glance NotAuthorized with keystone on Ubuntu 11.10
Hi:
I am a newbie for openstack. Now I am installing glance with keystone.
keystone use ppa:keystone-
2012.1~
glance use ppa:glance-
glance 2012.1~
glance-api 2012.1~
glance-common 2012.1~
glance-registry 2012.1~
python-glance 2012.1~
After installed the keystone, use the following command to verify the keystone is ok.
curl -d '{"auth": {"tenantName": "novaproj", "passwordCreden
After installed the glance, and I modified the glance-api.conf / glance-
(1) If I add the [paste_deploy] section and set "flavor = keystone" into glance-api.conf and glance-
Feb 22 13:34:03 ubuntu43 kernel: [66753.705250] init: glance-api main process ended, respawning
Feb 22 13:34:03 ubuntu43 kernel: [66754.034396] init: glance-api main process (18062) terminated with status 1
Feb 22 13:34:03 ubuntu43 kernel: [66754.034451] init: glance-api respawning too fast, stopped
Feb 22 13:35:57 ubuntu43 kernel: [66868.110600] init: glance-registry main process ended, respawning
Feb 22 13:35:57 ubuntu43 kernel: [66868.426263] init: glance-registry main process (18211) terminated with status 1
Feb 22 13:35:57 ubuntu43 kernel: [66868.426333] init: glance-registry respawning too fast, stopped
(2) If I don't add the [paste_deploy] section, the glance-api and glance-registry service will startup normally. But If I issue the
command "glance details -A 999888777666", I will get the following error message:
Failed to show details. Got error:
Internal Server error: Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = self.process_
File "/usr/lib/
raise exception.
NotAuthorized: You are not authorized to complete this action.
Is there anybody could give me any suggestion to solve these two problems?
Thanks in advance!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu glance Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by wdhwang
Can you help with this problem?
Provide an answer of your own, or ask wdhwang for more information if necessary.