Bug 383071

Summary: Virtual machine configuration - add field for "migration type" xml attr = "migrate"
Product: Red Hat Enterprise Linux 5 Reporter: Lon Hohberger <lhh>
Component: congaAssignee: Ryan McCabe <rmccabe>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1CC: cluster-maint, m.a.w.nijenhof
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0407 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:47:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 345871    
Bug Blocks:    

Description Lon Hohberger 2007-11-14 19:01:07 UTC
+++ This bug was initially created as a clone of Bug #345871 +++

Currently, the live migration of instances through rgmanager (and Conga), the OS
instance will pause, migrate and then continue.  This can be changed by editig
the vm.sh file and adding "-l" to the migration command.  

We should make "-l" style migration the default to avoid the pause timing out
client connections.

-- Additional comment from lhh on 2007-11-14 13:59 EST --
Patch in CVS:

http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/vm.sh.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.7&r2=1.1.2.8


=======================================================

Synopsis: migrate attribute for vm configuration
Possible values: live or pause, default=live

Comment 1 Lon Hohberger 2007-11-14 19:06:04 UTC
e.g.

<vm name="molly" migrate="pause"/>     <--- "xm migrate molly..."
<vm name="frederick" migrate="live"/>  <--- "xm migrate -l frederick..."
<vm name="buster"/>                    <--- "xm migrate -l buster..."


Comment 2 RHEL Program Management 2007-11-14 19:14:19 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Brian Brock 2008-05-15 21:05:26 UTC
Actually, I do need more info for proper testing.

Should conga auto-detect that hosts are xen vms, and then generate the above
like in /etc/cluster/cluster.conf after only adding the virtual hosts (or
hypervisor)?

Comment 6 Ryan McCabe 2008-05-15 22:35:54 UTC
This is for manual configuration of VM services (to be managed by rgmanager).
The functionality added is letting users choose whether migration type should be
live or pause. You can get to the form via cluster -> [cluster name] -> services
-> Add a Virtual Service. Or you can modify an existing one to get to the same
configuration page.

Comment 7 Brian Brock 2008-05-16 06:21:10 UTC
looks sane across several passes, changing to verified.

Comment 9 errata-xmlrpc 2008-05-21 15:47:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0407.html