Project

General

Profile

Actions

Bug #4997

closed

check-rudder-agent script fails if run_interval file does not exist

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

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

File defining agent run interval was not created before the update to 2.10

At the end of the upgrade process it tries to read it resulting in an error on rudder-agent upgrade

here is the error:

rudder-agent[18553]: [OK] CFEngine Community cf-execd started after 1 seconds
cat: /var/rudder/cfengine-community/inputs/run_interval: No such file or directory
dpkg: error processing rudder-agent (--configure):

The final error:

dpkg: dependency problems prevent configuration of rudder-server-root:
 rudder-server-root depends on rudder-agent (= 2.10.1-squeeze0); however:
  Package rudder-agent is not configured yet.
dpkg: error processing rudder-server-root (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      Errors were encountered while processing:
 rudder-agent
 rudder-server-root
E: Sub-process /usr/bin/dpkg returned an error code (1)
Actions

Also available in: Atom PDF