Actions
Bug #4964
closedUser story #4790: Compress inventories before sending to the server using gzip
If inventory sending is aborted once, gzip asks an interactive question
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
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