Problem with boostrap - juju-gui not deployed

Hi all,

I have problem from 10 of april 2020 with juju bootrastap localhost lxd-controller
Installed lxd 4.0.0
installed juju 2.7.5-bionic-amd64

bootstrap create juju lxd-controller, but not juju-gui. juju-gui deployment is skipped during bootstrap with message:

07:47:17 INFO juju.provider.lxd environ_broker.go:52 started instance “juju-bf0326-0”
07:47:17 INFO cmd bootstrap.go:250 - juju-bf0326-0 (arch=amd64)
07:47:17 INFO juju.environs.bootstrap bootstrap.go:856 newest version: 2.7.5
07:47:17 INFO juju.environs.bootstrap bootstrap.go:871 picked bootstrap agent binary version: 2.7.5
07:47:17 INFO cmd bootstrap.go:557 Installing Juju agent on bootstrap instance
07:47:20 DEBUG juju.environs.simplestreams simplestreams.go:457 skipping index “https://streams.canonical.com/juju/gui/streams/v1/index.sjson” because of missing information: “content-download” data not found
07:47:20 INFO cmd bootstrap.go:675 Unable to fetch Juju GUI info: error fetching simplestreams metadata: “content-download” data not found

problem is with “index.sjson” because of missing information: “content-download” data not found

My small investigation on streams:
on streams was made changes at 09-Apr-2020 on all relevant files.

in file index.sjson . Now path is targeted
to devel sqjson , not to release
“path”: “streams/v1/com.canonical.streams-devel-gui.sjson”

and if I was compare content ad size betwen
com.canonical.streams-devel-gui.sjson
and
com.canonical.streams-released-gui.sjson

there has different content and size :
com.canonical.streams-devel-gui.sjson 09-Apr-2020 20:55 3.7K
com.canonical.streams-released-gui.sjson 09-Apr-2020 20:55 20K

so this can be a reason for problems with deployment juju-giu in bootstrap process?

Any help o workaround?

Thank you.

Best regards

Jan

Hi all,

mo working workaround is:
after bootstrap wo juju-gui, dowload release jujugui-2.15.0.tar.bz2 (from github or streams)

after this, upgrade-gui:
jujuadmin@juju:~$ juju upgrade-gui ./jujugui-2.15.0.tar.bz2
using local Juju GUI archive
uploading Juju GUI 2.15.0
upload completed
Juju GUI switched to version 2.15.0

check gui:
jujuadmin@juju:~$ juju gui
GUI 2.15.0 for model “admin/default” is enabled at:
https://:17070/gui/u/admin/default
Your login credential is:
username: admin
password: xxxxxxxxxxxxxx

@hatch is this fallout from recent dashboard updates?

Thanks for bringing this to our attention! It appears that there was a bad update of the streams index file. I’ll see what I can do about reverting that change asap.

This issue has been resolved. If you run bootstrap again it should work as expected.

Just so you know we’re going to be replacing the GUI with a new Dashboard in the near future and I’d like to know how you use the current GUI and any features you’d like to see in the new Dashboard. Feel free to send me a direct message if you wouldn’t mind.

than you

Best regards

Jan