[rudder-users] Package management for RHEL / CentOS / SuSE / RPM systems

Prestasit01 prestasit01 at ouest-france.fr
Tue May 6 16:22:17 CEST 2014


Hi, I'm back ! Sorry for the latency.

To help us understand the cause of the issue, could you tell us which operating system are you using, and could you also:
- remove the package on the node
=> done

- remove the files /var/rudder/configuration-repository/state/software_packages.csv and /var/rudder/cfengine-community/state.*
=> file does not exist, but /var/rudder/cfengine-community/state/software_packages.csv exist.
=> the software_packages.csv  is empty on the rudder-root-server
=> the software_packages.csv  contain a lot of line (exemple : bzip2,1.0.5-7.el6_0,x86_64,yum) but there is no reference to the package i try to install on.

- run package installation part in verbose mode, outputing its output in a file
/var/rudder/cfengine-community/bon/cf-agent -Kvb check_rpm_package_installation > install.out
and send us the install.out file, so that we can look at what is wrong.
=> in attachment : the install.out file and the command.out (result of this command /opt/rudder/bin/cf-agent -KI  , as the other one don't do any install)

As you can see in this files : we are tryin to install one of our homemade package : php54 version 5.4.23, the directive seems to be correctly written but the installation done is another php54 (version 5.4.26)

[cid:image002.jpg at 01CF6947.5946F250]

I hope it will help to find a solution.

BR

Cédric


De : Nicolas Charles [mailto:nicolas.charles at normation.com]
Envoyé : lundi 24 mars 2014 09:38
À : Prestasit01; "Vincent Membré (vincent.membre at normation.com)"
Cc : rudder-users at lists.rudder-project.org; Le Haies Cyrille
Objet : Re: [rudder-users] Package management for RHEL / CentOS / SuSE / RPM systems

Hi Cedric,

This ought to work, sorry about that.

To help us understand the cause of the issue, could you tell us which operating system are you using, and could you also:
- remove the package on the node
- remove the files /var/rudder/configuration-repository/state/software_packages.csv and /var/rudder/cfengine-community/state.*
- run package installation part in verbose mode, outputing its output in a file
/var/rudder/cfengine-community/bon/cf-agent -Kvb check_rpm_package_installation > install.out
and send us the install.out file, so that we can look at what is wrong.

Thank you,
Nicolas

On 24/03/2014 09:27, Prestasit01 wrote:
Hello,

Any idea ?

BR
Cedric

De : rudder-users-bounces at lists.rudder-project.org<mailto:rudder-users-bounces at lists.rudder-project.org> [mailto:rudder-users-bounces at lists.rudder-project.org] De la part de Prestasit01
Envoyé : vendredi 21 mars 2014 10:54
À : 'Nicolas Charles'; "Vincent Membré (vincent.membre at normation.com<mailto:vincent.membre at normation.com>)"
Cc : rudder-users at lists.rudder-project.org<mailto:rudder-users at lists.rudder-project.org>
Objet : [rudder-users] Package management for RHEL / CentOS / SuSE / RPM systems

Hello,

We are using :

-          the Package management for RHEL / CentOS / SuSE / RPM systems v5.0

-          rudder 2.6.11

I'm trying to install a specific version of my package 1.6.2 (x64) :

[cid:image001.jpg at 01CF6943.931E8550]
On my repo i also have this package in 1.8.0 (x64) version.

Both of theses packages can be installed manually.

My issue is that the package installed is the 1.8.0 instead of the 1.6.2.

As you can see the configuration is set to install only and with a specific version «criteria below » is selected with « == this exact version »

In addition :

-          We do not launch the « yum update » command. So normally the version installed should be the 1.6.2

-          Package is not installed before the run of the rule

-          A yum clean all has been done before all of theses actions and our 2 packages are available to be installed (check by trying yum install without confirming)

Is someone here has already encountered this issue ?

BR

Cedric
-------------------------------------------------------------------------
Les informations ou pieces jointes contenues dans ce message sont confidentielles. Seul le destinataire expressement vise peut en prendre connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.




--

Nicolas CHARLES

-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont
confidentielles. Seul le destinataire expressement vise peut en prendre
connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140506/18e647f5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 23918 bytes
Desc: image001.jpg
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140506/18e647f5/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 27939 bytes
Desc: image002.jpg
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140506/18e647f5/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: command.out
Type: application/octet-stream
Size: 24707 bytes
Desc: command.out
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140506/18e647f5/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install.out
Type: application/octet-stream
Size: 82803 bytes
Desc: install.out
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140506/18e647f5/attachment-0003.obj>


More information about the rudder-users mailing list