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