Juju 3 - cannot refresh charms after revision tracking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Heather Lanigan | ||
3.0 |
Fix Released
|
High
|
Heather Lanigan | ||
3.1 |
Fix Released
|
High
|
Heather Lanigan |
Bug Description
we have noticed strange issue with charm refresh on Juju 3+ deployment. Tested with multiple versions of juju controller (3+), e.g. 3.0.3 and 3.1.0.
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. Instead an error is returned:
```
ubuntu@
ERROR already exists
```
To reproduce this one has to deploy older version of a charm and then wait for juju to fetch revisions and mark that the newer one exists.
description: | updated |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
The charm revision pieces has been around since the beginning of juju 2.x. What has changed in juju 3 is async download of charm and surrounding logic.
I'm surprised we're only seeing this in one place as the charm revision data is gathered, and potentially updated every 24 hours.