no way to get power parameters in api
Bug #1233158 reported by
Scott Moser
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Jason Hobbs |
Bug Description
I raised this issue in bug 1185160. Clearly I should have raised 2 bugs, for 2 different issues (owner and ipmi data). I wish I had.
Maas knows the IPMI information, I'm admin, I need to see that IMPI information so I can debug or investigate something. Going to the web UI is simply not acceptable in my opinion.
I'd like to be able to program/script something that does:
ipmi-console node-287cbc5a-
That would drop me into a shell from using ipmi-tool. Ie:
ipmitool -H 192.168.1.201 -U maas -P PASSWORD shell
Related branches
lp:~jason-hobbs/maas/add-power-parameters-api
- Julian Edwards (community): Approve
-
Diff: 76 lines (+47/-0)3 files modifiedsrc/maasserver/api.py (+14/-0)
src/maasserver/tests/test_api_node.py (+32/-0)
src/maasserver/tests/test_apidoc.py (+1/-0)
summary: |
- no way to get IPMI data in api + no way to get power parameters in api |
Changed in maas: | |
assignee: | nobody → Jason Hobbs (jason-hobbs) |
status: | Triaged → Fix Committed |
milestone: | none → 1.6.1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I didn't fix this in your original bug because it's not easy to fix, sadly. IIRC there was no easy way to get hold of the requesting user in the api call to determine whether to return the extra data.