Bug 519786

Summary: vm.sh ignores path / drops xm --path support
Product: Red Hat Enterprise Linux 5 Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.4CC: Chris.Verhoef, cluster-maint, cward, djansa, edamato, jcapel, liko, tao, tcameron, tscherf
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: rgmanager-2.0.52-1.9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 08:47:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 499522, 524213    
Description Flags
Patched vm.sh
Patch none

Description Lon Hohberger 2009-08-27 19:18:08 UTC
Created attachment 358947 [details]
Patched vm.sh

Description of problem:

Users utilizing rgmanager to manage virtual machine locations who place their Xen domain configurations in alternate locations will have issues creating Xen virtual machines.

This is because the path attribute was erroneously removed from the resource agent metadata.

When the appropriate metadata is added back, the vm.sh agent works as expected.

Version-Release number of selected component (if applicable): rgmanager-2.0.52-1.el5

How reproducible: 100%

Steps to Reproduce:
1. Create a Xen domain
2. Move config file to a place other than /etc/xen
3. Create a clustered VM with path="/your/nonstandard/path"
4. Try to start virtual machine
Actual results: Rgmanager can not find the configuration file

Expected results: VM started

Comment 1 Lon Hohberger 2009-08-27 19:19:22 UTC
Created attachment 358949 [details]

Comment 2 Lon Hohberger 2009-08-27 19:20:47 UTC

(a) Apply above patch or use attached vm.sh
(b) Store all Xen domain configurations in /etc/xen
(c) Symlink all Xen domain configurations in to /etc/xen

Comment 10 Chris Ward 2010-02-11 10:13:14 UTC
~~ Attention Customers and Partners - RHEL 5.5 Beta is now available on RHN ~~

RHEL 5.5 Beta has been released! There should be a fix present in this 
release that addresses your request. Please test and report back results 
here, by March 3rd 2010 (2010-03-03) or sooner.

Upon successful verification of this request, post your results and update 
the Verified field in Bugzilla with the appropriate value.

If you encounter any issues while testing, please describe them and set 
this bug into NEED_INFO. If you encounter new defects or have additional 
patch(es) to request for inclusion, please clone this bug per each request
and escalate through your support representative.

Comment 12 errata-xmlrpc 2010-03-30 08:47:01 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.