'cluster_id' column not in 'openstack cluster event list'

Bug #1641900 reported by XueFeng Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Committed
Medium
XueFeng Liu

Bug Description

'cluster_id' column show in 'senlin event-list',but not in 'openstack cluster event list'.'cluster_id' is a filters key, we'd better to show this to help set 'cluster_id' filters key value.

 openstack cluster event list --limit 5
+----------+---------------------+----------+----------+-----------+---------------+-----------+---------------------+-------+
| id | generated_at | obj_type | obj_id | obj_name | action | status | status_reason | level |
+----------+---------------------+----------+----------+-----------+---------------+-----------+---------------------+-------+
| f945c8cf | 2016-11-10T12:14:55 | CLUSTER | 8a78b66f | mycluster | CLUSTER_CHECK | START | The action is being | INFO |
| | +00:00 | | | | | | processed. | |
| 84a8fc72 | 2016-11-10T12:14:56 | NODE | 827b503f | mynode1 | NODE_CHECK | START | The action is being | INFO |
| | +00:00 | | | | | | processed. | |
| a77031d4 | 2016-11-10T12:14:57 | NODE | 827b503f | mynode1 | NODE_CHECK | SUCCEEDED | Node status is | INFO |
| | +00:00 | | | | | | ACTIVE. | |
| 44d8f01f | 2016-11-10T12:14:59 | CLUSTER | 8a78b66f | mycluster | CLUSTER_CHECK | SUCCEEDED | Cluster checking | INFO |
| | +00:00 | | | | | | completed. | |
| c47ef9be | 2016-11-10T12:15:55 | CLUSTER | 8a78b66f | mycluster | CLUSTER_CHECK | START | The action is being | INFO |
| | +00:00 | | | | | | processed. | |
+----------+---------------------+----------+----------+-----------+---------------+-----------+---------------------+-------+

root@tecs:/home/openstack/senlin# senlin event-list -l 5
WARNING (shell) "senlin event-list" is deprecated and will be removed by Apr 2017, please use "openstack cluster event list" instead.
+----------+---------------------------+----------+----------+-----------+----------------+-----------+-------+------------+
| id | timestamp | obj_type | obj_id | obj_name | action | status | level | cluster_id |
+----------+---------------------------+----------+----------+-----------+----------------+-----------+-------+------------+
| 09537d3a | 2016-11-12T02:38:42+00:00 | CLUSTER | f23ff00c | mycluster | CLUSTER_CREATE | START | INFO | f23ff00c |
| 14f63e87 | 2016-11-12T02:40:31+00:00 | NODE | 8422bd48 | mynode1 | NODE_DELETE | START | INFO | f23ff00c |
| 6d4eddce | 2016-11-12T02:39:15+00:00 | NODE | 8422bd48 | mynode1 | NODE_CREATE | FAILED | ERROR | f23ff00c |
| d48467fc | 2016-11-12T02:38:42+00:00 | CLUSTER | f23ff00c | mycluster | CLUSTER_CREATE | SUCCEEDED | INFO | f23ff00c |
| f2994e79 | 2016-11-12T02:39:09+00:00 | NODE | 8422bd48 | mynode1 | NODE_CREATE | START | INFO | f23ff00c |
+----------+---------------------------+----------+----------+-----------+----------------+-----------+-------+------------+

Changed in senlin:
assignee: nobody → XueFeng Liu (jonnary-liu)
status: New → In Progress
description: updated
description: updated
Changed in senlin:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-senlinclient 1.1.0

This issue was fixed in the openstack/python-senlinclient 1.1.0 release.

Qiming Teng (tengqim)
Changed in senlin:
importance: Undecided → Medium
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.