Closed hloeung closed 4 years ago
FYI, the charm clears some, but not all, in particular 'content_cache.nginx.installed'.
Even removed all the clear_flag() calls in the charm's upgrade_charm() and confirmed that those flags are gone:
Feels like the sqlite database containing charm state got destroyed. Did it happen to get packaged in the built charm? That would do it.
Ah, that's exactly what it is. Didn't run 'make clean' and .unit-state.db was still around.
Hi,
Deploying the content-cache charm. On upgrade-charm, it seems all the content_cache.* flags are removed? See:
https://pastebin.ubuntu.com/p/hjWGdtz6fC/