yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48472
[Bug 1561022] Re: Server group policies are not honored during live migration
Seems like a nasty regression, adding to mitaka rc2
** Also affects: nova/mitaka
Importance: Undecided
Status: New
** Changed in: nova/mitaka
Milestone: None => mitaka-rc2
** Tags added: mitaka-rc-potential
--
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/1561022
Title:
Server group policies are not honored during live migration
Status in OpenStack Compute (nova):
Confirmed
Status in OpenStack Compute (nova) mitaka series:
New
Bug description:
Commit
https://github.com/openstack/nova/commit/111a852e79f0d9e54228d8e2724dc4183f737397
introduced regression that causes affinity/anti-affinity policies to
be omitted while live migrating an instance.
This is because we don't pass instance_group here:
https://github.com/openstack/nova/blob/111a852e79f0d9e54228d8e2724dc4183f737397/nova/conductor/tasks/live_migrate.py#L183
However, filters are expecting this information:
https://github.com/openstack/nova/blob/111a852e79f0d9e54228d8e2724dc4183f737397/nova/scheduler/filters/affinity_filter.py#L86
Basically we should pass instance group so that filters can read this
information later.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1561022/+subscriptions
References