juju wont tell you what channel a charm is on and ERRORs out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Achilleas Anagnostopoulos |
Bug Description
I was trying to upgrade nextcloud using my latest release, but charmstore seems no to find it.
I first thought is was a delay for the release to be indexed..
Juju threw its usual ERROR as below...
$ juju upgrade-charm nextcloud --path=
ERROR cannot resolve URL "cs:~erik-
$ charm list
cs:~erik-
$ juju upgrade-charm nextcloud --path=
ERROR cannot resolve URL "cs:~erik-
$ juju upgrade-charm nextcloud --revision 5
ERROR cannot resolve URL "cs:~erik-
.... so I opened up a thread to discuss it on discourse: https:/
It then turns out that juju tracks which channel the charm is at in my model. I had to discover that by running the command juju upgrade-charm nextcloud --revision 5 --debug, which revealed a API url where I could see the channel name "edge" for the currently installed charm for my model.
... so, I ran instead the command:
juju upgrade-charm nextcloud --revision 5 --channel stable
... which then worked and the charm comes into place.
== What to do about this? ==
I think is should be a better way of telling me what channel the charm is from since its not visible in the juju status, nor getting informed by the juju upgrade-charm command failure.
Changed in juju: | |
milestone: | none → 2.8.1 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | nobody → Achilleas Anagnostopoulos (achilleasa) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
PR https:/ /github. com/juju/ juju/pull/ 11763 contains a fix for the 2.8 branch