Magnum should provide command for listing complete information of services.

Bug #1607234 reported by rajiv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
In Progress
Low
rajiv
python-magnumclient
Fix Released
Undecided
rajiv

Bug Description

Currently, magnum service-list show very limited options

openstack$ magnum service-list
+----+-----------+------------------+-------+
| id | host | binary | state |
+----+-----------+------------------+-------+
| 1 | localhost | magnum-conductor | up |
+----+-----------+------------------+-------+

however database has a lot more information.

mysql> select * from magnum_service;
+---------------------+---------------------+----+--------------+-----------+------------------+----------+-----------------+---------------------+-------------+
| created_at | updated_at | id | report_count | host | binary | disabled | disabled_reason | last_seen_up | forced_down |
+---------------------+---------------------+----+--------------+-----------+------------------+----------+-----------------+---------------------+-------------+
| 2016-06-28 09:10:23 | 2016-07-28 07:08:06 | 1 | 42229 | localhost | magnum-conductor | 0 | NULL | 2016-07-28 07:08:06 | 0 |
+---------------------+---------------------+----+--------------+-----------+------------------+----------+-----------------+---------------------+-------------+
1 row in set (0.00 sec)

I think we can do it following ways,

--> we should update "magnum service-list" to list all the information of service.
--> we should add "magnum service-show" to list all the information of service.

rajiv (rajiv-kumar)
Changed in magnum:
assignee: nobody → rajiv (rajiv-kumar)
hongbin (hongbin034)
Changed in magnum:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

Changed in magnum:
status: Triaged → In Progress
rajiv (rajiv-kumar)
Changed in python-magnumclient:
assignee: nobody → rajiv (rajiv-kumar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-magnumclient (master)

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

Changed in python-magnumclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-magnumclient (master)

Reviewed: https://review.openstack.org/349811
Committed: https://git.openstack.org/cgit/openstack/python-magnumclient/commit/?id=41563dc1620309149945565071de9d159ce58f9b
Submitter: Jenkins
Branch: master

commit 41563dc1620309149945565071de9d159ce58f9b
Author: Rajiv Kumar <email address hidden>
Date: Tue Aug 2 11:28:14 2016 +0530

    Enabled magnum client to display detailed information

    Enabled magnum client to display following information
     - disabled
     - disabled_reason
     - created_at
     - updated_at

    disabled field is not returned by the magnum server, but magnum
    server code will be modified for, bug #1607228. Server will be
    returning this field after fix of mentioned bug.

    Change-Id: I5bab76bf1fa476394c287ddc781f43bca2e5f035
    Closes-bug: #1607234

Changed in python-magnumclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-magnumclient 2.3.0

This issue was fixed in the openstack/python-magnumclient 2.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to magnum (master)

Reviewed: https://review.openstack.org/363565
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=298f3a30b0b4eeb86ded36263bc0ba97785bcaa4
Submitter: Jenkins
Branch: master

commit 298f3a30b0b4eeb86ded36263bc0ba97785bcaa4
Author: Rajiv Kumar <email address hidden>
Date: Wed Aug 31 15:59:06 2016 +0530

    Update service-list output in quickstart

    Update sample output of "magnum service-list" in quickstart guide
    to show detailed information.

    Change-Id: Ia1a889d58f101fdaa58d7fd7f03cbefd0a142ab3
    Closes-Bug: #1618817
    Related-bug: #1607234

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Adrian Otto (<email address hidden>) on branch: master
Review: https://review.openstack.org/349377
Reason: Marking this as abandoned due to >30 days of inactivity. You are welcome to un-abandon this and submit a revision, but it's too stale for reviewers to consider it for merge.

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.