Project

General

Profile

Actions

Bug #3665

closed

Upgrade rudder-agent through rudder-agent fails due to "Text file busy" on cp

Added by Dennis Cabooter over 11 years ago. Updated about 11 years ago.

Status:
Released
Priority:
3
Assignee:
Matthieu CERDA
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

After upgrading rudder-agent through rudder-agent, the dpkg state is not correct:

# dpkg -l |grep rudd
iF  rudder-agent                         2.6.2-precise0               Configuration management and audit tool - agent

Looking into the rudder-agent output, shows this:

Q:env DEBIAN_FRONTEND= ...:cp: cannot create regular file `/var/rudder/cfengine-community/bin/cf-agent': Text file busy

Proposal:

Would it be a good idea to don't upgrade rudder-agent with the standard technique package management techniques, but as an option in rudder itself? As in: an "upgrade rudder agents" button somewhere, with tick boxes to in-/exclude nodes.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #4098: Rudder-agent upgrade fails if one of the binaries is in use during upgradeReleasedJonathan CLARKE2013-10-22Actions
Has duplicate Rudder - Bug #3667: Update rudder-agent on nodes from rulesRejected2013-06-25Actions
Actions #1

Updated by Vincent MEMBRÉ over 11 years ago

Like I said in #3667, Updating nodes to the same version of Rudder server can be very painful. As you suggest we should really automate this process.

I don't know yet if this should be by using Rules (maybe if the server is not using the same version of cfengine, that will cause problems.) Or may be we could use a one time process launched from the webapp (or API) to update node

Actions #2

Updated by Vincent MEMBRÉ over 11 years ago

  • Tracker changed from Bug to User story
Actions #3

Updated by Nicolas PERRON over 11 years ago

  • Status changed from New to 8
  • Target version changed from 2.6.3 to Ideas (not version specific)
Actions #4

Updated by Jonathan CLARKE about 11 years ago

  • Assignee set to Matthieu CERDA
  • Priority changed from N/A to 3
  • Target version changed from Ideas (not version specific) to 2.4.12

See #4098 for a probable workaround.

Actions #5

Updated by Jonathan CLARKE about 11 years ago

  • Tracker changed from User story to Bug
  • Project changed from 24 to Rudder
  • Subject changed from Upgrade rudder-agent through rudder-agent to Upgrade rudder-agent through rudder-agent fails due to "Text file busy" on cp
Actions #6

Updated by Vincent MEMBRÉ about 11 years ago

  • Status changed from 8 to Pending release
  • % Done changed from 0 to 100

Applied in changeset packages:commit:4918b3c7505ece65979297e485eb9a4fa1469175.

Actions #7

Updated by Jonathan CLARKE about 11 years ago

Applied in changeset packages:commit:4c2663abdf304540c739b911e1cc0eed24307e66.

Actions #8

Updated by Nicolas PERRON about 11 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.4.12 which was released today.
Check out:

Actions

Also available in: Atom PDF