juju / juju-gui

Juju-GUI is a web-based GUI for Juju <https://jujucharms.com/>.
Other
182 stars 85 forks source link

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

Open mdavis-xyz opened 5 years ago

mdavis-xyz commented 5 years ago

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

hatched commented 5 years ago

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.

clagom commented 5 years ago

@hatched any update?

hatched commented 5 years ago

Nope