[ewg] OFED 1.4 / spec files modifs needed for anaconda install

Mehdi Bozzo-Rey mbozzore at platform.com
Wed Feb 4 21:29:57 PST 2009


Hi All,

 

We did integrate OFED 1.4 with our clustering tool and found out that
some spec files had to be  modified in order to address the following
problem:

 

- error messages in the install.log on the nodes after a fresh install:

 

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

Installing dapl - 2.0.15-99.pcc.ofed1.4.x86_64

/var/tmp/rpm-tmp.82830: line 4: mv: command not found

...

 

Installing iscsi-initiator-utils - 2.0-869.2.x86_64

/var/tmp/rpm-tmp.57675: line 3: mkdir: command not found

/var/tmp/rpm-tmp.57675: line 8: cat: command not found

/var/tmp/rpm-tmp.57675: line 18: chmod: command not found

error: %post(iscsi-initiator-utils-2.0-869.2.x86_64) scriptlet failed,
exit status 127

...

 

Installing open-iscsi - 2.0-869.2.x86_64

/var/tmp/rpm-tmp.80916: line 3: mkdir: command not found

...

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

 

 

The root cause of these failures is the spec files for these rpms that
are missing Reqs statements (example: coreutils) so the post section
can't be completed because the binaries needed are not installed at that
time.

 

Do you plan to address this in OFED 1.4.1 ?

 

Regards,

 

Mehdi

 

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

The list of modified srpms is:

 

compat-dapl-1.2.12-1.src.rpm

dapl-2.0.15-1.src.rpm

ib-bonding-0.9.0-36.src.rpm

ibutils-1.2-1.ofed1.4.src.rpm

ofa_kernel-1.4-ofed1.4.src.rpm

open-iscsi-generic-2.0-869.2.src.rpm

tgt-generic-0.1-20080828.src.rpm

 

 

 

 

The associated diffs for the spec files:

 

---> compat-dapl-1.2.12-1.src.rpm

 

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

--- dapl.spec.ORIG      2009-01-07 10:54:00.000000000 -0500

+++ dapl.spec   2009-01-07 10:54:00.000000000 -0500

@@ -42,8 +42,10 @@

 Source:
