Comment 22 for bug 2008509

Revision history for this message
Yang Kelvin Liu (kelvin.liu) wrote (last edit ):

Hi Trent,
- the fix was landed in 2.9 which means all 2.9+ will have the fix;
- #2008248 should be fixed as well(let me know if it still has problem);
- what you could do is to purge the unit state in Mongo:
db.unitstates.update({_id: "<model-uuid>:u#<primary-unit>#charm"}, {$unset: {"uniter-state": ""}})
db.unitstates.update({_id: "<model-uuid>:u#<subordinate-unit>#charm"}, {$unset: {"uniter-state": ""}})
# then wait unitl those errors get cleared or just restart agents.
juju upgrade-series 0 prepare jammy --force
juju upgrade-series 0 complete

- yeah, probably 2.9.45