Skip to main content

[English version in the next message]

Salut,

Il y a quelques mois j’ai mis à jour mes 4 pollers en version 21.10. Tous ont installé la 21.10 mais 2 d’entre eux sont restés bloqué à la dernière étape “Cleanup”. Comme la mise à jour avait l’air d’être quand même passé j’ai skip le cleanup sans trop y penser. Comme vous pouvez vous en douté j’ai maintenant des problème pour mettre à jour ces 2 pollers.

Tout d’abord, je précise que la mise à jour du central et de mes autres pollers se sont bien passés, j’ai suivi la documentation. https://docs.centreon.com/docs/upgrade/upgrade-from-21-10/

Pour mes 2 pollers à problèmes, j’ai ce retour quand j’exécute cette commande :

yum install -y https://yum.centreon.com/standard/22.04/el7/stable/noarch/RPMS/centreon-release-22.04-3.el7.centos.noarch.rpm

résultat :

Comme vous pouvez le voir sur la deuxième image, le poller bloque de nouveau sur le Cleanup, je suis obligé d’interrompre l’exécution. J’ai quand même essayé de continuer la démarche.

après avoir yum clean all --enablerepo=*, j’ai ce soucis

yum update centreon\*

Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink | 28 kB 00:00:00
* base: centos.mirrors.proxad.net
* centos-sclo-rh: centos.mirrors.proxad.net
* centos-sclo-sclo: centos.mirrors.proxad.net
* epel: mirror.in2p3.fr
* extras: mirrors.ircam.fr
* updates: centos.mirrors.proxad.net
base | 3.6 kB 00:00:00
centos-sclo-rh | 3.0 kB 00:00:00
centos-sclo-sclo | 3.0 kB 00:00:00
centreon-stable | 2.9 kB 00:00:00
centreon-stable-noarch | 2.9 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
puppet6 | 2.5 kB 00:00:00
puppetlabs-deps | 2.5 kB 00:00:00
puppetlabs-products | 2.5 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/14): base/7/x86_64/group_gz | 153 kB 00:00:00
(2/14): centos-sclo-sclo/x86_64/primary_db | 300 kB 00:00:00
(3/14): base/7/x86_64/primary_db | 6.1 MB 00:00:00
(4/14): centos-sclo-rh/x86_64/primary_db | 3.4 MB 00:00:00
(5/14): centreon-stable/x86_64/primary_db | 110 kB 00:00:00
(6/14): centreon-stable-noarch/primary_db | 1.2 MB 00:00:00
(7/14): epel/x86_64/group_gz | 97 kB 00:00:00
(8/14): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(9/14): epel/x86_64/primary_db | 7.0 MB 00:00:00
(10/14): extras/7/x86_64/primary_db | 247 kB 00:00:00
(11/14): puppetlabs-products/x86_64/primary_db | 69 kB 00:00:00
(12/14): updates/7/x86_64/primary_db | 17 MB 00:00:00
(13/14): puppet6/x86_64/primary_db | 468 kB 00:00:00
(14/14): puppetlabs-deps/x86_64/primary_db | 8.4 kB 00:00:00
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package centreon-broker.x86_64 0:21.04.2-3.el7.centos will be updated
---> Package centreon-broker.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-broker.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-broker-cbmod.x86_64 0:21.04.2-3.el7.centos will be updated
---> Package centreon-broker-cbmod.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-broker-cbmod.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-broker-core.x86_64 0:21.04.2-3.el7.centos will be updated
---> Package centreon-broker-core.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-broker-core.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-broker-storage.x86_64 0:21.04.2-3.el7.centos will be updated
---> Package centreon-broker-storage.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-broker-storage.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-clib.x86_64 0:21.04.2-1.el7.centos will be updated
---> Package centreon-clib.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-clib.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-common.noarch 0:21.04.3-1.el7.centos will be updated
---> Package centreon-common.noarch 0:21.10.2-4.el7.centos will be updated
---> Package centreon-common.noarch 0:22.04.3-4.el7.centos will be an update
---> Package centreon-connector.x86_64 0:21.04.2-4.el7.centos will be updated
---> Package centreon-connector.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-connector.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-connector-perl.x86_64 0:21.04.2-4.el7.centos will be updated
---> Package centreon-connector-perl.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-connector-perl.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-connector-ssh.x86_64 0:21.04.2-4.el7.centos will be updated
---> Package centreon-connector-ssh.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-connector-ssh.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-engine.x86_64 0:21.04.3-5.el7.centos will be updated
---> Package centreon-engine.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-engine.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-engine-daemon.x86_64 0:21.04.3-5.el7.centos will be updated
---> Package centreon-engine-daemon.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-engine-daemon.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-engine-extcommands.x86_64 0:21.04.3-5.el7.centos will be updated
---> Package centreon-engine-extcommands.x86_64 0:21.10.0-6.el7 will be updated
---> Package centreon-engine-extcommands.x86_64 0:22.04.0-13.el7 will be an update
---> Package centreon-gorgone.noarch 0:21.10.1-1.el7.centos will be updated
---> Package centreon-gorgone.noarch 0:22.04.0-9.el7.centos will be an update
---> Package centreon-gorgone-centreon-config.noarch 0:21.10.1-1.el7.centos will be updated
---> Package centreon-gorgone-centreon-config.noarch 0:22.04.0-9.el7.centos will be an update
---> Package centreon-nrpe3-plugin.x86_64 0:3.2.1-9.el7.centos will be updated
---> Package centreon-nrpe3-plugin.x86_64 0:4.0.2-1.el7.centos will be updated
---> Package centreon-nrpe3-plugin.x86_64 0:4.0.3-0.el7.centos will be an update
---> Package centreon-perl-libs.noarch 0:21.10.2-4.el7.centos will be updated
---> Package centreon-perl-libs.noarch 0:22.04.3-4.el7.centos will be an update
---> Package centreon-plugin-Applications-Databases-Mysql.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Databases-Mysql.noarch 0:20220727-130028.el7.centos will be an update
--> Processing Dependency: perl(URI::Encode) for package: centreon-plugin-Applications-Databases-Mysql-20220727-130028.el7.centos.noarch
--> Processing Dependency: perl-KeePass-Reader for package: centreon-plugin-Applications-Databases-Mysql-20220727-130028.el7.centos.noarch
---> Package centreon-plugin-Applications-Monitoring-Centreon-Central.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Monitoring-Centreon-Central.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Monitoring-Centreon-Database.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Monitoring-Centreon-Database.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Monitoring-Centreon-Poller.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Monitoring-Centreon-Poller.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Protocol-Bgp.noarch 0:20210622-151444.el7.centos will be updated
---> Package centreon-plugin-Applications-Protocol-Bgp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Protocol-Bgp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Protocol-Dns.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Protocol-Dns.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Protocol-Ftp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Protocol-Ftp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Protocol-Http.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Protocol-Http.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Protocol-Ldap.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Protocol-Ldap.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Applications-Webservers-Apache-Serverstatus.noarch 0:20210622-151444.el7.centos will be updated
---> Package centreon-plugin-Applications-Webservers-Apache-Serverstatus.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Applications-Webservers-Apache-Serverstatus.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Hardware-Printers-Generic-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Hardware-Printers-Generic-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Hardware-Storage-Dell-Compellent-Snmp.noarch 0:20210622-151444.el7.centos will be updated
---> Package centreon-plugin-Hardware-Storage-Dell-Compellent-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Hardware-Storage-Dell-Compellent-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Hardware-Storage-Emc-Datadomain-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Hardware-Storage-Emc-Datadomain-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Network-Cisco-Standard-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Network-Cisco-Standard-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Network-Firewalls-Juniper-Srx-Snmp.noarch 0:20210622-151444.el7.centos will be updated
---> Package centreon-plugin-Network-Firewalls-Juniper-Srx-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Network-Firewalls-Juniper-Srx-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Network-Routers-Juniper-Mseries-Snmp.noarch 0:20210622-151444.el7.centos will be updated
---> Package centreon-plugin-Network-Routers-Juniper-Mseries-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Network-Routers-Juniper-Mseries-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Operatingsystems-Linux-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Operatingsystems-Linux-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Operatingsystems-Windows-Snmp.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Operatingsystems-Windows-Snmp.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-plugin-Virtualization-VMWare-daemon.noarch 0:3.2.1-20210517152645.el7.centos will be updated
---> Package centreon-plugin-Virtualization-VMWare-daemon.noarch 0:3.2.5-20220816072422.el7.centos will be an update
---> Package centreon-plugin-Virtualization-Vmware2-Connector-Plugin.noarch 0:20210622-151444.el7.centos will be updated
---> Package centreon-plugin-Virtualization-Vmware2-Connector-Plugin.noarch 0:20211215-090334.el7.centos will be updated
---> Package centreon-plugin-Virtualization-Vmware2-Connector-Plugin.noarch 0:20220727-130028.el7.centos will be an update
---> Package centreon-poller.noarch 0:22.04.3-4.el7.centos will be obsoleting
---> Package centreon-poller-centreon-engine.noarch 0:21.10.2-4.el7.centos will be obsoleted
---> Package centreon-release.noarch 0:21.10-2.el7.centos will be updated
---> Package centreon-release.noarch 0:22.04-3.el7.centos will be an update
---> Package centreon-trap.noarch 0:21.10.2-4.el7.centos will be updated
---> Package centreon-trap.noarch 0:22.04.3-4.el7.centos will be an update
--> Running transaction check
---> Package perl-KeePass-Reader.noarch 0:0.2-1.el7 will be installed
--> Processing Dependency: perl(XML::LibXML::Simple) for package: perl-KeePass-Reader-0.2-1.el7.noarch
--> Processing Dependency: perl(Crypt::Argon2) for package: perl-KeePass-Reader-0.2-1.el7.noarch
---> Package perl-URI-Encode.noarch 0:0.09-1.el7 will be installed
--> Running transaction check
---> Package perl-Crypt-Argon2.x86_64 0:0.011-1.el7 will be installed
---> Package perl-XML-LibXML-Simple.noarch 0:1.01-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================
Installing:
centreon-poller noarch 22.04.3-4.el7.centos centreon-stable-noarch 12 k
replacing centreon-poller-centreon-engine.noarch 21.10.2-4.el7.centos
Updating:
centreon-broker x86_64 22.04.0-13.el7 centreon-stable 4.7 k
centreon-broker-cbmod x86_64 22.04.0-13.el7 centreon-stable 2.8 M
centreon-broker-core x86_64 22.04.0-13.el7 centreon-stable 1.4 M
centreon-broker-storage x86_64 22.04.0-13.el7 centreon-stable 5.9 M
centreon-clib x86_64 22.04.0-13.el7 centreon-stable 92 k
centreon-common noarch 22.04.3-4.el7.centos centreon-stable-noarch 6.1 k
centreon-connector x86_64 22.04.0-13.el7 centreon-stable 3.0 k
centreon-connector-perl x86_64 22.04.0-13.el7 centreon-stable 219 k
centreon-connector-ssh x86_64 22.04.0-13.el7 centreon-stable 1.3 M
centreon-engine x86_64 22.04.0-13.el7 centreon-stable 3.0 k
centreon-engine-daemon x86_64 22.04.0-13.el7 centreon-stable 5.0 M
centreon-engine-extcommands x86_64 22.04.0-13.el7 centreon-stable 189 k
centreon-gorgone noarch 22.04.0-9.el7.centos centreon-stable-noarch 141 k
centreon-gorgone-centreon-config noarch 22.04.0-9.el7.centos centreon-stable-noarch 5.0 k
centreon-nrpe3-plugin x86_64 4.0.3-0.el7.centos centreon-stable 43 k
centreon-perl-libs noarch 22.04.3-4.el7.centos centreon-stable-noarch 60 k
centreon-plugin-Applications-Databases-Mysql noarch 20220727-130028.el7.centos centreon-stable-noarch 71 k
centreon-plugin-Applications-Monitoring-Centreon-Central noarch 20220727-130028.el7.centos centreon-stable-noarch 60 k
centreon-plugin-Applications-Monitoring-Centreon-Database noarch 20220727-130028.el7.centos centreon-stable-noarch 71 k
centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx noarch 20220727-130028.el7.centos centreon-stable-noarch 52 k
centreon-plugin-Applications-Monitoring-Centreon-Poller noarch 20220727-130028.el7.centos centreon-stable-noarch 58 k
centreon-plugin-Applications-Protocol-Bgp noarch 20220727-130028.el7.centos centreon-stable-noarch 56 k
centreon-plugin-Applications-Protocol-Dns noarch 20220727-130028.el7.centos centreon-stable-noarch 50 k
centreon-plugin-Applications-Protocol-Ftp noarch 20220727-130028.el7.centos centreon-stable-noarch 52 k
centreon-plugin-Applications-Protocol-Http noarch 20220727-130028.el7.centos centreon-stable-noarch 63 k
centreon-plugin-Applications-Protocol-Ldap noarch 20220727-130028.el7.centos centreon-stable-noarch 51 k
centreon-plugin-Applications-Webservers-Apache-Serverstatus noarch 20220727-130028.el7.centos centreon-stable-noarch 52 k
centreon-plugin-Hardware-Printers-Generic-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 59 k
centreon-plugin-Hardware-Storage-Dell-Compellent-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 73 k
centreon-plugin-Hardware-Storage-Emc-Datadomain-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 60 k
centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 58 k
centreon-plugin-Network-Cisco-Standard-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 104 k
centreon-plugin-Network-Firewalls-Juniper-Srx-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 88 k
centreon-plugin-Network-Routers-Juniper-Mseries-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 88 k
centreon-plugin-Operatingsystems-Linux-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 91 k
centreon-plugin-Operatingsystems-Windows-Snmp noarch 20220727-130028.el7.centos centreon-stable-noarch 82 k
centreon-plugin-Virtualization-VMWare-daemon noarch 3.2.5-20220816072422.el7.centos centreon-stable-noarch 45 k
centreon-plugin-Virtualization-Vmware2-Connector-Plugin noarch 20220727-130028.el7.centos centreon-stable-noarch 74 k
centreon-release noarch 22.04-3.el7.centos centreon-stable-noarch 3.4 k
centreon-trap noarch 22.04.3-4.el7.centos centreon-stable-noarch 7.5 k
Installing for dependencies:
perl-Crypt-Argon2 x86_64 0.011-1.el7 centreon-stable 28 k
perl-KeePass-Reader noarch 0.2-1.el7 centreon-stable-noarch 15 k
perl-URI-Encode noarch 0.09-1.el7 centreon-stable-noarch 18 k
perl-XML-LibXML-Simple noarch 1.01-1.el7 centreon-stable-noarch 26 k

