host-list should print state of service

Bug #1076521 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Wishlist
liuan

Bug Description

Using "host-list" I can't see if a service is up and running or if it's offline.

For example the compute service on fig is stopped.

admin:~ # nova host-list
+----------------+-----------+
| host_name | service |
+----------------+-----------+
| fig | compute |
| nova-scheduler | scheduler |
| plum | compute |
+----------------+-----------+

Would be nice to have the same output as of nova-manage service list. There I can see the last contact of the service and the zone.

Binary Host Zone Status State Updated_At
nova-compute fig internal enabled XXX 2012-11-08 19:15:57
nova-scheduler nova-scheduler internal enabled :-) 2012-11-08 19:19:10
nova-compute plum internal enabled :-) 2012-11-08 19:19:07

Revision history for this message
Yaguang Tang (heut2008) wrote :

this is remains to be implemented by nova. then python-novaclient can show this.

affects: python-novaclient → nova
Changed in nova:
status: New → Confirmed
importance: Undecided → Wishlist
liuan (liuanaqi)
Changed in nova:
assignee: nobody → liuan (liuanaqi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/41228

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
Tushar Kalra (tkay) wrote :

You can use `nova service-list` to gather the service status information.

Joe Gordon (jogo)
Changed in nova:
status: In Progress → Invalid
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.