API description hash is not stable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Alberto Donato |
Bug Description
The hash for the API description isn't stable and can change even without server restart.
This causes the CLI to report that there was an API change.
Example:
$ for _ in $(seq 1 20); do curl -s http://
"a85381a216cb15
"a85381a216cb15
"f699b709aa80b5
"a85381a216cb15
"5596c41b09f394
"5596c41b09f394
"5596c41b09f394
"5596c41b09f394
"5596c41b09f394
"3c817ddf8cc4a2
"f699b709aa80b5
"a85381a216cb15
"f699b709aa80b5
"5596c41b09f394
"f699b709aa80b5
"3c817ddf8cc4a2
"a85381a216cb15
"a85381a216cb15
"5596c41b09f394
"a85381a216cb15
Related branches
- Björn Tillenius: Approve
- MAAS Lander: Approve
-
Diff: 333 lines (+87/-58)5 files modifiedsrc/maasserver/api/doc.py (+43/-33)
src/maasserver/api/doc_handler.py (+3/-2)
src/maasserver/forms/settings.py (+14/-17)
src/maasserver/forms/tests/test_settings.py (+26/-5)
src/maasserver/urls_api.py (+1/-1)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.1.0 → 3.1.0-rc1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |