Upgrade rudder-agent through rudder-agent fails due to "Text file busy" on cp
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
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.
Updated by Vincent MEMBRÉ over 10 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
Updated by Nicolas PERRON about 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.4.12 which was released today.
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-November/000061.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog24
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/