Project

General

Profile

Actions

Bug #4964

closed

User story #4790: Compress inventories before sending to the server using gzip

If inventory sending is aborted once, gzip asks an interactive question

Added by Jonathan CLARKE over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I just saw this in my cf-agent logs:

2014-06-09T08:36:48+0000     info: /default/doInventory/methods/'any'/default/compressInventories/files/'/var/rudder/inventories'[0]: gzip: /var/rudder/inventories/ip-10-56-69-160-2014-06-09-08-30-25.ocs.gz already exists; do you wish to overwrite (y or n)? 
2014-06-09T08:36:48+0000     info: /default/doInventory/methods/'any'/default/compressInventories/files/'/var/rudder/inventories'[0]: Transformer '/var/rudder/inventories/ip-10-56-69-160-2014-06-09-08-30-25.ocs' => '/bin/gzip -q /var/rudder/inventories/ip-10-56-69-160-2014-06-09-08-30-25.ocs' seemed to work ok

This should be suppressed: gzip should not be asking any questions. I think "-f" option should do it.

Actions

Also available in: Atom PDF