[Thincrust-devel] [patch] act - ec2 conversion option for appliance-creator
Bryan Kearney
bkearney at redhat.com
Thu Sep 11 15:41:20 UTC 2008
Joey Boggs wrote:
> Only allows 1 disk in a kickstart currently, anymore will fail. Working
> on the virt-convert scenarios next.
I testted it and got the error below. Couple of comments
1) If I specify the --appliancetype then is the format, vmem, and vcpu
items ignored? Huff, based on our chats yesterday should this be --type
(to prep for package, ovf, vmware etc)
-- bk
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the
possible
completions of a device/filename.]
grub> device (hd0) /dev/loop0
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup
--stage2=/root/cache/imgcreate-gNLr6K/install_root/boot/grub/stage2
--prefix=/boot/grub (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not
fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is
not fatal)
Running "install
--stage2=/root/cache/imgcreate-gNLr6K/install_root/boot/grub/stage2
/boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/grub.conf "...
succeeded
Done.
grub> quit
TMPDIR: /var/tmp/ec2-convert-lmqjnakw
loop0p1 : /
Disk Space Required: 423M
Creating a new disk image with additional freespace: 699M total
dd: opening `/var/tmp/ec2-convert-lmqjnakw-tmpimage/ec2-diskimage.img':
No such file or directory
mke2fs 1.40.8 (13-Mar-2008)
mke2fs: No such file or directory while trying to determine filesystem size
/var/tmp/ec2-convert-lmqjnakw-tmpimage/ec2-diskimage.img: No such file
or directory
Performing rsync on all partitions to new root
Unmounting /var/tmp/ec2-convert-lmqjnakw/
Freeing loopdevices
openssh-server-5.1p1-2.fc9.i386 is installed
curl-7.18.2-1.fc9.i386 is installed
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
* - Updating /etc/fstab
* - Creating rc.local configuration
* - Creating ssh configuration
* - Creating eth0 configuration
* - Prevent nosegneg errors
Adding EC2 Tools
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 8027k 100 8027k 0 0 1570k 0 0:00:05 0:00:05 --:--:--
1939k
Configure image for accepting the EC2 kernel
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 16.5M 100 16.5M 0 0 741k 0 0:00:22 0:00:22 --:--:--
838k
Preparing... ###########################################
[100%]
1:kernel-xen ###########################################
[100%]
umount: /var/tmp/ec2-convert-lmqjnakw: not mounted
Traceback (most recent call last):
File "/usr/bin/ec2-converter", line 139, in <module>
sys.exit(main())
File "/usr/bin/ec2-converter", line 124, in main
shutil.move(fsimage,imagefile)
File "/usr/lib/python2.5/shutil.py", line 191, in move
os.rename(src, dst)
TypeError: coercing to Unicode: need string or buffer, NoneType found
More information about the Thincrust-devel
mailing list