View Issue Details

IDProjectCategoryView StatusLast Update
0000496bareos-corefile daemonpublic2015-10-02 20:01
Reportersobolev_es Assigned To 
PrioritynoneSeveritytextReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSanyOS Version3
Product Version14.2.5 
Summary0000496: File daemon without compression support / director with compression enabled - weird error message
DescriptionFile 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".
TagsNo tags attached.

Activities

mvwieringen

mvwieringen

2015-07-27 16:20

developer   ~0001790

Fix committed to bareos master branch with changesetid 5439.

Related Changesets

bareos: master 05591370

2015-07-16 12:37

mvwieringen

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

Issue History

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 mvwieringen adm Assigned To mvwieringen =>
2015-10-02 20:01 mvwieringen adm Status resolved => closed