Project

General

Profile

Actions

Bug #6439

closed

rudder-agent is stuck, waiting for user input during log compression

Added by Lionel Le Folgoc over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

rudder 3.0.2

If I run manually "cf-agent -KI" on the policy server, it is apparently stuck right after:

2015-03-26T09:25:55+0100     info: /default/root_component_check/methods/'any'/default/compress_webapp_log/files/'/var/log/rudder/webapp'[0]: Transforming '/bin/gzip "/var/log/rudder/webapp/2015_03_13.stderrout.log"' 

After some time I got bored and pressed Enter, and I could see the following log line:

2015-03-26T09:26:02+0100     info: /default/root_component_check/methods/'any'/default/compress_webapp_log/files/'/var/log/rudder/webapp'[0]: gzip: /var/log/rudder/webapp/2015_03_13.stderrout.log.gz already exists; do you wish to overwrite (y or n)?       not overwritten
2015-03-26T09:26:02+0100    error: /default/root_component_check/methods/'any'/default/compress_webapp_log/files/'/var/log/rudder/webapp'[0]: Finished command related to promiser '/var/log/rudder/webapp' -- an error occurred, returned 2
2015-03-26T09:26:02+0100    error: /default/root_component_check/methods/'any'/default/compress_webapp_log/files/'/var/log/rudder/webapp'[0]: Transformer '/var/log/rudder/webapp/2015_03_13.stderrout.log' => '/bin/gzip "/var/log/rudder/webapp/2015_03_13.stderrout.log"' returned error

Then it's stuck the same way for 2015_03_16.stderrout.log…

I guess you should do what's necessary to ensure the commands called are not in interactive mode. ;-)

Thanks.


Related issues 3 (0 open3 closed)

Related to Rudder - Bug #6676: rudder-agent is stuck, waiting for user input during log compression (on 2.10)ReleasedMatthieu CERDA2015-05-27Actions
Related to Rudder - Bug #6995: rudder-agent is stuck, waiting for user input during log compressionRejectedNicolas CHARLESActions
Has duplicate Rudder - Bug #6444: Rudder will hang trying to compress Jetty logfiles if they already existRejectedMatthieu CERDA2015-03-26Actions
Actions

Also available in: Atom PDF