Bug 248727
Summary: | Don't bounce Virtual Machine when adding as a managed VM service | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Rob Kenna <rkenna> | ||||||
Component: | rgmanager | Assignee: | Lon Hohberger <lhh> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5.0 | CC: | cluster-maint, tao | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | RHBA-2007-0580 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2007-11-07 16:46:19 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: | |||||||||
Attachments: |
|
Description
Rob Kenna
2007-07-18 13:52:10 UTC
This is a trivial fix. Services which are tagged as migratory (e.g. they have the 'migrate' action and have no children) can be ignored in do_condstops / do_condstarts. The next question is: Do we stop the VM if you delete it from the cluster config or not? in answer to "Do we stop the VM if you delete it from the cluster config or not? " The answer is no. Changing the management of the VM should not cause it to restart. Created attachment 160273 [details]
Patch
This implements the required behavior and minimizes virtual machine
transitions. If added or removed from the cluster configuration, virtual
machines no longer transition (though if desired, this can be altered).
Additionally, if non-critical attributes of the virtual machine are altered,
the virtual machine is not restarted.
This patch has the side effect of fixing #247801.
Created attachment 160275 [details]
Cleaned up patch
*** Bug 247801 has been marked as a duplicate of this bug. *** Patches in CVS On a node reboot, the guest correctly gets restarted on another node. However, once the node returns, rgmanager stops the guest and restarts it on the recovery node. Either it should use live migration to return it or leave it on the failover node. Setting to fails-qa Rob, I checked in more patches for this before going on vacation - it should be working now. It's on your cluster. Could you retest? 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 the 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-2007-0580.html |