MAAS OpenAPI docs are not available in air-gapped mode
Bug #1999579 reported by
Bill Wear
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-documenta
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.
Related branches
~lloydwaltersj/maas:fix-offline-oapi-docs
Merged
into
maas:master
- MAAS Lander: Approve
- Christian Grabowski: Approve
-
Diff: 72 lines (+25/-4)2 files modifiedMakefile (+18/-1)
src/maasserver/templates/openapi.html (+7/-3)
tags: | added: ui |
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 |
Changed in maas: | |
milestone: | 3.3.0 → 3.3.0-rc2 |
Changed in maas: | |
milestone: | 3.3.0-rc2 → 3.4.0 |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Not a UI issue, that's code in our templates