MAAS OpenAPI docs are not available in air-gapped mode

Bug #1999579 reported by Bill Wear
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Jack Lloyd-Walters
maas-ui
Invalid
Undecided
Unassigned

Bug Description

To reproduce:

1. Install MAAS 3.3 RC1 or greater.

2. Take the MAAS server into air-gapped mode (i.e., "localhost" still working, but no ext. N/W).

3. Access the "local documentation" from the link in the bottom fringe of MAAS.

4. Click on "API documentation" OR replace the "maas-documentation-25.html" with "../api/docs"

5. A partial page will come up with some circles and boxes, but no text and no OpenAPI output.

Have confirmed with Peter M. that the OpenAPI docs require swagger components that are not stored locally and must be fetched online. The spec gave no indication that the OpenAPI docs had to work in air-gapped mode.

Tags: ui

Related branches

Bill Wear (billwear)
tags: added: ui
Revision history for this message
Adam Collard (adam-collard) wrote :

Not a UI issue, that's code in our templates

Changed in maas-ui:
status: New → Invalid
Changed in maas:
assignee: nobody → Jack Lloyd-Walters (lloydwaltersj)
status: New → In Progress
importance: Undecided → High
milestone: none → 3.3.0
Changed in maas:
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.3.0 → 3.3.0-rc2
Changed in maas:
milestone: 3.3.0-rc2 → 3.4.0
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.0-beta1
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
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.