persistent storage is broken - "postgresql_stop() failed"
Bug #1302494 reported by
Stuart Bishop
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql (Juju Charms Collection) |
Fix Released
|
Critical
|
Liam Young |
Bug Description
Persistent storage attempts to shutdown PostgreSQL before migrating data. This fails because it is expecting an error code from postgresql_stop(), but postgresql_stop does not return anything (it raises an exception on failure).
if not postgresql_stop():
return False
Fix is to not check the error code, just catch or propagate the exception.
Keep the fix minimal, as this will conflict with the storage-
Related branches
lp:~stub/charms/precise/postgresql/bug-1302494-fix-persistent-storage
- Liam Young (community): Approve
-
Diff: 14 lines (+3/-1)1 file modifiedhooks/hooks.py (+3/-1)
Changed in postgresql (Juju Charms Collection): | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in postgresql (Juju Charms Collection): | |
assignee: | nobody → Liam Young (gnuoy) |
status: | Triaged → Fix Released |
To post a comment you must log in.