Transaction Summary
==============================================================================================================================================================================================
Install 1 Package (+4 Dependent packages)
Upgrade 40 Packages

Total download size: 19 M
Is this ok cy/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/45): centreon-broker-22.04.0-13.el7.x86_64.rpm | 4.7 kB 00:00:00
(2/45): centreon-broker-cbmod-22.04.0-13.el7.x86_64.rpm | 2.8 MB 00:00:00
(3/45): centreon-broker-core-22.04.0-13.el7.x86_64.rpm | 1.4 MB 00:00:00
(4/45): centreon-clib-22.04.0-13.el7.x86_64.rpm | 92 kB 00:00:00
(5/45): centreon-connector-22.04.0-13.el7.x86_64.rpm | 3.0 kB 00:00:00
(6/45): centreon-common-22.04.3-4.el7.centos.noarch.rpm | 6.1 kB 00:00:00
(7/45): centreon-connector-perl-22.04.0-13.el7.x86_64.rpm | 219 kB 00:00:00
(8/45): centreon-broker-storage-22.04.0-13.el7.x86_64.rpm | 5.9 MB 00:00:00
(9/45): centreon-engine-22.04.0-13.el7.x86_64.rpm | 3.0 kB 00:00:00
(10/45): centreon-connector-ssh-22.04.0-13.el7.x86_64.rpm | 1.3 MB 00:00:00
(11/45): centreon-engine-extcommands-22.04.0-13.el7.x86_64.rpm | 189 kB 00:00:00
(12/45): centreon-nrpe3-plugin-4.0.3-0.el7.centos.x86_64.rpm | 43 kB 00:00:00
(13/45): centreon-engine-daemon-22.04.0-13.el7.x86_64.rpm | 5.0 MB 00:00:00
(14/45): centreon-gorgone-22.04.0-9.el7.centos.noarch.rpm | 141 kB 00:00:00
(15/45): centreon-gorgone-centreon-config-22.04.0-9.el7.centos.noarch.rpm | 5.0 kB 00:00:00
(16/45): centreon-perl-libs-22.04.3-4.el7.centos.noarch.rpm | 60 kB 00:00:00
(17/45): centreon-plugin-Applications-Databases-Mysql-20220727-130028.el7.centos.noarch.rpm | 71 kB 00:00:00
(18/45): centreon-plugin-Applications-Monitoring-Centreon-Central-20220727-130028.el7.centos.noarch.rpm | 60 kB 00:00:00
(19/45): centreon-plugin-Applications-Monitoring-Centreon-Database-20220727-130028.el7.centos.noarch.rpm | 71 kB 00:00:00
(20/45): centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx-20220727-130028.el7.centos.noarch.rpm | 52 kB 00:00:00
(21/45): centreon-plugin-Applications-Monitoring-Centreon-Poller-20220727-130028.el7.centos.noarch.rpm | 58 kB 00:00:00
(22/45): centreon-plugin-Applications-Protocol-Bgp-20220727-130028.el7.centos.noarch.rpm | 56 kB 00:00:00
(23/45): centreon-plugin-Applications-Protocol-Dns-20220727-130028.el7.centos.noarch.rpm | 50 kB 00:00:00
(24/45): centreon-plugin-Applications-Protocol-Ftp-20220727-130028.el7.centos.noarch.rpm | 52 kB 00:00:00
(25/45): centreon-plugin-Applications-Protocol-Http-20220727-130028.el7.centos.noarch.rpm | 63 kB 00:00:00
(26/45): centreon-plugin-Applications-Protocol-Ldap-20220727-130028.el7.centos.noarch.rpm | 51 kB 00:00:00
(27/45): centreon-plugin-Applications-Webservers-Apache-Serverstatus-20220727-130028.el7.centos.noarch.rpm | 52 kB 00:00:00
(28/45): centreon-plugin-Hardware-Storage-Dell-Compellent-Snmp-20220727-130028.el7.centos.noarch.rpm | 73 kB 00:00:00
(29/45): centreon-plugin-Hardware-Printers-Generic-Snmp-20220727-130028.el7.centos.noarch.rpm | 59 kB 00:00:00
(30/45): centreon-plugin-Hardware-Storage-Emc-Datadomain-Snmp-20220727-130028.el7.centos.noarch.rpm | 60 kB 00:00:00
(31/45): centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp-20220727-130028.el7.centos.noarch.rpm | 58 kB 00:00:00
(32/45): centreon-plugin-Network-Cisco-Standard-Snmp-20220727-130028.el7.centos.noarch.rpm | 104 kB 00:00:00
(33/45): centreon-plugin-Network-Firewalls-Juniper-Srx-Snmp-20220727-130028.el7.centos.noarch.rpm | 88 kB 00:00:00
(34/45): centreon-plugin-Network-Routers-Juniper-Mseries-Snmp-20220727-130028.el7.centos.noarch.rpm | 88 kB 00:00:00
(35/45): centreon-plugin-Operatingsystems-Linux-Snmp-20220727-130028.el7.centos.noarch.rpm | 91 kB 00:00:00
(36/45): centreon-plugin-Operatingsystems-Windows-Snmp-20220727-130028.el7.centos.noarch.rpm | 82 kB 00:00:00
(37/45): centreon-plugin-Virtualization-VMWare-daemon-3.2.5-20220816072422.el7.centos.noarch.rpm | 45 kB 00:00:00
(38/45): centreon-plugin-Virtualization-Vmware2-Connector-Plugin-20220727-130028.el7.centos.noarch.rpm | 74 kB 00:00:00
(39/45): centreon-poller-22.04.3-4.el7.centos.noarch.rpm | 12 kB 00:00:00
(40/45): centreon-release-22.04-3.el7.centos.noarch.rpm | 3.4 kB 00:00:00
(41/45): centreon-trap-22.04.3-4.el7.centos.noarch.rpm | 7.5 kB 00:00:00
(42/45): perl-KeePass-Reader-0.2-1.el7.noarch.rpm | 15 kB 00:00:00
(43/45): perl-XML-LibXML-Simple-1.01-1.el7.noarch.rpm | 26 kB 00:00:00
(44/45): perl-URI-Encode-0.09-1.el7.noarch.rpm | 18 kB 00:00:00
(45/45): perl-Crypt-Argon2-0.011-1.el7.x86_64.rpm | 28 kB 00:00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 14 MB/s | 19 MB 00:00:01
Running transaction check
Running transaction test


