URI in API description wrong when accessing machine via alternative interface
Bug #1059645 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Gavin Panella | ||
1.2 |
Fix Released
|
High
|
Gavin Panella | ||
maas (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
The API description obtained from my location, via the VPN into the test lab, contains URIs like http://
Possible solutions:
* maas-cli should override the netloc,
* The API description should not contain netloc.
* The server should describe itself according to the address by which is was accessed.
Related branches
lp:~allenap/maas/api-uri-bug-1059645
- Raphaël Badin (community): Approve
-
Diff: 332 lines (+163/-16)6 files modifiedsrc/maasserver/api.py (+20/-4)
src/maasserver/apidoc.py (+3/-8)
src/maasserver/tests/test_api.py (+55/-0)
src/maasserver/tests/test_apidoc.py (+4/-4)
src/maasserver/utils/__init__.py (+18/-0)
src/maasserver/utils/tests/test_utils.py (+63/-0)
lp:~allenap/maas/api-uri-bug-1059645-for-1.2
- Gavin Panella (community): Approve
-
Diff: 332 lines (+163/-16)6 files modifiedsrc/maasserver/api.py (+20/-4)
src/maasserver/apidoc.py (+3/-8)
src/maasserver/tests/test_api.py (+55/-0)
src/maasserver/tests/test_apidoc.py (+4/-4)
src/maasserver/utils/__init__.py (+18/-0)
src/maasserver/utils/tests/test_utils.py (+63/-0)
lp:~andreserl/maas/quantal_update_changelog
- Andres Rodriguez (community): Approve
-
Diff: 31 lines (+23/-1)1 file modifieddebian/changelog (+23/-1)
Changed in maas: | |
importance: | Critical → High |
milestone: | none → 12.10 |
Changed in maas: | |
milestone: | 12.10 → 12.10-stabilization |
Changed in maas: | |
milestone: | 12.10-stabilization → none |
Changed in maas: | |
assignee: | nobody → Gavin Panella (allenap) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
Changed in maas (Ubuntu Quantal): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Raring): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Quantal): | |
status: | New → Triaged |
Changed in maas (Ubuntu Raring): | |
status: | New → Triaged |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Was this fixed?