[RFE] Expose API node introspection state
Bug #1665664 reported by
milan k
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic Inspector |
Fix Released
|
Wishlist
|
Seamanhanshan | ||
Python client for Ironic Inspector |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Inspector doesn't expose the node introspection state through the API.
This should be a read-only information enhancing current GET@/v1/
{
error: <Error string>/null,
finished: True/False,
finished_at: <ISO8601 date>/null,
started_at: <ISO8601 date>,
*state: starting/
uuid: <node_uuid>
}
Changed in ironic-inspector: | |
assignee: | nobody → Seamanhanshan (yaojun) |
status: | New → In Progress |
tags: | added: rfe |
Changed in ironic-inspector: | |
importance: | Undecided → Wishlist |
Changed in ironic-inspector: | |
assignee: | Seamanhanshan (yaojun) → milan k (vetrisko) |
Changed in ironic-inspector: | |
assignee: | milan k (vetrisko) → Seamanhanshan (yaojun) |
To post a comment you must log in.
it should be a issue, but we can get the introspection state via ironic API implicitly.
For example: ------- ------- ------- ------- ----+-- ------+ ------- ------- -+----- ------- -+----- ------- ------- -+----- ------- -+ ------- ------- ------- ------- ----+-- ------+ ------- ------- -+----- ------- -+----- ------- ------- -+----- ------- -+ e8cf-4202- a9c7-5bc4f95f2a 24 | BM-132 | None | power on | inspecting | False | ------- ------- ------- ------- ----+-- ------+ ------- ------- -+----- ------- -+----- ------- ------- -+----- ------- -+
$ openstack baremetal node list
+------
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+------
| 399c52ce-
+------
$ openstack baremetal introspection status 399c52ce- e8cf-4202- a9c7-5bc4f95f2a 24 ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ 10.254. 10.200: 5050/v1/ introspection/ 399c52ce- e8cf-4202- a9c7-5bc4f95f2a 24', u'rel': u'self'}] | e8cf-4202- a9c7-5bc4f95f2a 24 | ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+
+------
| Field | Value |
+------
| error | None |
| finished | False |
| finished_at | None |
| links | [{u'href': u'http://
| started_at | 2017-02-21T01:11:20 |
| uuid | 399c52ce-
+------