Juju GUI won't deploy along with juju bootstrap

I recently started playing with Juju on LXD containers to deploy the Kubernetes Core bundle. But it appears that when I bootstrap my LXD controller under focal series Juju GUI was never deployed. Then I have another problem with Juju Dashboard, all images appear as broken links both on Firefox and Chromium, according to the browser logs Juju GUI can’t retrieve the images from api.jujucharms.com with the HTTP code 404 NOT FOUND.

lxc network list
+--------+----------+---------+-----------------+------+-------------+---------+---------+
|  NAME  |   TYPE   | MANAGED |      IPV4       | IPV6 | DESCRIPTION | USED BY |  STATE  |
+--------+----------+---------+-----------------+------+-------------+---------+---------+
| lxdbr0 | bridge   | YES     | 10.228.229.1/24 | none |             | 4       | CREATED |
+--------+----------+---------+-----------------+------+-------------+---------+---------+
| wlp2s0 | physical | NO      |                 |      |             | 0       |         |
+--------+----------+---------+-----------------+------+-------------+---------+---------+

sudo lxc list
[sudo] password for aimproxy: 
+---------------+---------+-----------------------+------+-----------+-----------+
|     NAME      |  STATE  |         IPV4          | IPV6 |   TYPE    | SNAPSHOTS |
+---------------+---------+-----------------------+------+-----------+-----------+
| juju-5f6cc5-0 | RUNNING | 10.228.229.190 (eth0) |      | CONTAINER | 0         |
|               |         | 10.186.243.1 (lxdbr0) |      |           |           |
|               |         | 10.1.77.0 (flannel.1) |      |           |           |
+---------------+---------+-----------------------+------+-----------+-----------+
| juju-5f6cc5-1 | RUNNING | 10.228.229.142 (eth0) |      | CONTAINER | 0         |
|               |         | 10.1.30.1 (cni0)      |      |           |           |
|               |         | 10.1.30.0 (flannel.1) |      |           |           |
+---------------+---------+-----------------------+------+-----------+-----------+
| juju-07a21f-0 | RUNNING | 10.228.229.220 (eth0) |      | CONTAINER | 0         |
+---------------+---------+-----------------------+------+-----------+-----------+

Juju Dashboard or Juju GUI both have the same outcome:
Dashboard 0.8.1 for controller "lxc" is enabled at:
  https://10.228.229.220:17070/dashboard
Your login credential is:
  username: admin
  password: 097ce220519b2b81789c3cc395a7ecea
1 Like

Hey @aimproxy2010 , I will ping the GUI team to take a look into this issue :wink:

@anthonydillon, maybe you know something about this?

Hi @aimproxy2010 this is a known issue that unfortunately hit us unexpectedly with the entire decommissioning of the old API. I have landed a fix on the dashboard which I will work to release soon.

2 Likes

Yes @anthonydillon , this solves one problem, but are Juju GUI and Dashboard the same thing? Because according to the streams there are two JSON files one for GUI with release 2.15.3 and one for dashboard with release 0.8.1! Index of /juju/gui/streams/v1 When I try to patch with the 2.15.3 tar.bz from streams it gives me an error saying that it can’t find the index.html!

aimproxy@s340-14iml:~$ juju upgrade-gui '/home/aimproxy/Downloads/jujugui-    2.15.3.tar.bz2' 
using local Juju Dashboard archive
uploading Juju Dashboard 2.15.3
upload completed
Juju Dashboard switched to version 2.15.3

aimproxy@s340-14iml:~$ juju gui
ERROR Juju Dashboard is not available: Get https://10.55.251.169:17070/dashboard/: cannot read index file: open /var/lib/juju/gui/1f79774bb93188b97ffad30da5b695a0c03057e7c96fcc86dc9d9e3274a3de48/index.html: no such file or directory