juju upgrade-charm requires --switch for local charms
Bug #1571861 reported by
Casey Marshall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
Latest master (5f385be). Steps to reproduce:
1. Deploy a local charm (you can get gogs with `charm pull cs:~cmars/gogs` if you like):
$ juju deploy ~/trusty/gogs
2. Try to upgrade it
$ juju upgrade-charm gogs --force-units
ERROR unknown schema for charm URL "local:trusty/gogs"
You can workaround by using --switch, but this probably isn't the intended UX:
$ juju upgrade-charm gogs --force-units --switch ~/trusty/gogs
Added charm "local:
Changed in juju-core: | |
status: | Triaged → Fix Committed |
tags: | added: tech-debt |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta5 → none |
milestone: | none → 2.0-beta5 |
To post a comment you must log in.
I don't know if you need to change the local charm contents or not to get upgrade-charm to realize that it has work to do... If you do, a `make clean all` in gogs will do the trick.