Hi Marek,<br><br>I'm using a fully updated version of Fedora 11 with appliance-tools-004.4-2.fc11.noarch.  Output from uname -a is:<br>    Linux localhost.localdomain 2.6.30.5-43.fc11.x86_64 #1 SMP Thu Aug 27 21:39:52 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>To summarize, for issue 1 my process outputs:<br>    Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)<br>    Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)<br>
<br>Whereas your process outputs:<br>    Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  28 sectors are embedded.<br>    succeeded<br><br>Your process also performs several tasks once the grub setup is complete.  Not sure where to do from here?<br>
<br><br>For issue 2, the ec2-convert script calls a thincrust script called rpmcheck.py.  It looks like this script checks to see if the openssh-server and curl packages are included within the package set for the appliance.  If not then the script issues the error I'm seeing.  So,  it looks like the ec2Appliance kickstart file is missing openssh-server which is simple enough to fix.  However, it does raise the question as to whether or not an EC2 image generated using the ec2Appliance kiskstart file has ever been tested.  Has anyone tried this yet?  Should I submit a patch adding openssh-server and possibly curl, to ec2Appliance.ks?<br>
<br>Thanks,<br>Cameron.<br><br><br><div class="gmail_quote">On Fri, Sep 18, 2009 at 5:34 AM, Marek Goldmann <span dir="ltr"><<a href="mailto:mgoldman@redhat.com">mgoldman@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Cameron,<div class="im"><br>
<br>
On Sep 18, 2009, at 4:13 AM, Cameron Ross wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I'm trying to create the ec2Appliance defined within the ace git repository and I'm having two issues.<br>
<br>
<br>
1) When I run appliance creator I get then following output:<br>
...<br>
grub> setup --stage2=/var/tmp/imgcreate-4i76sn/install_root/boot/grub/stage2 --prefix=/boot/grub  (hd0)<br>
 Checking if "/boot/grub/stage1" exists... yes<br>
 Checking if "/boot/grub/stage2" exists... yes<br>
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes<br>
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)<br>
 Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)<br>
 Running "install --stage2=/var/tmp/imgcreate-4i76sn/install_root/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/grub.conf "... succeeded<br>
Done.<br>
grub> quit<br>
Finished<br>
<br>
Can I safely ignore the failures that are generated?<br>
</blockquote>
<br></div>
This looks strange to me. I'm getting (but with my custom kickstart file) this:<br>
<br>
Installing grub to /dev/loop0<br>
Probing devices to guess BIOS drives. This may take a long time.<br>
<br>
<br>
    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)<br>
<br>
 [ Minimal BASH-like line editing is supported.  For the first word, TAB<br>
   lists possible command completions.  Anywhere else TAB lists the possible<br>
   completions of a device/filename.]<br>
grub> device (hd0) /dev/loop0<br>
grub> root (hd0,0)<br>
 Filesystem type is ext2fs, partition type 0x83<br>
grub> setup --stage2=/home/oddthesis/jboss-cloud/build/tmp/imgcreate-GzcY5I/install_root/boot/grub/stage2 --prefix=/boot/grub  (hd0)<div class="im"><br>
 Checking if "/boot/grub/stage1" exists... yes<br>
 Checking if "/boot/grub/stage2" exists... yes<br>
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes<br></div>
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  28 sectors are embedded.<br>
succeeded<br>
 Running "install --stage2=/home/oddthesis/jboss-cloud/build/tmp/imgcreate-GzcY5I/install_root/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+28 p (hd0,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded<br>

Done.<br>
grub> quit<br>
Unmounting directory /home/oddthesis/jboss-cloud/build/tmp/imgcreate-GzcY5I/install_root/<br>
Removing compat symlinks<br>
Unmapping /dev/loop0<br>
Losetup remove /dev/loop0<br>
moving disks to stage location<br>
moving /home/oddthesis/jboss-cloud/build/tmp/imgcreate-GzcY5I/tmp-1Yk7Ja/httpd-appliance-sda.raw to /home/oddthesis/jboss-cloud/build/tmp/imgcreate-GzcY5I/out/httpd-appliance-sda.raw<br>
writing image XML to /home/oddthesis/jboss-cloud/build/tmp/imgcreate-GzcY5I/out/httpd-appliance.xml<br>
creating destination dir: build/appliances/i386/fedora/11/httpd-appliance<br>
moving /home/oddthesis/jboss-cloud/build/tmp/imgcreate-GzcY5I/out/httpd-appliance.xml to build/appliances/i386/fedora/11/httpd-appliance/httpd-appliance.xml<br>
moving /home/oddthesis/jboss-cloud/build/tmp/imgcreate-GzcY5I/out/httpd-appliance-sda.raw to build/appliances/i386/fedora/11/httpd-appliance/httpd-appliance-sda.raw<br>
Finished<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2) When I run ec2-creator I get the following error:<br>
...<br>
This filesystem will be automatically checked every 31 mounts or<br>
180 days, whichever comes first.  Use tune2fs -c or -i to override.<br>
error: cannot open Packages index using db3 - No such file or directory (2)<br>
error: cannot open Packages database in /var/tmp/ec2-convert-u91eq0vl/var/lib/rpm<br>
error: cannot open Packages database in /var/tmp/ec2-convert-u91eq0vl/var/lib/rpm<br>
Package(s): openssh-server not installed, exiting<br>
Please install openssh-server and rerun ec2-converter<br>
Or add --rpmcheck=no option<br>
Conversion failed<br>
</blockquote>
<br></div>
Maybe this has something to do with:<br>
<br>
        <a href="https://bugzilla.redhat.com/show_bug.cgi?id=507188" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=507188</a><br>
<br>
What OS are you using? What is your appliance-tools version?<br>
<br>
--Marek<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Any advice is greatly appreciated.<br>
Cameron.<br>
</blockquote>
<br></div>
-- <br>
Marek Goldmann<br>
<br>
JBoss by Red Hat<br>
<br>
_______________________________________________<br>
Thincrust-devel mailing list<br>
<a href="mailto:Thincrust-devel@redhat.com" target="_blank">Thincrust-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/thincrust-devel" target="_blank">https://www.redhat.com/mailman/listinfo/thincrust-devel</a><br>
</blockquote></div><br>