memory parameter is not consistent with xen configuration files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I’m trying to use xen-create-image to create an installed Xen machine. If I do the following:
# sudo xen-create-image --hostname=foobar --memory=2048 --swap=1024M --size=10G --lvm=VolumeGro
ERROR: 'memory' argument takes a suffixed integer.
This does not work, because the memory argument is incorrect. So I adapt it:
# sudo xen-create-image --hostname=foobar --memory=2048M --swap=1024M --size=10G --lvm=VolumeGro
This installs the machine successfully. If I then continue:
# sudo xl create /etc/xen/foobar.cfg
Parsing config from /etc/xen/foobar.cfg
/etc/xen/
This means I have to edit the configuration file and remove the “M” from the memory number.
If however, I use "--memory=2048Mb" then xen-create-image accepts the parameter and correctly removes the suffix from the parameter before putting it in the configuration file.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xen-tools 4.3.1-1
ProcVersionSign
Uname: Linux 3.8.0-35-generic i686
ApportVersion: 2.9.2-0ubuntu8.5
Architecture: i386
Date: Wed Feb 26 10:03:28 2014
MarkForUpload: True
PackageArchitec
SourcePackage: xen-tools
UpgradeStatus: No upgrade log present (probably fresh install)