← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1468212] Re: Instance action event for live-migration is missing

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1468212

Title:
  Instance action event for live-migration is missing

Status in OpenStack Compute (nova):
  Fix Released

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         |
  +---------------+------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1468212/+subscriptions


References