Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1084518

Summary: [RFE] Affinity group follow me VM migration
Product: [Retired] oVirt Reporter: Joop van de Wege <jvandewege>
Component: ovirt-engine-webadminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: bugs, dfediuck, ecohen, gklein, iheim, mgoldboi, rbalakri, yeylon
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-26 14:15:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joop van de Wege 2014-04-04 14:41:59 UTC
As per request on the ML.
For negative affinity it would be fine if it made sure that it worked too :-)
(more difficult due to corner cases but very nice to have too)

====
Hi Joop, 

You've created a positive enforcing affinity group -> means that VMs should stay on the same host, no migration allowed while more than one VM is up.
What you're requesting is a useful RFE, some-kind of a 'follow me' positive affinity group.
I'm +1 on that  :-)  can you please open a formal request/RFE for it?
https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt

Thanks, 
Gilad.

----- Original Message -----
> > From: "noc" <noc>
> > To: users
> > Sent: Monday, March 31, 2014 3:31:45 PM
> > Subject: Re: [Users] Force certain VMs to be on different hosts
> > 
> > On 25-3-2014 13:47, Gilad Chaplik wrote:
>> > > ----- Original Message -----
>> > > As far as I know this feature is fully tested and verified for version
>> > > 3.4. I'd love for feedback! and would like to assist in anything  :) 
> > I tried it and was suprised about the following:
> > made an positive affinity group with two vms in it, then tried to
> > migrate one vm and got a rather surprising and not quite helpful message.
> > I expected that the second vm would be migrated after the first was done
> > but the message is about something on the receiving host not being in
> > working order. Sorry my memory is a bit vague about it. Will try later
> > to day and reproduce if needed.
> > 
> > Is what I describe possible/planned?
> > 
> > Regards,
> > 
> > Joop
> >

Comment 1 Itamar Heim 2015-03-29 09:05:13 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.

Comment 2 Joop van de Wege 2015-03-31 11:36:28 UTC
Just tested it in 3.5.1 and if you make a positive affinity group with two VMs then VM-b won't follow VM-a when VM-a is migrated to a different host.
Starting VM-b after VM-a works, both end up on the same host but the above case needs to be implemented.

Joop

Comment 3 Doron Fediuck 2015-08-26 14:15:05 UTC

*** This bug has been marked as a duplicate of bug 1112332 ***