we have noticed strange issue with charm refresh on juju 3+ deployment. There seems to be this new feature that tracks whether there is new charm revision available in the channel. Not sure how often this update is pulled (might take an hour or few for it to pop up). If there is a new revision found charm revision number gets highlighted in juju status.
The core of the issue is that once the highlight appears we are not able to run refresh anymore.
There is a wrench (a juju dev tool embedded in juju) which will do it. This will set the interval to 10 seconds, it defaults to 24 hours, with a jitter which may make it longer.
It’s easier in a single juju controller config than ha:
Add a file to the controller /var/lib/juju/wrench/charmrevision. This will be a new directory.
The contents of the file will be shortinterval.
Restart jujud on the controller: sudo systemctl restart jujud-machine-0.