SQLAlchemy registry database connection error not logged
Bug #844618 reported by
Édouard Thuleau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Jay Pipes | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I tried to install Glance rev 210 on Ubuntu natty.
I had Glance trunk ppa in my source list.
I configured Glance to use a mysql server (database 'glance' created) and enabled log (verbose = True and debug = True).
When I tried to start 'glance-registry', it couldn't connect to database. But no log appeared and nothing explained that it cannot find MySQLdb library. I found the problem by started 'glance-registry' with 'strace' debugging utility.
So, Glance log must specifie it cannot load a missing library and perhaps add 'python-mysqldb' dependence with glance package.
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
Hi!
What was the in your glance-registry log?
Anything at all to do with import error for Python-MySQLDb?
Thanks!
-jay