Bug 958411

Summary: Nova: 'nova instance-action-list' table is not sorted by the order of action occurrence.
Product: [Community] RDO Reporter: Omri Hochman <ohochman>
Component: openstack-novaAssignee: RHOS Maint <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Gabriel Szasz <gszasz>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bsettle, kchamart, ndipanov, ohochman, rbryant
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-novaclient-2.15.0-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Omri Hochman 2013-05-01 11:14:07 UTC
Nova: 'nova instance-action-list' table is not sorted by the order of action occurrence.

Environment :
---------------
python-nova-2013.1-2.el6.noarch
openstack-nova-compute-2013.1-2.el6.noarch
openstack-nova-cert-2013.1-2.el6.noarch
openstack-nova-network-2013.1-2.el6.noarch
openstack-nova-common-2013.1-2.el6.noarch
python-novaclient-2.13.0-1.el6.noarch
openstack-nova-api-2013.1-2.el6.noarch


Description:
-------------
The "Actions" that displayed when performing 'nova instance-action-list' are not
sorted by the right time and order of the actual 'action occurrence'. the user will have to check each action separately to understand what went wrong in case of an error.


Scenario:
----------
- Create an instace. 
- Perform several of nova actions on the instance ( for example: boot / pause / unpause /suspend / resume/ rescue /unrescue , etc..) 
- Check - nova instance-action-list <server>

Results: 
---------
the 'instance-action-list' table not reflecting the right order of the actuall action occurrence.

Comment 1 Kashyap Chamarthy 2014-01-15 14:29:27 UTC
Upstream launchpad Blueprint
https://blueprints.launchpad.net/python-novaclient/+spec/instance-action-list-output

Merged in April 2013:

 https://review.openstack.org/#/c/27251/


Omri, can you please ensure you're testing with a version that the above fix?
And, if it's still failing, then it's a possible regression.

Comment 2 Kashyap Chamarthy 2014-01-15 14:36:31 UTC
Larsks confirms (thanks!) the fix is in  python-novaclient-2.15.0-1.fc20.noarch

And, mburns confirmed it's also available - http://repos.fedorapeople.org/repos/openstack/openstack-havana/epel-6/

QE, please test with this version and provide feedback.

Comment 3 Ami Jeain 2014-06-03 09:03:14 UTC
plz verify in latest rhos 5 puddle and mark it as properly