Glance registry service fails to start ubuntu 12.04 + Foslom
I'm trying to get a lab instance of Folsom up and running in my lab, I'm following the documentation here
http://
I have identify configured fine, glance did not error during install, but when i try and start glance, I get these entries in /var/log/
-------
2012-10-02 15:46:52 1871 DEBUG glance.
2012-10-02 15:47:06 1883 DEBUG glance.
2012-10-02 15:47:06 1889 DEBUG glance.
2012-10-02 15:47:06 1895 DEBUG glance.
2012-10-02 15:47:06 1901 DEBUG glance.
2012-10-02 15:47:07 1907 DEBUG glance.
2012-10-02 15:47:07 1913 DEBUG glance.
2012-10-02 15:47:07 1919 DEBUG glance.
2012-10-02 15:47:07 1925 DEBUG glance.
2012-10-02 15:47:07 1931 DEBUG glance.
2012-10-02 15:47:07 1937 DEBUG glance.
2012-10-02 15:47:08 1943 DEBUG glance.
the service then stops
if i try and run glance index i get this error
:/home/inteladmin# glance index
ID Name Disk Format Container Format Size
-------
Request returned failure status.
None
HTTPInternalSer
the api log shows the following:
2012-10-02 15:56:21 1125 DEBUG glance.
2012-10-02 15:56:21 1125 DEBUG glance.
2012-10-02 15:56:21 1125 DEBUG glance.
2012-10-02 15:56:21 1125 DEBUG glance.
2012-10-02 15:56:21 DEBUG glance.api.policy [6a50a200-
2012-10-02 15:56:21 DEBUG glance.
2012-10-02 15:56:21 ERROR glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
2012-10-02 15:56:21 1125 TRACE glance.
I've checked credentials multiple times in all the locations specified in the documentation and have also dumped and recreated the database without success
any guidance or help greatly appreciated
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- steve A
- Solved:
- 2012-10-16
- Last query:
- 2012-10-16
- Last reply:
steve A (dafridgie) said : | #1 |
Ok, update
I ran glance registry in debug mode and got this reponse
root@iswubu33:
ERROR: Unable to load glance-registry from configuration file /etc/glance/
Got: LookupError("No section 'glance-registry' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/glance/
ERROR: Could not bind to 172.28.137.65:9292 after trying for 30 seconds
so i then edited glance-
# Use this pipeline for no auth - DEFAULT
[pipeline:
pipeline = registryapp <<<< moved this
[pipeline:
pipeline = authtoken auth-context context <<<<< from here
[app:registryapp]
paste.app_factory = glance.
[filter:context]
paste.filter_
[filter:
paste.filter_
[filter:authtoken]
paste.filter_
admin_tenant_name = service
admin_user = glance
admin_password = glance
now the registry service starts
however,
glance index still returns errors
root@iswubu33:
ID Name Disk Format Container Format Size
-------
/usr/lib/
req.response.
/usr/lib/
req.response.
/usr/lib/
req.response.
Request returned failure status.
None
HTTPInternalSer
anyone have the same problem ?
Anne Gentle (annegentle) said : | #2 |
Hi Steve, I'm updating the documentation now as I believe the conf and ini files are different for Folsom. I'm using these as the starting point:
https:/
Sorry this is not quite the answer - I'm having a different problem where glance registry can't read the glance-
steve A (dafridgie) said : | #3 |
thanks Anne,
my problem has been resolved via a packaging update by Ubuntu, looks like there was some packaging issues that were resolved