Hi,

Check if the errors you mentioned about the different packages do not
end with the deletion of the image (the error handling when creating the
image is not that great, because we switch from OSCAR to systeminstaller
back and forth, we do not catch up all the errors).
We can at least check if the image is still recognized by SIS execution
"si_lsimage". 
BTW, if you think you have corrupted images, you may also want to
execute the script '$OSCAR_HOME/scripts/oscar_sanity_check'. That will
give you some info about the current system status, especially the
images status.

I has actually having a look at these issues today and slightly improve
things (but i am using trunk, not the branch).

My 2 cents,

On Thu, 2008-01-10 at 12:02 -0600, Greenseid, Joseph M. wrote:
> [EMAIL PROTECTED] ~]$ rpm -qa |grep systemim
> systemimager-x86_64boot-standard-4.0.2-1
> systemimager-i386initrd_template-4.0.2-1
> systemimager-common-4.0.2-1
> systemimager-client-4.0.2-1
> systemimager-x86_64initrd_template-4.0.2-1
> systemimager-i386boot-standard-4.0.2-1
> systemimager-bittorrent-4.0.2-1
> systemimager-server-4.0.2-1
> systemimager-flamethrower-4.0.2-1
>  
> I re-ran the build client image with verbose debugging.  I saw a couple of 
> things in the package installation phase that threw errors:
>  
> During installation of the "torque" package:
> /var/tmp/rpm-tmp.7338: line 4: cat: command not found
> error: %post(torque-2.1.8-3oscar.x86_64) scriptlet failed, exit status 127
>  
> 
> During "ganglia-gmond" package installation:
> /var/tmp/rpm-tmp.25719: line 3: rpm: command not found
>  
> 
> During installation of package "kernel": 
> awk: cmd. line:1: fatale: cannot open file `/etc/fstab' for reading (No such 
> file or directory)
> awk: cmd. line:1: fatale: cannot open file `/etc/fstab' for reading (No such 
> file or directory)
> awk: cmd. line:1: fatale: cannot open file `/etc/fstab' for reading (No such 
> file or directory)
> awk: cmd. line:1: fatale: cannot open file `/etc/fstab' for reading (No such 
> file or directory)
> awk: cmd. line:1: fatale: cannot open file `/etc/fstab' for reading (No such 
> file or directory)
>  
> In all 3 of these cases, package installation continued.  
>  
> After I get through package 334 of 334, I get the "Installed:" list and the 
> "Dependency Installed" list.  
> Then it says:
>  
> Complete!
> PackMan::RPM=HASH(0x1a0c4c80) does not understand 
> PackMan::RPM::check_installed
> Image build finished
> Image oscarimage2 does not exist
>  at /usr/bin/mksidisk line 88
> Couldn't run command mksidisk -A [blah blah blah]
>  
> When looking through the "Installed:" and "Dependency Installed:" lines, I 
> see torque in the Dependency line, ganglia-gmond in the Dependency line, and 
> kernel in the Installed line.  All 3 errors from above are showing up as 
> installed.
>  
> This is the only moderately useful info I found from verbose debugging...
>  
> 
> ________________________________
> 
> From: [EMAIL PROTECTED] on behalf of DongInn Kim
> Sent: Thu 1/10/2008 12:28 PM
> To: [email protected]
> Subject: Re: [Oscar-devel] building client image failure...
> 
> 
> 
> Ah, one more thing.
> 
> Can you please post the output of "rpm -qa | grep systemim"?
> 
> Regards,
> 
> - DongInn
> 
> 
> DongInn Kim wrote:
> > Hi Joe,
> >
> > This part is suspicious.
> >> PackMan::RPM=HASH(0x7fbb7e0) does not understand 
> >> PackMan::RPM::check_installed
> >
> > Can you please re-run the Step 4 "Build OSCAR Image..." with some OSCAR 
> > verbosity (e.g., export OSCAR_VERBOSE=5 )?
> > And then can you please post anything useful to debug the errors?
> >
> > Regards,
> >
> > - DongInn
> >
> >
> > Greenseid, Joseph M. wrote:
> >> Sorry to be back with another problem.  I have been trying to build a 
> >> client image, but I keep getting the same error.  The build gets at least 
> >> 3/4 way through before bailing.  There is an image located at 
> >> /var/lib/systemimager/images/oscarimage, and it seems at least mostly 
> >> complete, when I do a cursory examination.  I have tried this a few times, 
> >> always with the same result...
> >> 
> >> Writing package group file for client installation: 
> >> /opt/oscar/tmp/Default.pgroup
> >> --> Identified distro of clients: rhel 5
> >> --> Distro repo: file:/tftpboot/distro/centos-5-x86_64
> >> --> OSCAR repo: 
> >> file:/tftpboot/oscar/rhel-5-x86_64,file:/tftpboot/oscar/common-rpms
> >> --> Using binary list: /opt/oscar/oscarsamples/rhel-5-x86_64.rpmlist
> >> 0: centos-5-x86_64
> >> Selection: centos-5-x86_64
> >> the new package list is: 
> >> file:/tftpboot/distro/centos-5-x86_64,file:/tftpboot/oscar/rhel-5-x86_64,file:/tftpboot/oscar/common-rpms
> >> Executing command: mksiimage -A --name oscarimage --location 
> >> "file:/tftpboot/distro/centos-5-x86_64,file:/tftpboot/oscar/rhel-5-x86_64,file:/tftpboot/oscar/common-rpms"
> >>  --filename /opt/oscar/oscarsamples/rhel-5-x86_64.rpmlist --arch x86_64 
> >> --path /var/lib/systemimager/images/oscarimage --filename 
> >> /opt/oscar/tmp/Default.pgroup
> >> PackMan::RPM=HASH(0x7fbb7e0) does not understand 
> >> PackMan::RPM::check_installed
> >> Image build finished.
> >> Image oscarimage does not exist
> >>  at /usr/bin/mksidisk line 88
> >> Couldn't run command mksidisk -A --name oscarimage --file 
> >> /opt/oscar/oscarsamples/joe.disk at 
> >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Tk.pm line 247
> >>
> >>
> >> -------------------------------------------------------------------------
> >> Check out the new SourceForge.net Marketplace.
> >> It's the best place to buy or sell services for
> >> just about anything Open Source.
> >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> >> _______________________________________________
> >> Oscar-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/oscar-devel
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > _______________________________________________
> > Oscar-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/oscar-devel
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Oscar-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel
> 
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Oscar-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to