Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Traceback (most recent call last): File "/usr/bin/appliance-creator", line 164, in <module> sys.exit(main()) File "/usr/bin/appliance-creator", line 150, in main creator.configure() File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 732, in configure self._create_bootconfig() File "/usr/lib/python2.6/site-packages/appcreate/appliance.py", line 277, in _create_bootconfig self._create_grub_config() File "/usr/lib/python2.6/site-packages/appcreate/appliance.py", line 212, in _create_grub_config grub += "splashimage=(hd0,%d)%s/grub/splash.xpm.gz\n" % (bootdevnum, prefix) TypeError: %d format: a number is required, not NoneType Version-Release number of selected component (if applicable): 004-3 Additional Info: This was being run on rawhide making a rawhide minimal install @core system.
I was not able to reproduce this issue, I can create a RAW hide image with no error on an F11 box using the sample ks file. It looks like "bootdevnum" is beeing set to NONE. Please provide you ks file and the options you are using for appliance-creator and I will try to reproduce. -D
Sure, this is what I'm using: http://people.redhat.com/sgrubb/libcap-ng/testing.html On F-11, it works fine. When run on native rawhide system is where I run into problems.
Btw, does the rawhide system you created boot? I know rawhide can be pretty raw. But it seems like something is going wrong wrt grub.
OK, this makes more scene.... I haven't really tested on F12/rawhide yet so there may be some initial problems. I was able to boot a guest and run off of it however when I try to build an appliance on it I get errors... [root@localhost ~]# cat /etc/fedora-release Fedora release 11.90 (Rawhide) [root@localhost ~]# appliance-creator -c test.ks -d -v Formatting disks Assigning partitions to disks Creating partitions [] Writing mkinitrd config /var/tmp/imgcreate-HHaSSD/install_root/etc/sysconfig/mkinitrd /usr/lib/python2.6/site-packages/imgcreate/errors.py:40: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return str(self.message) Unable to create appliance : Failed to find package 'grub' : No package(s) available to install looks like my repos may me fubar??
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
A new build for F12 has been built that should address this issue.... appliance-tools-004.5-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/appliance-tools-004.5-1.fc12
appliance-tools-004.5-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update appliance-tools'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1777
appliance-tools-004.5-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.