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 #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from New to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/357
Actions #2

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset packages:commit:36f82edab17f5c1cb2a75d11ac55092f3954a52d.

Actions #3

Updated by Jonathan CLARKE over 10 years ago

Applied in changeset packages:commit:af697f52f7afca882e0724308954922802213299.

Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from error on upgrade from 2.6 to 2.10 on rudder-agent, could'nt read: /var/rudder/cfengine-community/inputs/run_interval to check-rudder-agent script fails if run_interval file does not exist
Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

This bug has been fixed in Rudder 2.10.2 (announcement , changelog), which were released today.

Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF