Instance action event for live-migration is missing

Bug #1468212 reported by Zhenyu Zheng
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Zhenyu Zheng

Bug Description

We have the instance action and action event for most of the instance
operations, exclude: live-migration. In the current master code, when
we do live-migration, the instance action is recorded, but the action
event for live-migration is lost.

Version: Master

Bug Details:

Migrate the server:

root@controller:/var/log/nova# nova list
+--------------------------------------+------+-----------+------------+-------------+---------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+-----------+------------+-------------+---------------------------+
| f4070134-f9f0-4314-951c-80b9c7e80499 | test | MIGRATING | migrating | Running | internal-net=10.10.10.187 |
+--------------------------------------+------+-----------+------------+-------------+---------------------------+
root@controller:/var/log/nova# nova list
+--------------------------------------+------+--------+------------+-------------+---------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+---------------------------+
| f4070134-f9f0-4314-951c-80b9c7e80499 | test | ACTIVE | - | Running | internal-net=10.10.10.187 |
+--------------------------------------+------+--------+------------+-------------+---------------------------+

After Live-Migrate, the instance action has been recorded but the action event is missing:
root@controller:/var/log/nova# nova instance-action-list f4070134-f9f0-4314-951c-80b9c7e80499
+----------------+------------------------------------------+---------+----------------------------+
| Action | Request_ID | Message | Start_Time |
+----------------+------------------------------------------+---------+----------------------------+
| create | req-789a1956-11a0-4a1b-9063-7adf0ed51f3b | - | 2015-06-24T07:57:02.000000 |
| live-migration | req-e76f2a5e-79f8-4879-8e41-249ea574aeff | - | 2015-06-24T08:20:40.000000 |
+----------------+------------------------------------------+---------+----------------------------+
root@controller:/var/log/nova# nova instance-action f4070134-f9f0-4314-951c-80b9c7e80499 req-e76f2a5e-79f8-4879-8e41-249ea574aeff
+---------------+------------------------------------------+
| Property | Value |
+---------------+------------------------------------------+
| action | live-migration |
| events | [] |
| instance_uuid | f4070134-f9f0-4314-951c-80b9c7e80499 |
| message | - |
| project_id | 522eda8d23124b25bf03fe44f1986b74 |
| request_id | req-e76f2a5e-79f8-4879-8e41-249ea574aeff |
| start_time | 2015-06-24T08:20:40.000000 |
| user_id | 3917d63e5a2943319fdaebd80fb8b4f2 |
+---------------+------------------------------------------+

Changed in nova:
assignee: nobody → Zhenyu Zheng (zhengzhenyu)
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

@Zhenyu Zheng (zhengzhenyu):

Since you are set as assignee, I switch the status to "In Progress".

Maybe it would be good to have more details about where this event gets lost.

tags: added: live-migration notifications
Changed in nova:
status: New → In Progress
Revision history for this message
Zhenyu Zheng (zhengzhenyu) wrote :

@Markus Zoeller, Hi, thank you, I'm setting up the dev environment for details.

description: updated
tags: added: live-migrate
removed: live-migration
Changed in nova:
status: In Progress → Confirmed
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/195372
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=958060f99293a7a4b9c4dc7eba495b64cf3a09c4
Submitter: Jenkins
Branch: master

commit 958060f99293a7a4b9c4dc7eba495b64cf3a09c4
Author: Kevin_Zheng <email address hidden>
Date: Thu Jun 25 09:40:52 2015 +0800

    Add instance action events for live migration

    Instance action events records are missing for live-migration.
    This patch fix it.

    Change-Id: Ia9c46e19e643f5f70da1c7221a1099f322c4c6ed
    Closes-Bug:1468212

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-3 → 12.0.0
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.