View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000496 | bareos-core | file daemon | public | 2015-07-15 13:16 | 2015-10-02 20:01 |
Reporter | sobolev_es | Assigned To | |||
Priority | none | Severity | text | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | any | OS Version | 3 |
Product Version | 14.2.5 | ||||
Summary | 0000496: File daemon without compression support / director with compression enabled - weird error message | ||||
Description | File daemon was compiled without compression support. Client definition contains fileset with Options { compression = GZIP } Backup job failed with message: 2015-07-15 02:12:34 portal.protei JobId 29226: Error: bsock_tcp.c:427 Wrote 0 bytes to Storage daemon:archive.protei:9103, but only 0 accepted. 2015-07-15 02:12:34 portal.protei JobId 29226: Fatal error: backup.c:1017 Network send error to SD. ERR=Connection reset by peer. 2015-07-15 02:12:34 backup-sd JobId 29226: Fatal error: fd_cmds.c:246 FD command not found: 2 1 0 It would be great to have more meaningful error message, like "File daemon does not support compression". | ||||
Tags | No tags attached. | ||||
bareos: master 05591370 2015-07-16 12:37 Ported: N/A Details Diff |
Clear encryption and compression flags if unsupported. Analog to how we clear the ACL and XATTR flags in a fileset if we run a backup Job on a filed which doesn't support the wanted feature we now also clear any compression or encryption flag. By clearing the flag before we start the actual Job we no longer get those nasty errors in which by the time we call blast_data_to_storage_daemon() we abort the Job due to missing features. Clearing compression flags should be no problem and a warning is logged anyway. For the encryption not being available one could use the new force encrypt flag in the fileset to fail the Job if encryption is an absolute requirement. Fixes 0000496: File daemon without compression support / director with compression enabled - weird error message |
Affected Issues 0000496 |
|
mod - src/filed/dir_cmd.c | Diff File | ||
mod - src/lib/compression.c | Diff File | ||
mod - src/lib/protos.h | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-15 13:16 | sobolev_es | New Issue | |
2015-07-26 13:02 | mvwieringen | Assigned To | => mvwieringen |
2015-07-26 13:02 | mvwieringen | Status | new => assigned |
2015-07-27 16:20 | mvwieringen | Changeset attached | => bareos master 05591370 |
2015-07-27 16:20 | mvwieringen | Note Added: 0001790 | |
2015-07-27 16:20 | mvwieringen | Status | assigned => resolved |
2015-07-27 16:20 | mvwieringen | Resolution | open => fixed |
2015-10-02 20:01 |
|
Assigned To | mvwieringen => |
2015-10-02 20:01 |
|
Status | resolved => closed |