Project

General

Profile

Actions

Bug #5785

closed

dpkg configure error prevents installing rudder-agent due to cf-serverd error

Added by Dennis Cabooter about 10 years ago. Updated almost 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

While upgrading rudder-agent I sometimes see this:

rudder-agent[21002]: [INFO] Launching CFEngine Community cf-serverd...
2014-11-19T11:18:32+0100    error: listen failed. (listen: Bad file descriptor)
rudder-agent[21233]: [ALERT] no PID file for cf-serverd after 30 seconds. Trying again...
2014-11-19T11:19:02+0100    error: listen failed. (listen: Bad file descriptor)
rudder-agent[21463]: [ALERT] no PID file for cf-serverd after 60 seconds. Trying again...
2014-11-19T11:19:33+0100    error: listen failed. (listen: Bad file descriptor)
rudder-agent[21615]: [ALERT] no PID file for cf-serverd after 70 seconds
rudder-agent[21616]: [INFO] Launching CFEngine Community cf-execd...
rudder-agent[21728]: [OK] CFEngine Community cf-execd started after 1 seconds
dpkg: error processing package rudder-agent (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 rudder-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish

I can imagine that it's not quitte clear what's going on. After manually killing all cf- processes and running apt-get -f install, the install finishes without problems.


Subtasks 1 (0 open1 closed)

Bug #5936: rudder-agent 2.10 fails to build on Debian 5ReleasedJonathan CLARKE2014-12-08Actions
Actions #1

Updated by Matthieu CERDA about 10 years ago

  • Category set to System integration
  • Status changed from New to Discussion
  • Assignee set to Dennis Cabooter
  • Priority changed from N/A to 3

Hello Dennis !

Do you see this while upgrading on a Rudder node or a server ?

Actions #2

Updated by Dennis Cabooter about 10 years ago

This was on a node.

Actions #3

Updated by Jonathan CLARKE almost 10 years ago

  • Subject changed from Dpkg configure error to dpkg configure error prevents installing rudder-agent due to cf-serverd error
  • Status changed from Discussion to 8
  • Assignee changed from Dennis Cabooter to Matthieu CERDA
  • Priority changed from 3 to 2
  • Target version set to 2.10.8

I'm not sure why this is happening, but I'm quite sure that it shouldn't break package installation.

Let's start by adding a "|| true" to the end of the line that runs "service rudder-agent [re]start", and avoid this breaking package install. Rudder agent will relaunch cf-serverd if it's not running anyway.

Actions #4

Updated by Benoît PECCATTE almost 10 years ago

  • Status changed from 8 to Pending technical review
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/550
Actions #5

Updated by Benoît PECCATTE almost 10 years ago

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

Applied in changeset packages:rudder-packages|commit:b2d77e8733c45de5266dffc59b1095fd347e98ec.

Actions #6

Updated by Jonathan CLARKE almost 10 years ago

Applied in changeset packages:rudder-packages|commit:6581d14fce709f496cb1b079af63f831bda6365f.

Actions #7

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.8 and 2.11.5, which were released today (16/12/14)

Actions

Also available in: Atom PDF