yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48471
[Bug 1561022] [NEW] Server group policies are not honored during live migration
Public bug reported:
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.
** Affects: nova
Importance: Medium
Status: Confirmed
** Affects: nova/mitaka
Importance: Undecided
Status: New
** Tags: live-migration 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
Follow ups