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
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rgmanager (Show other bugs)
(Show other bugs)
Version: 7
Hardware: All Linux
high
high
Target Milestone: ---
Assignee: Chris Feist
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
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:
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: ---


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.