Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

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

Open
mdavis-xyz opened this issue Apr 16, 2019 · 3 comments
Open

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

mdavis-xyz opened this issue Apr 16, 2019 · 3 comments

Comments

@mdavis-xyz
Copy link

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
Copy link
Contributor

hatched commented Apr 16, 2019

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
Copy link

clagom commented Jul 2, 2019

@hatched any update?

@hatched
Copy link
Contributor

hatched commented Jul 2, 2019

Nope

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants