juju / juju-gui

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

"status" button in GUI takes user to incomplete broken page Edit #3901

Closed mitechie closed 5 years ago

mitechie commented 5 years ago

Copied from: https://bugs.launchpad.net/juju/+bug/1820559

Steps to reproduce

Expected result

I can see a status of the deployment. I can see what has finished deploying, what is still in progress, what has failed and why.

Actual result

I still see the graph of connected nodes. But all text has disappeared. Clicking on any node highlights that circle, but no text appears.

There are no navigation buttons or information buttons anywhere.

I cannot see the status of anything. I still have no idea why my deployment failed.

The nodes are orange, which means deployment is in progress. But MAAS has been showing "deployment failed" for the last hour. So I can't trust the colours. I cannot see any logs to debug what went wrong.

No error messages or debug info is printed in the browser console. juju-status-printscreen

hatched commented 5 years ago

This one appears to be related to a JS error in the view layer. Without the browser logs we may be unable to determine the true cause of it.

mdavis-xyz commented 5 years ago

I'm the person who made that original launchpad issue. What logs do you need?

Nothing appears in the browser console. (console.log output)

hatched commented 5 years ago

Hmm interesting, yes usually there should be issues logged into the browser console. I'll see what I can do about reproducing this locally.

mdavis-xyz commented 5 years ago

When I see this, selecting another model and then selecting the original does not fix the problem.

Refreshing the page does fix the problem.

So I think the issue is about some stale data.

clagom commented 5 years ago

@hatched Is this still relevant?

hatched commented 5 years ago

I'm not able to reproduce this. Closing for now. If we can find steps to reproduce this then we can re-open.