Project

General

Profile

Actions

Bug #4087

closed

Agent upgrade does not work if /opt/rudder/etc/disable-agent file exists

Added by Vincent MEMBRÉ over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I try to upgrade two nodes:

one debian 5 with rudder-agent 2.6.8 installed

one ubuntu 12 04 with rudder-agent 2.7.5 installed

I tried to upgrade both nodes to 2.8.0~rc1 and they were both blocked by file /opt/rudder/etc/disable-agent


debian-5-64:~# sudo apt-get install rudder-agent
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
rudder-agent est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 0o d'espace disque supplémentaires seront utilisés.
Paramétrage de rudder-agent (2.8.0~beta1-lenny0) ...
Making sure that the permissions on the CFEngine key directory are correct...
rudder-agent[26797]: [INFO] Using /etc/default/rudder-agent for configuration
rudder-agent[26800]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
rudder-agent[26801]: [INFO] Halting CFEngine Community cf-serverd...
rudder-agent[26802]: [INFO] can't read PID file, not stopping cf-serverd
rudder-agent[26803]: [INFO] Halting CFEngine Community cf-execd...
rudder-agent[26804]: [INFO] can't read PID file, not stopping cf-execd
rudder-agent[26810]: [INFO] Found no CFEngine Community cf-serverd processes running
rudder-agent[26817]: [INFO] Found no CFEngine Community cf-execd processes running
CFEngine binaries copied to workdir
rudder-agent[26830]: [INFO] Using /etc/default/rudder-agent for configuration
rudder-agent[26833]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
rudder-agent[26834]: [ALERT] The /opt/rudder/etc/disable-agent flag file is present. The agent cannot be started.
dpkg : erreur de traitement de rudder-agent (--configure) :
 le sous-processus post-installation script a retourné une erreur de sortie d'état 3
Des erreurs ont été rencontrées pendant l'exécution :
 rudder-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)
Actions

Also available in: Atom PDF