Bug 247154 - error when starting xen domains with xen 3.1.0-2 Fedora 7 package
Summary: error when starting xen domains with xen 3.1.0-2 Fedora 7 package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rgmanager
Version: 7
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Chris Feist
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-05 17:13 UTC by Lon Hohberger
Modified: 2008-01-29 22:15 UTC (History)
0 users

Fixed In Version: Fedora-8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-29 22:15:32 UTC
Type: ---
Embargoed:


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

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


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