Closed LucidNeko closed 4 years ago
As a follow up to this I just ran
$ juju destroy-model -y -t0 test
Destroying modelERROR timeout after 0s timeout
$ juju destroy-model -y -t0 test2
Destroying modelERROR timeout after 0s timeout
test and test2 being the models for mediawiki and mysql respectively.
Both models are now gone, but juju gui is even more broken. Breaks in visually the same way (but on a different error) by simply going to /gui/u/admin
or /gui/u/admin/gitlab
(a valid model).
I'm speculating that running destroy-model
on a model with a relation to a SAAS application leaves some hanging resources?
init-pkg.js:34 TypeError: Cannot read property 'id' of undefined
at init-pkg.js:70
at Array.reduce (<anonymous>)
at u._generateModels (init-pkg.js:70)
at u.render (init-pkg.js:70)
at Ma (init-pkg.js:34)
at Pa (init-pkg.js:34)
at ja (init-pkg.js:34)
at Pr (init-pkg.js:34)
at Mr (init-pkg.js:34)
at ei (init-pkg.js:34)
init-pkg.js:70 Uncaught TypeError: Cannot read property 'id' of undefined
at init-pkg.js:70
at Array.reduce (<anonymous>)
at u._generateModels (init-pkg.js:70)
at u.render (init-pkg.js:70)
at Ma (init-pkg.js:34)
at Pa (init-pkg.js:34)
at ja (init-pkg.js:34)
at Pr (init-pkg.js:34)
at Mr (init-pkg.js:34)
at ei (init-pkg.js:34)
Hi @LucidNeko thanks for reporting this issue.
Unfortunately the current GUI does not support cross model relations. We're working on a new Dashboard to replace this one and we don't have plans to add support for CMR to this GUI.
As far as the second issue. It appears that it's still trying to parse CMR data. Juju must still be sending some invalid data to it. Sorry I don't have a better answer for you at this time but we are working hard on getting the new Dashboard ready to go for early in the new year.
Cloud Provider: https://catalystcloud.nz (openstack)
Application layout is cs:mediawiki-19 in one model, and cs:mysql-58 in another. With the mysql model offering, and the mediawiki model consuming the db relation.
Slug: /gui/u/admin/test/i/inspector/mediawiki Issue: Clicking relations on the inspector for mediawiki causes part of the UI to dissapear.
This happens in
_generateRelationLabel
because the far end of the relation is undefined, and as such has no serviceName.It doesn't look like juju gui supports SAAS at all, so an understandable bug. Is adding SAAS support in the works? This might be better as a feature request.