Transaction check error:
package centreon-release-22.04-3.el7.centos.noarch is already installed

Error Summary
-------------

Il considère que le centreon-release-22.04-3 est déjà installé alors que pas du tout (j’ai terminé la procédure jusqu’au bout pour être sur) :

voir 2e et 4e ligne du tableau

J’ai donc essayé plusieurs choses :

j’ai supprimé le repository de centreon

rm /etc/yum.repos.d/centreon.*

j’ai supprimé tous les packages  en 21.04

rpm -qa | grep centreon| grep 21.04
centreon-common-21.04.3-1.el7.centos.noarch
centreon-engine-daemon-21.04.3-5.el7.centos.x86_64
centreon-connector-ssh-21.04.2-4.el7.centos.x86_64
centreon-broker-cbmod-21.04.2-3.el7.centos.x86_64
centreon-clib-21.04.2-1.el7.centos.x86_64
centreon-broker-21.04.2-3.el7.centos.x86_64
centreon-broker-storage-21.04.2-3.el7.centos.x86_64
centreon-engine-extcommands-21.04.3-5.el7.centos.x86_64
centreon-connector-perl-21.04.2-4.el7.centos.x86_64
centreon-engine-21.04.3-5.el7.centos.x86_64
centreon-broker-core-21.04.2-3.el7.centos.x86_64
centreon-connector-21.04.2-4.el7.centos.x86_64
4root@pa3-poller02 ~]#
>root@pa3-poller02 ~]#
4root@pa3-poller02 ~]# rpm -qa | grep centreon| grep 21.04
centreon-common-21.04.3-1.el7.centos.noarch
centreon-engine-daemon-21.04.3-5.el7.centos.x86_64
centreon-connector-ssh-21.04.2-4.el7.centos.x86_64
centreon-broker-cbmod-21.04.2-3.el7.centos.x86_64
centreon-clib-21.04.2-1.el7.centos.x86_64
centreon-broker-21.04.2-3.el7.centos.x86_64
centreon-broker-storage-21.04.2-3.el7.centos.x86_64
centreon-engine-extcommands-21.04.3-5.el7.centos.x86_64
centreon-connector-perl-21.04.2-4.el7.centos.x86_64
centreon-engine-21.04.3-5.el7.centos.x86_64
centreon-broker-core-21.04.2-3.el7.centos.x86_64
centreon-connector-21.04.2-4.el7.centos.x86_64
4root]# rpm -e centreon-common-21.04.3-1.el7.centos.noarch centreon-engine-daemon-21.04.3-5.el7.centos.x86_64 centreon-connector-ssh-21.04.2-4.el7.centos.x86_64 centreon-broker-cbmod-21.04.2-3.el7.centos.x86_64 centreon-clib-21.04.2-1.el7.centos.x86_64 centreon-broker-21.04.2-3.el7.centos.x86_64 centreon-broker-storage-21.04.2-3.el7.centos.x86_64 centreon-engine-extcommands-21.04.3-5.el7.centos.x86_64 centreon-connector-perl-21.04.2-4.el7.centos.x86_64 centreon-engine-21.04.3-5.el7.centos.x86_64 centreon-broker-core-21.04.2-3.el7.centos.x86_64 centreon-connector-21.04.2-4.el7.centos.x86_64
-root]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base centos-sclo-rh centos-sclo-sclo centreon-stable centreon-stable-noarch epel extras puppet6 puppetlabs-deps puppetlabs-products updates
Cleaning up list of fastest mirrors
sroot]# yum-complete-transaction
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink | 31 kB 00:00:00
* base: centos.mirrors.proxad.net
* centos-sclo-rh: centos.mirrors.proxad.net
* centos-sclo-sclo: centos.mirrors.proxad.net
* epel: mirror.in2p3.fr
* extras: centos.mirrors.proxad.net
* updates: centos.mirrors.proxad.net
base | 3.6 kB 00:00:00
centos-sclo-rh | 3.0 kB 00:00:00
centos-sclo-sclo | 3.0 kB 00:00:00
centreon-stable | 2.9 kB 00:00:00
centreon-stable-noarch | 2.9 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
puppet6 | 2.5 kB 00:00:00
puppetlabs-deps | 2.5 kB 00:00:00
puppetlabs-products | 2.5 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/14): base/7/x86_64/group_gz | 153 kB 00:00:00
(2/14): centos-sclo-sclo/x86_64/primary_db | 300 kB 00:00:00
(3/14): centreon-stable/x86_64/primary_db | 110 kB 00:00:00
(4/14): centreon-stable-noarch/primary_db | 1.2 MB 00:00:00
(5/14): base/7/x86_64/primary_db | 6.1 MB 00:00:00
(6/14): centos-sclo-rh/x86_64/primary_db | 3.4 MB 00:00:00
(7/14): epel/x86_64/group_gz | 97 kB 00:00:00
(8/14): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(9/14): extras/7/x86_64/primary_db | 247 kB 00:00:00
(10/14): puppetlabs-deps/x86_64/primary_db | 8.4 kB 00:00:00
(11/14): epel/x86_64/primary_db | 7.0 MB 00:00:00
(12/14): puppet6/x86_64/primary_db | 468 kB 00:00:00
(13/14): puppetlabs-products/x86_64/primary_db | 69 kB 00:00:00
(14/14): updates/7/x86_64/primary_db | 17 MB 00:00:00
There are 2 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 0 elements left to run
Nothing in the unfinished transaction to cleanup.
Cleaning up completed transaction file
iroot]# rm /var/lib/rpm/.rpm*
rm: remove regular empty file ‘/var/lib/rpm/.rpm.lock’? y

