2.9-rc12 fails to refresh --switch between different charm sources

Bug #1925803 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Achilleas Anagnostopoulos

Bug Description

$ cd testcharms/charm-hub/charms/juju-qa-test-v2
$ charmcraft build

$ juju deploy ./juju-qa-test-v2.charm juju-qa-test
$ juju refresh juju-qa-test --switch juju-qa-test
ERROR origin source "local" with schema not valid

Fails in: https://github.com/juju/juju/blob/88f48af220bf76cbdcd070ddb8f2dbb33ff12666/apiserver/facades/client/charms/client.go#L567-L577

This code is used by both `juju deploy` and `juju refresh`, only when adding --switch to `juju refresh` does it potentially not apply.

description: updated
Revision history for this message
Achilleas Anagnostopoulos (achilleasa) wrote :
Changed in juju:
assignee: nobody → Achilleas Anagnostopoulos (achilleasa)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
milestone: 2.9.1 → 2.9.2
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.