event-list is not sorted by id

Bug #1211482 reported by Clint Byrum
This bug report is a duplicate of:  Bug #1209506: heat event list sorted incorrect. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Triaged
Medium
Unassigned

Bug Description

$ heat event-list overcloud
+---------------------+----+------------------------+--------------------+----------------------+
| logical_resource_id | id | resource_status_reason | resource_status | event_time |
+---------------------+----+------------------------+--------------------+----------------------+
| notcompute | 1 | state changed | CREATE_IN_PROGRESS | 2013-08-12T19:21:11Z |
| AccessPolicy | 2 | state changed | CREATE_IN_PROGRESS | 2013-08-12T19:21:14Z |
| AccessPolicy | 3 | state changed | CREATE_COMPLETE | 2013-08-12T19:21:15Z |
| User | 4 | state changed | CREATE_IN_PROGRESS | 2013-08-12T19:21:15Z |
| Key | 6 | state changed | CREATE_IN_PROGRESS | 2013-08-12T19:21:18Z |
| User | 5 | state changed | CREATE_COMPLETE | 2013-08-12T19:21:18Z |
| Key | 7 | state changed | CREATE_COMPLETE | 2013-08-12T19:21:20Z |
| NovaCompute0 | 11 | state changed | CREATE_IN_PROGRESS | 2013-08-12T19:30:05Z |
| notcompute | 8 | state changed | CREATE_COMPLETE | 2013-08-12T19:30:05Z |
| notcomputeConfig | 10 | state changed | CREATE_COMPLETE | 2013-08-12T19:30:05Z |
| notcomputeConfig | 9 | state changed | CREATE_IN_PROGRESS | 2013-08-12T19:30:05Z |
+---------------------+----+------------------------+--------------------+----------------------+

That is confusing. An event log should always be in event order by default.

Revision history for this message
Steve Baker (steve-stevebaker) wrote :

The unreleased python-heatclient fix for this is here
https://review.openstack.org/#/c/40809/

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.