Discussion:
Kit Installation fault
March, Agustin M
2008-02-25 21:04:45 UTC
Permalink
Hi ,
I generated a kit following the instruction posted at the KUSU blog (on
the home page). However, the kit could not correctly provisioned on the
cluster. The only log that I found was on the install.log

Installing cluster-runtime - 1.1-1.x86_64
/var/tmp/rpm-tmp.74398: line 213: uname: command not found
error: %post(cluster-runtime-1.1-1.x86_64) scriptlet failed, exit status
1

The rpm work fine, If I installed by hand work ok. But when tried to
installed by KUSU as kit I am not succeed to do. I think that there some
dependences but I don't know how to identify or added on the kit
creation.


Any help will be great.
Regards,



Agustin March <mailto:***@intel.com>
Argentina Distributing Computing Solution
Mike Mazur
2008-02-25 23:58:06 UTC
Permalink
Hi Augustin,

On Mon, 25 Feb 2008 13:04:45 -0800
Post by March, Agustin M
Hi ,
I generated a kit following the instruction posted at the KUSU blog
(on the home page). However, the kit could not correctly provisioned
on the cluster. The only log that I found was on the install.log
Installing cluster-runtime - 1.1-1.x86_64
/var/tmp/rpm-tmp.74398: line 213: uname: command not found
error: %post(cluster-runtime-1.1-1.x86_64) scriptlet failed, exit
status 1
Right, looks like your %post section failed because the uname command
was not found.
Post by March, Agustin M
The rpm work fine, If I installed by hand work ok. But when tried to
installed by KUSU as kit I am not succeed to do. I think that there
some dependences but I don't know how to identify or added on the kit
creation.
uname is provided by the coreutils package:

# which uname
/bin/uname
# rpm -qf `which uname`
coreutils-5.97-12.1.el5

Try putting that in your Requires: section. Also it may be necessary to
put the full path to the uname binary in your %post section.

Hope that helps,
Mike
March, Agustin M
2008-02-26 17:15:04 UTC
Permalink
Hi Mike,
Thank you!! It is a good point. However, I created an installed
a new kit under a node installed which it has just installed with the
package coreutils but it is the same issue, the tool was not correctly
installed. But if I installed by rpm -i the tools is correctly
installed!
Any help or clue on this will be great!

Regards,


-----Original Message-----
From: Mike Mazur [mailto:***@osgdc.org]
Sent: Monday, February 25, 2008 9:58 PM
To: Users of Kusu
Cc: March, Agustin M
Subject: Re: [Kusu-users] Kit Installation fault

Hi Augustin,

On Mon, 25 Feb 2008 13:04:45 -0800
Post by March, Agustin M
Hi ,
I generated a kit following the instruction posted at the KUSU blog
(on the home page). However, the kit could not correctly provisioned
on the cluster. The only log that I found was on the install.log
Installing cluster-runtime - 1.1-1.x86_64
/var/tmp/rpm-tmp.74398: line 213: uname: command not found
error: %post(cluster-runtime-1.1-1.x86_64) scriptlet failed, exit
status 1
Right, looks like your %post section failed because the uname command
was not found.
Post by March, Agustin M
The rpm work fine, If I installed by hand work ok. But when tried to
installed by KUSU as kit I am not succeed to do. I think that there
some dependences but I don't know how to identify or added on the kit
creation.
uname is provided by the coreutils package:

# which uname
/bin/uname
# rpm -qf `which uname`
coreutils-5.97-12.1.el5

Try putting that in your Requires: section. Also it may be necessary to
put the full path to the uname binary in your %post section.

Hope that helps,
Mike
Mike Mazur
2008-02-27 01:13:46 UTC
Permalink
Hi Augustin,

On Tue, 26 Feb 2008 09:15:04 -0800
Post by March, Agustin M
Hi Mike,
Thank you!! It is a good point. However, I created an
installed a new kit under a node installed which it has just
installed with the package coreutils but it is the same issue, the
tool was not correctly installed. But if I installed by rpm -i the
tools is correctly installed!
Any help or clue on this will be great!
Could you post your %post section? or even the entire SPEC file?

Thanks,
Mike

Loading...