traceback is suppressed when deploy.loadapp fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Armando Migliaccio | ||
Havana |
Fix Released
|
Medium
|
Armando Migliaccio |
Bug Description
I saw this error when attempt to start a relatively recent quantum (setup.py --version says "2013.2.
ERROR: Unable to load quantum from configuration file /etc/quantum/
After running quantum-server through strace I determined that the error was due to missing mysql client libraries:
...
open(
open(
open(
open(
munmap(
munmap(
close(4) = 0
close(3) = 0
write(2, "ERROR: Unable to load quantum fr"..., 95ERROR: Unable to load quantum from configuration file /usr/local/
write(2, "\n", 1 ) = 1
rt_
exit_group(1)
The error message is completely bogus and the lack of traceback made it difficult to debug.
This is a regression from commit 6869821 which was to fix related bug 1004062
Changed in neutron: | |
assignee: | Salvatore Orlando (salvatore-orlando) → Armando Migliaccio (armando-migliaccio) |
Changed in neutron: | |
milestone: | none → icehouse-1 |
importance: | Undecided → Low |
importance: | Low → Medium |
tags: |
added: havana-backport-potential removed: havana-rc-potential |
Changed in neutron: | |
status: | In Progress → Fix Committed |
tags: |
added: neutron-core removed: havana-backport-potential |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
tags: | removed: in-stable-havana |
Changed in neutron: | |
milestone: | icehouse-1 → 2014.1 |
This happened to me again today. I had this line in api-paste.ini (note the incorrect capitalisation)
paste.filter_ factory = neutron. auth:neutronKey stoneContext. factory
and got this unhelpful error message:
ERROR: Unable to load quantum from configuration file /usr/local/ csi/etc/ neutron/ api-paste. ini.
Instead of this helpful one:
2013-08-22 23:56:33,190 (neutron): CRITICAL log logging_excepthook <module 'neutron.auth' from '/usr/local/ csi/share/ csi-neutron. venv/lib/ python2. 6/site- packages/ neutron/ auth.py' > has no 'neutronKeyston eContext' attribute