[trunk] WebUI unavailable due to new version of AngularJS

Bug #1607403 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Blake Rouse

Bug Description

A new version of AngularJS was made available in Yakkety. This new version dropped Ubuntu delta, and now is build-depending on universe packages (node-uglify). This could be the reason that's impacting MAAS.

On Yakkety, when we navigate to any of the following tabs - Nodes/DNS/Networks, we see the following error:

Connection lost, reconnecting...Unable to connect to: ws://192.168.100.10/MAAS/ws

It's notable that these tabs are all implemented in AgularJS and the other ones that do work use YUI.

If we look at regiond.log then as soon as we navigate to one of those tabs we start seeing:

2016-07-28T15:54:12+0100 [_GenericHTTPChannelProtocol,60,127.0.0.1] Opening connection with IPv4Address(TCP, '127.0.0.1', 44518)
2016-07-28T15:54:12+0100 [_GenericHTTPChannelProtocol,60,127.0.0.1] Closing connection: <STATUSES=PROTOCOL_ERROR> ('Invalid CSRF token.')
2016-07-28T15:54:17+0100 [_GenericHTTPChannelProtocol,70,127.0.0.1] Opening connection with IPv4Address(TCP, '127.0.0.1', 44524)
2016-07-28T15:54:17+0100 [_GenericHTTPChannelProtocol,70,127.0.0.1] Closing connection: <STATUSES=PROTOCOL_ERROR> ('Invalid CSRF token.')
2016-07-28T15:54:22+0100 [_GenericHTTPChannelProtocol,71,127.0.0.1] Opening connection with IPv4Address(TCP, '127.0.0.1', 44528)
2016-07-28T15:54:22+0100 [_GenericHTTPChannelProtocol,71,127.0.0.1] Closing connection: <STATUSES=PROTOCOL_ERROR> ('Invalid CSRF token.')
2016-07-28T15:54:27+0100 [_GenericHTTPChannelProtocol,61,127.0.0.1] Opening connection with IPv4Address(TCP, '127.0.0.1', 44532)
2016-07-28T15:54:27+0100 [_GenericHTTPChannelProtocol,61,127.0.0.1] Closing connection: <STATUSES=PROTOCOL_ERROR> ('Invalid CSRF token.')

summary: - Connection lost, reconnecting... unable to connect to ws://... shown
- when browsing Node/DNS/Networks pages on Yakkety
+ [trunk] WebUI unavailable due to new version of AngularJS
description: updated
Changed in maas:
status: New → Fix Committed
milestone: none → 2.0.1
milestone: 2.0.1 → 2.1.0
no longer affects: angular.js (Ubuntu)
Changed in maas:
importance: Undecided → Medium
importance: Medium → Critical
Changed in maas:
status: Fix Committed → Fix Released
Changed in maas:
assignee: nobody → Blake Rouse (blake-rouse)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.