juju / juju-gui

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

The entity details are not loading #4017

Closed anthonydillon closed 5 years ago

anthonydillon commented 5 years ago

Production works fine but getting an error loading an entity details on develop.

To reproduce:

anthonydillon commented 5 years ago

Error I get is: cannot fetch the entity no entity data returned, can you access the charmstore?

anthonydillon commented 5 years ago

It was still loading revision-info. It's working now by pulling the latest. Doh...

eperezf commented 5 years ago

Hi! I am getting the same issue along with several 401 (Unauthorized) calls to the jujucharms API.

Also I'm getting

cannot retrieve default cloud name: no such request - method Cloud(5).DefaultCloud is not implemented

which is referenced in #4000

I am running Juju 2.6.6 and GUI 2.14.0.

eperezf commented 5 years ago

Removing the revision-info from the request to the API seems to fix the problem. But the stable version 2.6.6 (GUI v2.14.0) is still including it. Is there any release soon?

anthonydillon commented 5 years ago

@eperezf We are working on allowing revision-info requests from the API. This should resolve older GUI versions.

eperezf commented 5 years ago

I saw the most recent version of juju GUI is 2.14.1 but when doing juju upgrade-gui it says the most recent stable version is 2.14.0. Is there any way of updating to 2.14.1? Or that version does not fix the issue?

hatched commented 5 years ago

Sorry you're running into this @eperezf, I'll be creating a new GUI release for non-JAAS controllers today which will contain this fix. I'll comment here when it's ready to go.

hatched commented 5 years ago

A new version of the GUI has been released. 2.15.0 will now be available when you run juju upgrade-gui or bootstrap a new controller.

eperezf commented 5 years ago

Upgraded to 2.15.0. Problem gone. Still getting some 401's from the API but I can see the bundles.

Screen Shot 2019-08-23 at 2 02 53 AM
hatched commented 5 years ago

Glad to hear it's working for you. It looks like some of the icon paths need to be updated. Thanks