[2.2,API, performance] Compact API request to get a limited set of information, such as hostname and system_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
This is a feature request.
At this moment, to get all pairs of hostname and system_id, `maas admin machines read` is used with maas-cli. However, the request takes a long time, for example, 22 seconds with 30 nodes, 1.5MB and 40,361 lines. With over 100 nodes, it takes more than a minute actually. Because it dumps detailed information including disk and network interfaces.
It would be nice if MAAS had an API request to get a limited set of information (compact mode?).
$ time maas admin machines read -d | wc -l
200 OK
-Content-
Content-
Content-
X-Frame-
X-Maas-
40361
real 0m22.781s
user 0m2.372s
sys 0m0.112s
Changed in maas: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
summary: |
- [2.1] Compact API request to get a limited set of information, such as - hostname and system_id + [2.2,API, performance] Compact API request to get a limited set of + information, such as hostname and system_id |
tags: | added: performance |
Changed in maas: | |
milestone: | none → 2.3.0 |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.x |
This bug has not seen any activity in the last 6 months, so it is being automatically closed.
If you are still experiencing this issue, please feel free to re-open.
MAAS Team