Bug 247154 - error when starting xen domains with xen 3.1.0-2 Fedora 7 package
error when starting xen domains with xen 3.1.0-2 Fedora 7 package
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: rgmanager (Show other bugs)
7
All Linux
high Severity high
: ---
: ---
Assigned To: Chris Feist
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-05 13:13 EDT by Lon Hohberger
Modified: 2008-01-29 17:15 EST (History)
0 users

See Also:
Fixed In Version: Fedora-8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-29 17:15:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fixed vm.sh from head of cvs (10.00 KB, text/plain)
2007-07-05 13:13 EDT, Lon Hohberger
no flags Details

  None (edit)
Description Lon Hohberger 2007-07-05 13:13:17 EDT
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 13:13:17 EDT
Created attachment 158605 [details]
Fixed vm.sh from head of cvs

Note You need to log in before you can comment on or make changes to this bug.