gnocchi-upgrade returns 0 on failure
Bug #1526810 reported by
Julien Danjou
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If gnocchi-upgrade fails to connect to the indexer, the upgrade fails but it just prints:
2015-12-
And exists with 0.
This seems to be a problem with oslo_db facade that just does not raise anything when .connect() is called.
We probably need to switch to the new facade code too.
Changed in gnocchi: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in gnocchi: | |
assignee: | nobody → heha (zhanghanqun) |
Changed in gnocchi: | |
milestone: | none → 2.0.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Tested and it's fixed, probably by the new engine facace code from oslo.db.