← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1351215] Re: Outdated information in post live-migration notification

 

Tried with latest code, and get the notifications in congress nova
driver:

live migration from node-01 (source node, also controller node) to
node-02 (dest node):

2015-08-21 03:26:36.717 INFO congress.datasources.nova_driver [-] Info: Handled notification from compute.node-02:compute.instance.live_migration.pre.start
2015-08-21 03:26:36.717 INFO congress.datasources.nova_driver [-] Info: state_description = migrating, state = active
2015-08-21 03:26:36.718 INFO congress.datasources.nova_driver [-] Info: node = node-01, host = node-01
2015-08-21 03:26:39.648 INFO congress.datasources.nova_driver [-] Info: Handled notification from compute.node-02:compute.instance.live_migration.pre.end
2015-08-21 03:26:39.649 INFO congress.datasources.nova_driver [-] Info: state_description = migrating, state = active
2015-08-21 03:26:39.649 INFO congress.datasources.nova_driver [-] Info: node = node-01, host = node-01
2015-08-21 03:26:45.220 INFO congress.datasources.nova_driver [-] Info: Handled notification from compute.node-01:compute.instance.live_migration._post.start
2015-08-21 03:26:45.220 INFO congress.datasources.nova_driver [-] Info: state_description = migrating, state = active
2015-08-21 03:26:45.221 INFO congress.datasources.nova_driver [-] Info: node = node-01, host = node-01
2015-08-21 03:26:46.098 INFO congress.datasources.nova_driver [-] Info: Handled notification from compute.node-01:compute.instance.live_migration._post.end
2015-08-21 03:26:46.099 INFO congress.datasources.nova_driver [-] Info: state_description = migrating, state = active
2015-08-21 03:26:46.099 INFO congress.datasources.nova_driver [-] Info: node = node-01, host = node-01
2015-08-21 03:26:46.225 INFO congress.datasources.nova_driver [-] Info: Handled notification from compute.node-02:compute.instance.live_migration.post.dest.start
2015-08-21 03:26:46.226 INFO congress.datasources.nova_driver [-] Info: state_description = migrating, state = active
2015-08-21 03:26:46.226 INFO congress.datasources.nova_driver [-] Info: node = node-01, host = node-01
2015-08-21 03:26:47.003 INFO congress.datasources.nova_driver [-] Info: Handled notification from compute.node-02:compute.instance.live_migration.post.dest.end
2015-08-21 03:26:47.003 INFO congress.datasources.nova_driver [-] Info: state_description = , state = active
2015-08-21 03:26:47.003 INFO congress.datasources.nova_driver [-] Info: node = node-02, host = node-02

So in event compute.instance.live_migration._post.end which is sent by
source node, the state_description is still 'migrating', and it's right
to still use the source node and host.   So I'll mark it as invalid.

** Changed in: nova
       Status: Confirmed => Invalid

-- 
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/1351215

Title:
  Outdated information in post live-migration notification

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  compute.instance.live_migration._post.end rpc notification gives
  outdated information about state, host, node (at least)

  compute.instance.live_migration.pre.start (source node)
  compute.instance.live_migration.pre.end (source node)
  compute.instance.live_migration._post.start (source node)
  compute.instance.live_migration.post.dest.start (destination node)
  compute.instance.live_migration.post.dest.end (destination node)
  compute.instance.live_migration._post.end (again source node with non-changed instance object data, with outdated info)

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


References