juju-gui icon indicating copy to clipboard operation
juju-gui copied to clipboard

"charm details" for local charm tries to fetch from store

Open mdavis-xyz opened this issue 5 years ago • 3 comments

Steps to reproduce

  1. Deploy a charm from a local directory
  2. open the GUI
  3. Click on that charm
  4. Click on "Charm details"

expected behavior

Details for that charm are shown

actual behavior

An error message appears.

cannot fetch the entity: no matching charm or bundle for cs:bionic/contrail-controller-0

Where contrail-controller is the name of my charm. (No idea where the -0 came from).

It seems the GUI doesn't know which charms were deployed from the store and which are from a local file.

juju-local-cs

mdavis-xyz avatar Apr 16 '19 05:04 mdavis-xyz

Thanks for reporting this issue. It appears that the schema for local charms has changed and the GUI handling of them was never updated. (They used to be prefixed with local:)

FYI: Juju will internally version your local charms so that in the event you push the same charm again it'll increase the version by 1. so -0, -1, etc.

hatched avatar Apr 16 '19 22:04 hatched

@hatched any update?

clagom avatar Jul 02 '19 13:07 clagom

Nope

hatched avatar Jul 02 '19 18:07 hatched