Bug 247154

Summary: error when starting xen domains with xen 3.1.0-2 Fedora 7 package
Product: [Fedora] Fedora Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Chris Feist <cfeist>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Fedora-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-29 22:15:32 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 Flags
Fixed vm.sh from head of cvs none

Description Lon Hohberger 2007-07-05 17:13:17 UTC
Description of problem:

vm.sh from rgmanager builds command lines using a deprecated 'restart="never"'
command line.  This does not work with xen 3.1.0 any more, causing creation to
fail with an error.

[root@fwstxen01 xen]# xm create linux01 restart="never" --path="/etc/xen"      
           
Using config file "./linux01".                                                 
            
Error: Invalid event handling mode: shutdown

The correct thing for it to do is build the command line explicitly stating
on_reboot, on_crash and on_shutdown:

[root@fwstxen01 xen]# xm create linux01 on_shutdown="destroy" \
                                        on_reboot="destroy" \
                                        on_crash="destroy" \
                  --path="/etc/xen"
Using config file "./linux01".
Started domain linux01

Version-Release number of selected component (if applicable): cvs / all

How reproducible:  100%

Comment 1 Lon Hohberger 2007-07-05 17:13:17 UTC
Created attachment 158605 [details]
Fixed vm.sh from head of cvs