Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474064 - [openstack] glance-api failed to start
Summary: [openstack] glance-api failed to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL: https://bugs.launchpad.net/gentoo/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 17:11 UTC by Magistr
Modified: 2013-06-30 23:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
grizzly patch (glance-gbug-474064-grizzly.patch,2.32 KB, patch)
2013-06-30 23:51 UTC, Matthew Thode ( prometheanfire )
Details | Diff
folsom patch (glance-gbug-474064-folsom.patch,2.30 KB, patch)
2013-06-30 23:51 UTC, Matthew Thode ( prometheanfire )
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Magistr 2013-06-21 17:11:02 UTC
glance-api failed to start, cause of python-exec wrapper in bin dir 

glance-api --config-dir /etc/glance/
2013-06-21 14:44:13.624 10297 ERROR glance.common.config [-] Unable to load glance-api-python2.7-keystone from configuration file /etc/glance/glance-registry-paste.ini.
Got: LookupError("No section 'glance-api-python2.7-keystone' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/glance/glance-registry-paste.ini",)
ERROR: Unable to load glance-api-python2.7-keystone from configuration file /etc/glance/glance-registry-paste.ini.
Got: LookupError("No section 'glance-api-python2.7-keystone' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-06-24 19:42:33 UTC
were you able to work around this?
Comment 2 Magistr 2013-06-25 02:22:55 UTC
work around is durty hack 
remove symlink glance-api (point to python-exec) and rename glance-api-python27-keystone to glance-api
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-06-25 21:03:28 UTC
It looks like glance is inspecting the name of the file it was called from (obvious I know).  I'm working with upstream to know if this is intended behavior.
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-06-30 23:47:46 UTC
fix is in tree as r2 of both 2012.2.4 and 2013.1.2
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-06-30 23:51:00 UTC
Created attachment 352354 [details, diff]
grizzly patch
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-06-30 23:51:17 UTC
Created attachment 352356 [details, diff]
folsom patch