http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz

 BuildRoot: %(mktemp -ud
%{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

 Requires(post): /sbin/ldconfig

 Requires(postun): /sbin/ldconfig

+Requires(post): sed

+Requires(post): coreutils

 

 %description

 Along with the OpenFabrics kernel drivers, libdat and libdapl provides
a userspace

 RDMA API that supports DAT 1.2 specification and IB transport
extensions for

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

 

 

---> dapl-2.0.15-1.src.rpm

 

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

--- dapl.spec.ORIG      2009-01-07 10:54:00.000000000 -0500

+++ dapl.spec   2009-01-07 10:54:00.000000000 -0500

@@ -42,8 +42,10 @@

 Source:
http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz

 BuildRoot: %(mktemp -ud
%{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

 Requires(post): /sbin/ldconfig

 Requires(postun): /sbin/ldconfig

+Requires(post): sed

+Requires(post): coreutils

 

 %description

 Along with the OpenFabrics kernel drivers, libdat and libdapl provides
a userspace

 RDMA API that supports DAT 1.2 specification and IB transport
extensions for

[root at mel1 compat-dapl-1.2.12-1.src.rpm.d]# cd ..

[root at mel1 ofed_stuff]# cd dapl-2.0.15-1.src.rpm.d/

[root at mel1 dapl-2.0.15-1.src.rpm.d]# diff -U4 dapl.spec.ORIG dapl.spec

--- dapl.spec.ORIG      2009-01-07 10:54:01.000000000 -0500

+++ dapl.spec   2009-01-07 10:54:00.000000000 -0500

@@ -42,8 +42,10 @@

 Source:
http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz

 BuildRoot: %(mktemp -ud
%{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

 Requires(post): /sbin/ldconfig

 Requires(postun): /sbin/ldconfig

+Requires(post): sed

+Requires(post): coreutils

 

 %description

 Along with the OpenFabrics kernel drivers, libdat and libdapl provides
a userspace

 RDMA API that supports DAT 2.0 specification and IB transport
extensions for

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

 

 

---> ib-bonding-0.9.0-36.src.rpm

 

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

--- ib-bonding.spec.ORIG        2009-01-07 10:54:01.000000000 -0500

+++ ib-bonding.spec     2009-01-07 10:54:01.000000000 -0500

@@ -19,8 +19,11 @@

 Source          : ib-bonding-%{version}.tar.gz

 Group           : Applications/System

 License         : GPL

 BuildRoot:      %{_tmppath}/%{name}-%{version}-root

+Requires        : module-init-tools

+Requires        : coreutils

+Requires        : patch

 

 %description

 This package provides a bonding device which is capable of enslaving

 IP over InfiniBand (IPoIB) network devices.

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

 

 

---> ibutils-1.2-1.ofed1.4.src.rpm

 

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

--- ibutils.spec.ORIG   2009-01-07 10:54:01.000000000 -0500

+++ ibutils.spec        2009-01-07 10:54:01.000000000 -0500

@@ -36,8 +36,9 @@

 Group: System Environment/Libraries

 Source: http://www.openfabrics.org/downloads/ibutils-1.2.tar.gz

 BuildRoot:
%{?build_root:%{build_root}}%{!?build_root:%{_tmppath}/%{name}-%{version
}-%{release}-root-%(%{__id_u} -n)}

 # Requires: opensm

+Requires: /sbin/ldconfig

 Vendor: Mellanox Technologies Ltd.

 %description

 ibutils provides IB network and path diagnostics.

 

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

 

 

---> ofa_kernel-1.4-ofed1.4.src.rpm

 

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

--- ofa_kernel.spec.ORIG        2009-01-07 10:54:02.000000000 -0500

+++ ofa_kernel.spec     2009-01-07 10:54:02.000000000 -0500

@@ -112,8 +112,12 @@

 %package -n kernel-ib

 PreReq: coreutils

 PreReq: kernel

 Prereq: pciutils

+Prereq: grep

+Prereq: perl

+Prereq: procps

+Prereq: module-init-tools

 Version: %{_version}

 Release: %{krelver}

 Summary: Infiniband Driver and ULPs kernel modules

 Group: System Environment/Libraries

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

 

 

---> open-iscsi-generic-2.0-869.2.src.rpm

 

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

--- open-iscsi-generic.spec.ORIG        2009-01-07 10:54:02.000000000
-0500

+++ open-iscsi-generic.spec     2009-01-07 10:54:02.000000000 -0500

@@ -21,17 +21,19 @@

 

 %package -n iscsi-initiator-utils

 Summary                : iSCSI daemon and utility programs

 Group          : System Environment/Daemons

+Requires(post)  : coreutils

 %description -n iscsi-initiator-utils

 The iscsi package provides the server daemon for the iSCSI protocol,

 as well as the utility programs used to manage it. iSCSI is a protocol

 for distributed disk access using SCSI commands sent over Internet

 Protocol networks.

 

 %package -n open-iscsi

-Summary     : Linux* Open-iSCSI Software Initiator

-Group       : Productivity/Networking/Other

+Summary         : Linux* Open-iSCSI Software Initiator

+Group           : Productivity/Networking/Other

+Requires(post)  : coreutils

 %description -n open-iscsi

 Open-iSCSI is a high-performance, transport independent, multi-platform

 implementation of RFC3720 iSCSI.

 

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

 

 

---> tgt-generic-0.1-20080828.src.rpm

 

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

--- tgt.spec.ORIG       2009-01-07 10:54:02.000000000 -0500

+++ tgt.spec    2009-01-07 10:54:02.000000000 -0500

@@ -19,8 +19,10 @@

 

 %package -n scsi-target-utils

 Summary:        The SCSI target daemon and utility programs

 Group:          System Environment/Daemons

+Requires(post): /sbin/chkconfig

+

 %description -n scsi-target-utils

 The SCSI target package contains the daemon and tools to setup a SCSI
targets.

 Currently, software iSCSI targets are supported.

 

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

 

Mehdi Bozzo-Rey <mailto:mbozzore at platform.com> 

HPC Solution Developer

Platform OCS5
<http://www.platform.com/Products/platform-open-cluster-stack5> 

Platform computing

Phone: +1 905 948 4649

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20090205/f6f8c8db/attachment.html>


More information about the ewg mailing list