avant d’installer la 22.04 mais rien n’y fait.

 

Hallo @Wisonic 

 

Do you see any 21.x repos in your pollers with:

yum repolist all

 Looks like the cleanup completed no? did you try to upgrade again?

 

🤔


Hi @Wisonic

I believe what happened is due to having interrupted yum before it had finished a task (cf invitations to run `yum-complete-transaction` in the first screenshot). One should never kill yum, it does sometimes challenge our patience but it always has to finish its work. I sometimes put it to the background (Ctrl-Z + `bg`) in order to be able to restart a service while it ends.

Now, how can we work this out? I would personnally reinstall the poller. It is not the most satisfying solution but it will save you some time. Alternatively, I’m sure you can find troubleshooting tips regarding yum-complete-transaction and finally have this all fixed. What you have here is a general yum issue, nothing specific to Centreon.

 


Hi,
Thank you for your answers. I managed to find a solution in the end. I deleted all the RPM packages related to a version (in my case I had 21.04, 21.10 and 22.04). Do not touch rpm of centreon which has no version in its file name, it is not necessary.

Before you have to stop all centreon services (centengine,...). Then I ran the following commands:

rpm -qa | centeron grep | grep <centreon version>
rpm -e <packages name>

Please note that some packages have dependencies, they must be deleted together.I did this for all versions.

afterwards,

yum clean all
yum-complete-transaction

then reinstall all

yum install -y https://yum.centreon.com/standard/22.04/el7/stable/noarch/RPMS/centreon-release-22.04-3.el7.centos.noarch.rpm
yum install -y centreon-poller
systemctl enable centreon centengine centreontrapd snmptrapd
systemctl start centreontrapd snmptrapd
systemctl restart centengine

And finally restart Gorgone on the Central

systemctl restart gorgoned

 


Hi,

I have the same problem.

But when i use rpm -e i have an error :

 

rpm -e centreon-release-20.04-2.el7.centos.noarch
warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock

 


Hi @Tanakaz

You seem to have a transaction that is in progress or that has not ended correctly. I advise you to troubleshoot why yum/dnf is stuck, but your issue is a system issue, not a software issue.

 


Reply