juju charm-resources is not working for charmhub charms

Bug #1965305 reported by Jorge Merlino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Heather Lanigan

Bug Description

When juju charm-resources is run on a charmhub charm it returns an error:

$ juju charm-resources etcd --channel latest/stable --debug
...
ERROR charm repository for source "ch" not supported (not supported)
10:23:32 DEBUG cmd supercommand.go:537 error stack:
charm repository for source "ch" not supported (not supported)
/build/snapcraft-juju-35d6cf/parts/juju/src/rpc/client.go:178:
/build/snapcraft-juju-35d6cf/parts/juju/src/api/apiclient.go:1252:
/build/snapcraft-juju-35d6cf/parts/juju/src/api/client/charms/client.go:221:
/build/snapcraft-juju-35d6cf/parts/juju/src/cmd/juju/resource/charmresources.go:291:
/build/snapcraft-juju-35d6cf/parts/juju/src/cmd/juju/resource/charmresources.go:194:

But it works for charmstore charms:

$ juju charm-resources cs:~containers/etcd --channel stable
Resource Revision
core 0
etcd 3
snapshot 0

Tested in juju 2.9.26-ubuntu-amd64

Changed in juju:
importance: Undecided → Medium
status: New → Triaged
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Heather Lanigan (hmlanigan)
milestone: none → 2.9.27
Changed in juju:
milestone: 2.9.27 → 2.9.28
Revision history for this message
Heather Lanigan (hmlanigan) wrote :
Changed in juju:
status: In Progress → Fix Committed
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.