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.
Updated by Jonathan CLARKE over 10 years ago
- Priority changed from 2 to 1 (highest)
This is actually worse than I thought: it blocks the cf-agent process until you press enter.
Updated by Jonathan CLARKE over 10 years ago
- Status changed from 8 to In progress
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
I confirm "-f" fixes the problem, pull requesting.
Updated by Jonathan CLARKE over 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/396
Updated by Jonathan CLARKE over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:ca4fb89aee33871c35fe5223c541d9c0c0c0c0b2.
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.0~beta1 that was released yesterday.
- announcement
- changelog
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE over 9 years ago
- Category changed from 26 to Web - Nodes & inventories
Actions