[RFE] Add a new API endpoint /service

Bug #1686670 reported by Madhuri Kumari
This bug report is a duplicate of:  Bug #1526759: [RFE] Add service management API. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
New
Undecided
Madhuri Kumari

Bug Description

Currently in Ironic, there is no way to check the status of conductors running. So this proposal is to add a new API endpoint /services which show similar info like:

+---------------------+---------------------+----+----------+--------------------------------------------------------------------+--------+
| created_at | updated_at | id | hostname | drivers | online |
+---------------------+---------------------+----+----------+--------------------------------------------------------------------+--------+
| 2017-02-09 07:25:01 | 2017-04-27 10:08:52 | 1 | devstack | ["fake", "agent_ipmitool", "pxe_ssh", "agent_ssh", "pxe_ipmitool"] | 1 |
+---------------------+---------------------+----+----------+--------------------------------------------------------------------+--------+

Use case for this new API:

1. FWIW I'd indeed like to have it, at least to report which conductor is managing which node currently (or at least was recently) - right now there is a problem for operators to find on which conductor to grep for logs of a failed deployment :) from pas-ha
2. my personal opinion is that it might be interesting to have just to be able to health check Ironic from sambetts

IRC logs: http://eavesdrop.openstack.org/irclogs/%23openstack-ironic/%23openstack-ironic.2017-04-27.log.html#t2017-04-27T10:00:30

Changed in ironic:
assignee: nobody → Madhuri Kumari (madhuri-rai07)
Revision history for this message
Ruby Loo (rloo) wrote :

Thanks Madhuri. Might want to consolidate this with https://bugs.launchpad.net/ironic/+bug/1616878.

Revision history for this message
Madhuri Kumari (madhuri-rai07) wrote :

Thanks Ruby. We can mark this bug as duplicate. I don't have authority to change.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.