RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 958083 - Nova: Instance Action Tracking "nova backup" and "nova create-Image" cannot be seen using <nova instance-action-list> .
Summary: Nova: Instance Action Tracking "nova backup" and "nova create-Image" cannot b...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: RDO
Classification: Community
Component: openstack-nova
Version: unspecified
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: GA
: Havana
Assignee: Omri Hochman
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-30 10:52 UTC by Omri Hochman
Modified: 2015-06-04 21:51 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-18 14:38:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Omri Hochman 2013-04-30 10:52:14 UTC
Nova: Instance Action Tracking "nova backup" and "nova image-create" cannot be seen using <nova  instance-action-list> .

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


Scenario: 
---------
1) Create an instance. 
2) Perform 'nova backup' on that instance.
3) Perform 'nova image-create' on that instance.
4) Attempt to track the instance actions <nova instance-action-list>

Results:
--------
The actions "nova backup" and "nova create-Image" are not recorded
and cannot be seen using <nova  instance-action-list> .

- couldn't find a record for those actions in DB either.
 mysql> SELECT * FROM instance_actions ;

Comment 1 Kashyap Chamarthy 2013-12-09 13:47:38 UTC
Can reproduce this one with Havana, RDO bits.

Version info:

$ rpm -qa | grep -i nova
openstack-nova-api-2013.2-2.fc20.noarch
openstack-nova-cert-2013.2-2.fc20.noarch
openstack-nova-cells-2013.2-2.fc20.noarch
openstack-nova-common-2013.2-2.fc20.noarch
openstack-nova-novncproxy-2013.2-2.fc20.noarch
openstack-nova-console-2013.2-2.fc20.noarch
python-nova-2013.2-2.fc20.noarch
openstack-nova-objectstore-2013.2-2.fc20.noarch
openstack-nova-network-2013.2-2.fc20.noarch
openstack-nova-2013.2-2.fc20.noarch
python-novaclient-2.15.0-1.fc20.noarch
openstack-nova-scheduler-2013.2-2.fc20.noarch
openstack-nova-conductor-2013.2-2.fc20.noarch
openstack-nova-compute-2013.2-2.fc20.noarch

Test:
===========
$ nova list
+--------------------------------------+---------------------+---------+------------+-------------+--------------------------------+
| ID                                   | Name                | Status  | Task State | Power State | Networks                       |
+--------------------------------------+---------------------+---------+------------+-------------+--------------------------------+
| aa4f0894-9828-4310-bb38-f529b28adb33 | cirros-12net-guest1 | SHUTOFF | None       | Shutdown    | 12net=12.0.0.2, 192.169.142.12 |
| af169342-777f-4b42-aee0-36c89115f093 | cirros-guest90      | ACTIVE  | None       | Running     | int=30.0.0.2, 192.169.142.11   |
+--------------------------------------+---------------------+---------+------------+-------------+--------------------------------+
===========
$ nova backup cirros-guest90 backup-of-cirros-guest90 weekly 1
===========
$ echo $?
0
===========
$ nova list
+--------------------------------------+---------------------+---------+------------+-------------+--------------------------------+
| ID                                   | Name                | Status  | Task State | Power State | Networks                       |
+--------------------------------------+---------------------+---------+------------+-------------+--------------------------------+
| aa4f0894-9828-4310-bb38-f529b28adb33 | cirros-12net-guest1 | SHUTOFF | None       | Shutdown    | 12net=12.0.0.2, 192.169.142.12 |
| af169342-777f-4b42-aee0-36c89115f093 | cirros-guest90      | ACTIVE  | None       | Running     | int=30.0.0.2, 192.169.142.11   |
+--------------------------------------+---------------------+---------+------------+-------------+--------------------------------+
===========
$ nova image-create cirros-guest90 snap1-cirros-guest90
===========
$ echo $?
0
===========
$ nova instance-action-list cirros-guest90
+--------+------------------------------------------+---------+----------------------------+
| Action | Request_ID                               | Message | Start_Time                 |
+--------+------------------------------------------+---------+----------------------------+
| create | req-8616b85a-84e3-47f6-a0f7-6d027ff7ee8c | None    | 2013-12-05T11:56:32.000000 |
| stop   | req-8f37c437-c389-4595-920a-7559405fe199 | None    | 2013-12-09T11:11:17.000000 |
| start  | req-100c668d-c86d-4c3d-ae15-bd7b5d3fb692 | None    | 2013-12-09T11:18:10.000000 |
+--------+------------------------------------------+---------+----------------------------+
$ 
===========

Comment 2 Kashyap Chamarthy 2013-12-16 15:37:35 UTC
[Trying to triage RDO bugs. . .]

Nova maintainers think this is a reasonable request?

Comment 3 Stephen Gordon 2014-05-22 15:16:47 UTC
It seems reasonable but I think this needs to be moved/reported upstream.

Comment 4 Kashyap Chamarthy 2014-05-26 06:00:54 UTC
Stephen, makes sense to report upstream.

Omri, since you filed the original bug, can you please clone/file the bug in upstream Launchpad?

Comment 5 Lars Kellogg-Stedman 2015-03-18 14:38:39 UTC
It's not clear to me that this is a bug (arguably, "image-create" and "backup" do not affect the state of the instance), but in any case it should be reported upstream.


Note You need to log in before you can comment on or make changes to this bug.