Hi, Chris -
Yes, your changes to the gpfs kit were correct -- the gpfs.src and
gpfs.libsrc are development-only rpms and should not have been included in
the kit definition.  Again, these changes will be made in the next GPFS kit
update.

Also, the find errors have been fixed in xCAT 2.8.1 along with many other
fixes and changes, which should be available in the next couple of weeks.
These errors may or may not cause problems with your kit build.  This error
is pretty random, and I have not figured out exactly when it does/does not
occur, but it seems to be related to how perl is interpreting wildcards in
the command.  And something as simple as moving to another directory makes
it go away (which is why it missed our original testing).   In any case, I
changed the way the call is written so the error no longer occurs.

Here's the simple code change if you want to edit
your /opt/xcat/bin/buildkit perl script:
   867c867
   <     my $tarfile = `find $::build_dir -name $kitfilename.*tar.bz2`;
   ---
   >     my $tarfile = `find $::build_dir -name "$kitfilename.*tar.bz2"`;
   1774c1774
   <         my @built_rpms = `find $rpmbuild_dir/RPMS -name *.rpm`;
   ---
   >         my @built_rpms = `find $rpmbuild_dir/RPMS -name "*.rpm"`;
   2557c2557
   <                 my @built_rpms = `find $rpmbuild_dir/RPMS -name
   *.rpm`;
   ---
   >                 my @built_rpms = `find $rpmbuild_dir/RPMS -name
   "*.rpm"`;

Again, thanks for letting us know about this, and I hope that when the xCAT
2.8.1 version and new kits are available, they will be a bit more stable
for you.

Linda



From:   Christopher Samuel <[email protected]>
To:     [email protected],
Date:   05/03/2013 02:19 AM
Subject:        Re: [xcat-user] buildkit addpkgs for GPFS 3.0.5.7 fails when
            looking for gpfs.base RPM not available to customers



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/05/13 11:24, Christopher Samuel wrote:

> Just to confirm that I've downloaded the base GPFS from IBM Passport
> Advantage myself (actually 3.5.0-3) and GPFS 3.5.0.7 from IBM Fix
> Central and can confirm that there is no gpfs.src RPM included in
> either download package.

I took a stab at modifying the kit.conf file to remove the references
to the gpfs.src RPM, that revealed that it also wanted the gpfs.libsrc
RPM which doesn't exist either.

[root@old-barcoo-m test]# buildkit addpkgs
gpfs-3.5.0-7-Linux.NEED_PRODUCT_PKGS.tar.bz2 --pkgdir $PWD
ls: cannot access /install/ibmlpp/gpfs/test/gpfs.libsrc-3.5.0-7.noarch.rpm:
No such file or directory
The product package file gpfs.libsrc-3.5.0-7.noarch.rpm could not be read
from the package directory /install/ibmlpp/gpfs/test.

Removing that showed more progress, but I'm concerned that the find
warnings below imply something has gone awry in the process.

Ignore the hostname warnings, we're about to transition from the
intermediate hardware to the final hardware and someone has modified
it so we know which we're on once the TBMR is done.. ;-)

[root@old-barcoo-m test]# buildkit addpkgs
gpfs-3.5.0-7-Linux.NEED_PRODUCT_PKGS.tar.bz2 --pkgdir $PWD
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
warning: Could not canonicalize hostname: old-barcoo-m.vlsci.unimelb.edu.au
find: paths must precede expression: gpfs.base-3.5.0-7.x86_64.update.rpm
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|
exec] [path...] [expression]
Spawning worker 0 with 4 pkgs
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
Spawning worker 0 with 4 pkgs
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
Kit tar file /install/ibmlpp/gpfs/test/gpfs-3.5.0-7-Linux.tar.bz2
successfully built



All the best,
Chris
- --
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGDViUACgkQO2KABBYQAh+dVACfV7RnFSIIfG4PDUPSpEK5jpjb
5egAoIwCmcKkYcJG5GlQiqObnWuZ7HSI
=j6RF
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------

Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to