Comment 5 for bug 1417667

Revision history for this message
Ian Jolliffe (ian-jolliffe) wrote : Re: [Bug 1417667] Re: migration/evacuation/rebuild/resize of instance with dedicated cpus needs to recalculate cpus on destination

Thanks!

Ian

> On Feb 26, 2015, at 10:01 AM, Chris Friesen <email address hidden> wrote:
>
> ** Changed in: nova
> Assignee: (unassigned) => Chris Friesen (cbf123)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1417667
>
> Title:
> migration/evacuation/rebuild/resize of instance with dedicated cpus
> needs to recalculate cpus on destination
>
> Status in OpenStack Compute (Nova):
> Confirmed
>
> Bug description:
> I'm running nova trunk, commit 752954a.
>
> I configured a flavor with two vcpus and extra specs
> "hw:cpu_policy=dedicated" in order to enable vcpu pinning.
>
> I booted up a number of instances such that there was one instance
> affined to host cpus 12 and 13 on compute-0, and another instance
> affined to cpus 12 and 13 on compute-2. (As reported by "virsh
> vcpupin" and "virsh dumpxml".)
>
> I then triggered a live migration of one instance from compute-0 to
> compute-2. This resulted in both instances being affined to host cpus
> 12 and 13 on compute-2.
>
> The "hw:cpu_policy=dedicated" extra spec is intended to provide
> dedicated host cpus for the instance. In order to provide this, on a
> live migration (or cold migration, or rebuild, or evacuation, or
> resize, etc.) nova needs to ensure that the instance is affined to
> host cpus that are not currently being used by other instances.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/1417667/+subscriptions