glance-registry returns error 500 when started as a service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm running glance-2013.1.2.
If i start glance-registry as a service, i am getting 2 processes (despite the workers=1, is that intended?):
oot 3027 1 6 15:37 ? 00:00:00 /usr/bin/python2.7 /usr/bin/
root 3034 3027 1 15:37 ? 00:00:00 /usr/bin/python2.7 /usr/bin/
r
and calls to the API fail :
# glance image-list
Request returned failure status.
Traceback (most recent call last):
File "/usr/lib64/
result = self.applicatio
File "/usr/lib64/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib64/
return self.func(req, *args, **kwargs)
File "/usr/lib64/
response = req.get_
File "/usr/lib64/
application, catch_exc_
File "/usr/lib64/
app_iter = application(
File "/usr/lib64/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib64/
return self.func(req, *args, **kwargs)
File "/usr/lib64/
response = req.get_
File "/usr/lib64/
application, catch_exc_
File "/usr/lib64/
app_iter = application(
File "/usr/lib64/
return app(environ, start_response)
File "/usr/lib64/
return resp(environ, start_response)
File "/usr/lib64/
response = self.app(environ, start_response)
File "/usr/lib64/
return resp(environ, start_response)
File "/usr/lib64/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib64/
return self.func(req, *args, **kwargs)
File "/usr/lib64/
request, **action_args)
File "/usr/lib64/
return method(*args, **kwargs)
File "/usr/lib64/
images = registry.
File "/usr/lib64/
return c.get_images_
File "/usr/lib64/
res = self.do_
File "/usr/lib64/
**kwargs)
File "/usr/lib64/
return func(self, *args, **kwargs)
File "/usr/lib64/
headers=
File "/usr/lib64/
return func(self, method, url, body, headers)
File "/usr/lib64/
raise exception.
ServerError: The request returned 500 Internal Server Error.
(HTTP 500)
If i start the process manually ( using /usr/bin/python2.7 /usr/bin/
Changed in glance: | |
status: | New → Incomplete |
status: | Incomplete → Invalid |
Extra detail : i'm running glance on Gentoo.