Bug #2756
closedDuring a migration from 2.3.8 to 2.4.0~beta3 on SLES 11, zypper try to update rudder-cfengine-community package for more than 15 minutes, continue and result in a Rudder Webapp not usable with "No navigation defined"
Description
During a migration from 2.3.8 to 2.4.0~beta3 on SLES 11, zypper try to update rudder-cfengine-community package despite the fact that this package is no more used. Besides, the update of this package hangs on during a lot of time:
sles1164test:~ # zypper update [...] Récupération de paquetage rudder-cfengine-community-1343039613:2.4.0.beta3.git-1.SLES.11.x86_64 (3/10), 7,1 MiB (27,7 MiB decompressé) Récupération : rudder-cfengine-community-2.4.0.beta3.git-1.SLES.11.x86_64.rpm [TERMINÉ (221,2 KiB/s)] Installation : rudder-cfengine-community-1343039613:2.4.0.beta3.git-1.SLES.11 [99%]
It seems that CFengine is in a locked state (DNS problem ?)
sles1164test:~ # ps axf | grep cfengine 5396 pts/1 S+ 0:01 | \_ rpm --root / --dbpath /var/lib/rpm -U --percent --force --nodeps -- /var/cache/zypp/packages/Rudder2.4Nightly/x86_64/rudder-cfengine-community-2.4.0.beta3.git-1.SLES.11.x86_64.rpm 5421 pts/1 S+ 0:00 | \_ /bin/bash /etc/init.d/cfengine-community start 5498 pts/1 S+ 0:00 | \_ /var/rudder/cfengine-community/bin/cf-execd 5614 pts/2 S+ 0:00 \_ grep cfengine 5456 ? Ss 0:00 \_ /bin/sh -c if [ `ps -efww | grep cf-execd | grep "/var/rudder/cfengine-community/bin/cf-execd" | grep -v grep | wc -l` -eq 0 ]; then /var/rudder/cfengine-community/bin/cf-execd; fi 5463 ? S 0:00 \_ /var/rudder/cfengine-community/bin/cf-execd 5490 ? Ss 0:00 /var/rudder/cfengine-community/bin/cf-serverd
At the end, the migration displayed this message:
[...] Sortie rpm supplémentaire: 4ffff39c hdb_db_open: DB_CONFIG for suffix "cn=rudder-configuration" has changed. 4ffff39c Performing database recovery to activate new settings. 4ffff39c hdb_db_open: database "cn=rudder-configuration": recovery skipped in read-only mode. Run manual recovery if errors are encountered. [...]
Files
Updated by Nicolas PERRON about 12 years ago
All the packages seems to be from 2.4 branch:
sles1164test:~ # zypper search -i -s rudder Chargement des données de l'espace de stockage... Lecture des paquetages installés... S | Nom | Type | Version | Arch | Dépôt --+---------------------------+-----------+--------------------------------------+--------+----------------------- i | rudder-agent | paquetage | 1343892235:2.4.0.beta3.git-1.SLES.11 | x86_64 | Rudder 2.4 RPM Nightly i | rudder-cfengine-community | paquetage | 1343039613:2.4.0.beta3.git-1.SLES.11 | x86_64 | Rudder 2.4 RPM Nightly i | rudder-inventory-endpoint | paquetage | 1343891072:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 RPM Nightly i | rudder-inventory-ldap | paquetage | 1343892070:2.4.0.beta3.git-1.SLES.11 | x86_64 | Rudder 2.4 RPM Nightly i | rudder-jetty | paquetage | 1343891363:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 RPM Nightly i | rudder-reports | paquetage | 1343891385:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 RPM Nightly i | rudder-server-root | paquetage | 1343891394:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 RPM Nightly i | rudder-techniques | paquetage | 1343891974:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 RPM Nightly i | rudder-webapp | paquetage | 1343891413:2.4.0.beta3.git-1.SLES.11 | noarch | Rudder 2.4 RPM Nightly
But it is not normal that rudder-agent and rudder-cfengine-community are bith installed.
Updated by Nicolas PERRON about 12 years ago
- File noNavigationDefined.png noNavigationDefined.png added
Here is the screenshot
Updated by Nicolas PERRON about 12 years ago
This is odd, after a /etc/init.d/rudder-server-root restart, Rudder webapp seems to work again with the good version (2.4.0~beta3)
Updated by Nicolas PERRON about 12 years ago
If I try a migration from 2.3.9, all seems to work except that rudder-cfengine-community is not removed and that a restart of jetty is needed.
Updated by Nicolas PERRON about 12 years ago
Maybe my VM was broken as with another one I haven't such problems with the migration from 2.3.8 to 2.4.0~beta3.
the only issue is that rudder-cfengine-community is still installed instead of being removed.
Updated by Nicolas PERRON about 12 years ago
- Status changed from New to Rejected
This bug is not really a bug. We have to restart jetty after a migration just as RPM can't handle services. Then, I reject this issue.
Updated by Nicolas PERRON over 11 years ago
- Project changed from Rudder to 34
- Category deleted (
11)
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 34 to Rudder
- Category set to Packaging