The "hack" of creating /var/lib/systemimager/images/{image_name}/var/lock/rpm/
before building the image worked (as sited here:
http://www.mail-archive.com/[email protected]/msg05938.html).
My default package list image is currently building. Assuming success, I will
return to my efforts to figure out why it claims to not find 2 of the packages
I have added to the list.
Thanks,
--Joe
________________________________
From: [EMAIL PROTECTED] on behalf of Greenseid, Joseph M.
Sent: Wed 1/24/2007 1:52 PM
To: [email protected]
Subject: Re: [Oscar-users] client image build fails
Using a the sample rhel 4 for ia64 package list got past the step that was
bailing on me, and then I ran into the RPM lock issue. Apparently an upgrade
of RPM is necessary, based on the list archives, so I will try to do that and
try again.
--Joe
________________________________
From: [EMAIL PROTECTED] on behalf of Greenseid, Joseph M.
Sent: Wed 1/24/2007 1:47 PM
To: [email protected]
Subject: Re: [Oscar-users] client image build fails
Hi Michael,
I saw those docs when I was reading, and made sure that I installed the ia32el
package on the head node, and that it is present in /tftpboot/rpm. I had the
same thought about trying to build an image without my extra packages, and am
off to try that now.
Thanks,
--Joe
________________________________
From: [EMAIL PROTECTED] on behalf of Michael Edwards
Sent: Wed 1/24/2007 1:44 PM
To: [email protected]
Subject: Re: [Oscar-users] client image build fails
...not having the ia32el package present causes problems with building images...
On 1/24/07, Michael Edwards <[EMAIL PROTECTED]> wrote:
> Not sure if you did this already, but there are some release notes (in
> the docs dir, or online at
> http://svn.oscar.openclustergroup.org/wiki/oscar:4.2.1:install_guide:chapter_3)
> which apply to 4.2.1 on ia64 and CentOS 4. I am not sure what the
> error message for this problem looks like but it does mention that not
> having the ia32el package present. I am guessing this is not the
> problem, but it is worth a try.
>
> This is probably a time intensive question, but does the image build
> succeed if you don't include the extra rpms on the rpm list?
>
> I'll try and find the rpmlist pieces in the code, but I am not realy
> familiar with it so I may not have much luck. Most of the core
> developers are in Oak Ridge talking about the next release cycle,
> including the folks who wrote this part I think.
>
> On 1/24/07, Greenseid, Joseph M. <[EMAIL PROTECTED]> wrote:
> > Ok, that provided some more useful information. Unfortunately, it adds new
> > questions.
> >
> > In order to simplify my first attempt, I took the rhel4 for ia64 rpmlist,
> > and added 3 rpms to it, otherwise leaving it exactly. Of the 3 rpms I
> > added to the list (all of which I put in /tftpboot/rpm), it seems to see
> > one of them fine, but can't find the other two(?) -- here are the last 6
> > lines of the RPM check:
> >
> > <== OK zlib /tftpboot/rpm/zlib-1.2.1.2-1.2.ia64.rpm
> > <== OK zlib-devel /tftpboot/rpm/zlib-devel-1.2.1.2-1.2.ia64.rpm
> > <== NG iser Providing RPM not found
> > <== NG linux-iscsi Providing RPM not found
> > <== t=4s
> > <== $? 1
> >
> > iser and linux-iscsi both definitely exist in /tftpboot/rpm:
> >
> > /tftpboot/rpm/iser-1.0-899--2.6.9-42.0.2.EL-ia64.rpm
> > /tftpboot/rpm/linux-iscsi-4.2-899--2.6.9-42.0.2.EL-ia64.rpm
> >
> > I didn't know if the double dashes were what was confusing it, so I copied
> > each of them to the same name, but with 1 dash in that place instead of 2
> > (ex: /tftpboot/rpm/iser-1.0-899-2.6.9-42.0.2.EL-ia64.rpm), but that didn't
> > help, it still gave the same error. I also tried to put the name
> > "iser-1.0.899" and "linux-iscsi-4.2-899" in the rpmlist file, in case it
> > was reading that as part of the rpm name and not version, but that didn't
> > work either.
> >
> > Not sure what this wants from me...
> >
> > --Joe
> >
> > ________________________________
> >
> > From: [EMAIL PROTECTED] on behalf of Michael Edwards
> > Sent: Wed 1/24/2007 12:44 PM
> > To: [email protected]
> > Subject: Re: [Oscar-users] client image build fails
> >
> >
> >
> > Ah, I remember now, this from our FAQ here
> > http://oscar.openclustergroup.org/faq.installation.update-rpms:
> >
> > "With OSCAR 4.x, during Step 4, you might get output similiar to the
> > following:
> >
> > 1: 2006-5-18 0:5:35 [SystemInstaller::Package :: Line 77] Expected
> > lines of output: 497
> > 2: 2006-5-18 0:5:35 [SystemInstaller::Package :: Line 79] Finding
> > package install files.
> > 3: 2006-5-18 0:5:35 [SystemInstaller::Package :: Line 180] Finding
> > files with module SystemInstaller::Package::UpdateRpms
> > ERROR: The following RPMs cannot be installed:
> >
> >
> > at /usr/lib/systeminstaller/SystemInstaller/Package.pm line 181
> > Failed to find files for all packages. at /usr/bin/mksiimage line 184
> > FATAL: Can't remove /var/lib/systemimager/scripts/oscarimage.master!
> > Package install failed
> >
> > To be able to see what RPMs failed to install, enable debugging for
> > update-rpms by doing the following:
> >
> > # export DEBUG_UPDATE_RPMS=y
> >
> > and re-start OSCAR Wizard and Step 4. Now the RPMs that failed to
> > install will be listed."
> >
> > Its not exactly your error, but I think that the "fix" is worth a try.
> >
> > On 1/24/07, Greenseid, Joseph M. <[EMAIL PROTECTED]> wrote:
> > > The output was exactly the same, after quitting the installer, setting
> > > the OSCAR_VERBOSE environment variable, and re-starting the installer.
> > >
> > > I sent the error message to a friend who has experience with Itanium2
> > > clusters, and he said that he had seen this before, that it was a missing
> > > RPM -- it's either an RPM that's missing, or a dependency that is
> > > missing, but that there is a bug in 4.2.1 that means it won't tell you
> > > what RPM the check found missing. That sort of makes sense, as I was
> > > wondering why this got printed: "ERROR: The following RPMs cannot be
> > > installed:" but that the line after it was blank.
> > >
> > > Is this something that has been seen or reported by others? I took the
> > > RHEL4 for ia64 rpmlist and edited that to make my list, but at this
> > > point, if this is truly what's wrong, I guess I'll have to go check each
> > > RPM in the list by hand to make sure it's present and that all its
> > > dependencies are met. That seems rather tedious...
> > >
> > > --Joe
> > >
> > > ________________________________
> > >
> > > From: [EMAIL PROTECTED] on behalf of Michael Edwards
> > > Sent: Wed 1/24/2007 11:46 AM
> > > To: [email protected]
> > > Subject: Re: [Oscar-users] client image build fails
> > >
> > >
> > >
> > > You might try typing "export OSCAR_VERBOSE=3" and re-running
> > > install_cluster. That might give us some more information.
> > >
> > > On 1/24/07, Greenseid, Joseph M. <[EMAIL PROTECTED]> wrote:
> > > > Ok, first my system: ia64 (dual 1.6 GHz Itanium2 procs), 4 GB RAM,
> > > > running CentOS 4.4, using OSCAR 4.2.1. Plenty of disk space on all
> > > > affected partitions -- /var has 1.8GB free, /var/lib/systemimager
> > > > (separate partition) has 9.7GB free, / has 1.8 GB free.
> > > >
> > > > I searched the list archives, but the closest I came to this problem
> > > > was when people were running into an issue with RPM, which appears to
> > > > be indicated by a message saying "error: can't create transaction
> > > > lock." However, I am not seeing the transaction lock message.
> > > >
> > > > Here is the output of the terminal when I attempt to build a client
> > > > image (client image named "hurricane-test"):
> > > >
> > > >
> > > > 1: 2007-0-24 11:5:25 [SystemInstaller::Package :: Line 77] Expected
> > > > lines of output: 461
> > > > 2: 2007-0-24 11:5:25 [SystemInstaller::Package :: Line 79] Finding
> > > > package install files.
> > > > 3: 2007-0-24 11:5:25 [SystemInstaller::Package :: Line 180] Finding
> > > > files with module SystemInstaller::Package::UpdateRpms
> > > > ERROR: The following RPMs cannot be installed:
> > > >
> > > > at /usr/lib/systeminstaller/SystemInstaller/Package.pm line 181
> > > > Failed to find files for all packages. at /usr/bin/mksiimage line 184
> > > > 4: 2007-0-24 11:5:29 [main :: Line 185] Unmounting /proc.
> > > > 5: 2007-0-24 11:5:29 [SystemInstaller::Image :: Line 68] si_rmimage
> > > > hurricane-testFATAL: Can't remove
> > > > /var/lib/systemimager/scripts/hurricane-test.master!
> > > > Package install failed
> > > > at /usr/bin/mksiimage line 190
> > > > at /usr/bin/mksiimage line 191
> > > > Built image from rpms
> > > > Image hurricane-test does not exist
> > > > at /usr/bin/mksidisk line 85
> > > > Couldn't run command mksidisk -A --name hurricane-test --file
> > > > /opt/oscar/oscarsamples/scsi.ia64.disk at
> > > > /usr/lib/perl5/vendor_perl/5.8.0/ia64-linux-thread-multi/Tk.pm line 247
> > > > Use of uninitialized value in hash element at
> > > > /usr/lib/perl5/vendor_perl/5.8.0/ia64-linux-thread-multi/Tk/Trace.pm
> > > > line 181.
> > > >
> > > > Does anyone have any ideas?
> > > >
> > > > Thanks,
> > > > --Joe
> > > >
> > > > -------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > > > your
> > > > opinions on IT & business topics through brief surveys - and earn cash
> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > _______________________________________________
> > > > Oscar-users mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >
> > >
> > > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > > your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > Oscar-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/oscar-users
> > >
> > >
> > >
> > > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > > your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > Oscar-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/oscar-users
> > >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Oscar-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/oscar-users
> >
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Oscar-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/oscar-users
> >
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users