DongInn,
 
I ran start_over, installed from the r6840 nightly tarballs.
 
I did steps 1, 2, and 3 from the GUI, then quit and ran the cli build script.
 
First off, I should mention that "9" for Quit doesn't work.  I hit 9 repeatedly 
and only went back to the menu.  I had to Ctrl-C to get out of the CLI.
 
I still get the same errors, but there is a little more verbosity this time, 
though it doesn't mean anything to me offhand.  I had the gangla-gmond, torque, 
and kernel package errors, same as before.  At the end, there is a little more 
info:
 
Complete!
PackMan::RPM=HASH(0x286ecb0) 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/scsi
.disk at ./scripts/cli/build_oscar_image_cli line 240
        main::add_image_build() called at ./scripts/cli/build_oscar_image_cli 
line 167
        main::add_image() called at ./scripts/cli/build_oscar_image_cli line 380
        main::menu() called at ./scripts/cli/build_oscar_image_cli line 112
--> Failed building image "oscarimage"
Requested images not found.
 at /usr/bin/mksiimage line 302
 
I will try to check my mail once more before I head to the airport.  If I don't 
get a chance, I will be back at it again first thing Tuesday.
 
Thanks for all the help.  
 
--Joe
 

________________________________

From: [EMAIL PROTECTED] on behalf of DongInn Kim
Sent: Thu 1/10/2008 3:34 PM
To: [email protected]
Subject: Re: [Oscar-devel] building client image failure...



Hi Geoffroy,

Thanks for the clear explanation.
Yes, I missed the point that we can mix the architectures (X86 and X86_64) on 
the X86_64 machine.

I believe that systemimager has a feature to check to see if there was an error 
during the image creation and if there is something wrong with the image 
creation and client-post_install, it(building image process) fails and removes 
the image whether it is correctly built or not.

I tend to think that Joe's oscarimage was somehow properly built but the next 
process could not proceed properly.

Joe, if you have the nightly tarball with r6840 or have an access to your 
working copy of the OSCAR SVN repo, try to run scripts/cli/build_oscar_image_cli
I fixed some stuff of build_oscar_image_cli on branch-5-1. You can just copy 
the newest build_oscar_image_cli file to your $OSCAR_HOME/scripts/cli and then 
run it.

Please don't forget to setup "export OSCAR_VERBOSE=5".

This is a command line interface and we can focus on the issues of Step 4 
without interfering all the other OSCAR steps.

Regards,

- DongInn


Geoffroy Vallee wrote:
> Hi,
>
> This is actually not a problem to have two architectures for the
> packages systemimager-***{initrd_template,boot-standard}, it allows you
> to have a mix of x86 and x86_64 nodes. Of course if you do not plan to
> have such a mix, you can remove unneeded packages.
>
> Also note that at least on Debian, if a package is not correctly
> installed during the creation of the image, the image is corrupted and
> the whole procedure fails. So maybe you should double-check that these
> errors can really be ignored or not (especially since these errors mean
> that the image will most certainly not be ready to be deployed, some
> components will not work on compute nodes).
> But anyway, I really think you need to have a correct image before to
> try to go further because if the image is corrupted or incomplete, you
> will most certainly face issues later.
>
> Regards,
>
> On Thu, 2008-01-10 at 14:23 -0500, DongInn Kim wrote:
>> Hi Joe,
>>
>> I don't know why you have two architectures' 
>> systemimager-***{initrd_template,boot-standard}.
>> This is not correct. I doubt that this is related to the PackMan error 
>> though.
>> what do you get for "rpm -ql --requires opkg-sis-server"?
>> I would rather remove systemimager-***{initrd_template,boot-standard} and 
>> install only x86_64 ones and then see what happens on the building image 
>> process.
>>
>> Anyway, I think the warning(error?) messages encountered during the creation 
>> of the oscarimage can be ignored.
>> I have double checked to see if the command "cat" and "rpm" exist in my 
>> newly built oscarimage even though I saw the almost same warning massges.
>> Generally we can ignore "awk" error since /etc/fstab is not included in 
>> oscarimage and it is setup while the client node is actually imaged.
>>
>>
>> Regards,
>>
>> - DongInn
>>
>>
>> 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
>
>
> -------------------------------------------------------------------------
> 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