View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001600 | bareos-core | file daemon | public | 2024-02-16 09:39 | 2024-02-20 10:03 |
Reporter | m.limarenko | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Summary | 0001600: The file daemon cannot communicate with the storage daemon (got 2902 Bad storage) | ||||
Description | The file daemon versions 23.* and 24.* cannot communicate with the storage daemon. Here is the configuration fd /etc/bareos/bareos-fd.d/director/bareos.foobar.xyz.conf Director { Name = "bareos.foobar.xyz" Password = "PtVQWW1lAazlGPgz" TlsEnable = no TlsRequire = no } this configuration works fine on any version up to and including 22.*, but when installing a package version 23.* or 24.*, I get this error 13 2024-02-13 08:03:50 bareos.foobar.xyz JobId 16849: Error: Bareos bareos.foobar.xyz 23.0.2~pre42.73384cd07 (07Feb24): Build OS: Debian GNU/Linux 12 (bookworm) JobId: 16849 Job: pxm-vault02.foobar.xyz-DefaultLinuxJob.2024-02-13_08.03.17_07 Backup Level: Full Client: "pxm-vault02.foobar.xyz" 23.0.2~pre42.73384cd07 (07Feb24) Debian GNU/Linux 12 (bookworm),debian FileSet: "DefaultLinuxFileSet" 2023-05-29 17:44:47 Pool: "Full" (From command line) Catalog: "bareos.foobar.xyz" (From Client resource) Storage: "File" (From Job resource) Scheduled time: 13-Feb-2024 08:03:17 Start time: 13-Feb-2024 08:03:20 End time: 13-Feb-2024 08:03:49 Elapsed time: 29 secs Priority: 5 Allow Mixed Priority: no FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS: no Encryption: no Accurate: no Volume name(s): Volume Session Id: 1 Volume Session Time: 1707807712 Last Volume Bytes: 0 (0 B) Non-fatal FD errors: 2 SD Errors: 0 FD termination status: Fatal Error SD termination status: Bareos binary info: Bareos community build (UNSUPPORTED): Get professional support from https://www.bareos.com Job triggered by: User Termination: *** Backup Error *** 12 2024-02-13 08:03:20 bareos.foobar.xyz JobId 16849: Fatal error: Bad response to Storage command: wanted 2000 OK storage , got 2902 Bad storage 11 2024-02-13 08:03:20 pxm-vault02-fd JobId 16849: Fatal error: Failed to authenticate Storage daemon. 10 2024-02-13 08:03:20 pxm-vault02-fd JobId 16849: Fatal error: Tls handshake failed. 9 2024-02-13 08:03:20 pxm-vault02-fd JobId 16849: Encryption: None 8 2024-02-13 08:03:20 bareos.foobar.xyz JobId 16849: Using Device "FileStorage" to write. 7 2024-02-13 08:03:19 bareos.foobar.xyz JobId 16849: Encryption: None 6 2024-02-13 08:03:19 bareos.foobar.xyz JobId 16849: Handshake: Cleartext 5 2024-02-13 08:03:19 bareos.foobar.xyz JobId 16849: Connected Client: pxm-vault02.foobar.xyz at pxm-vault02.foobar.xyz:9102, encryption: None 4 2024-02-13 08:03:19 bareos.foobar.xyz JobId 16849: Probing client protocol... (result will be saved until config reload) 3 2024-02-13 08:03:19 bareos.foobar.xyz JobId 16849: Encryption: None 2 2024-02-13 08:03:19 bareos.foobar.xyz JobId 16849: Connected Storage daemon at bareos.foobar.xyz:9103, encryption: None 1 2024-02-13 08:03:19 bareos.foobar.xyz JobId 16849: Start Backup JobId 16849, Job=pxm-vault02.foobar.xyz-DefaultLinuxJob.2024-02-13_08.03.17_07 ======== the problem is in the bareos-filedaemon package, the behavior is the same on versions debian 10,11,12 ubuntu 20/22, also this behavior is the same for all versions of the server (20,21,22,23,24) | ||||
Steps To Reproduce | 1. install the bareos-filedaemon package version 23 or 24 2. try to make a backup | ||||
Tags | 22, 23, 24, bareos-fd, bareos-filedaemon | ||||
Did you set TlsRequire = no also on the file daemon and the storage daemon ? according to the changelog https://github.com/bareos/bareos/blob/Release/23.0.0/CHANGELOG.md#breaking-changes this option default has changed on director, file and storage daemon. I migrated to Bareos 23 lately and did set the option on director, file and storage daemon and it is working for me. |
|
yes, I have tls disabled everywhere, at the moment version 24.0.0~pre320.09316dc1f is installed on the server, but I can only get fd-clients no older than version 22.* to work. Here are my server configs /etc/bareos/bareos-sd.d/storage/bareos-sd.conf Storage { Name = bareos-sd Maximum Concurrent Jobs = 20 # remove comment from "Plugin Directory" to load plugins from specified directory. # if "Plugin Names" is defined, only the specified plugins will be loaded, # otherwise all storage plugins (*-sd.so) from the "Plugin Directory". # # Plugin Directory = "/usr/lib/bareos/plugins" # Plugin Names = "" TlsEnable = no TlsRequire = no } /etc/bareos/bareos-sd.d/director/bareos.foobar.xyz.conf Director { Name = bareos.foobar.xyz Password = "<PASSWORD>" Description = "Director, who is permitted to contact this storage daemon." Monitor = no TlsEnable = no TlsRequire = no } /etc/bareos/bareos-dir.d/director/bareos.foobar.xyz.conf Director { # define myself Name = bareos.foobar.xyz QueryFile = "/usr/lib/bareos/scripts/query.sql" Maximum Concurrent Jobs = 20 Password = "<PASSWORD>" # Console password Messages = Daemon Auditing = yes # Enable the Heartbeat if you experience connection losses # (eg. because of your router or firewall configuration). # Additionally the Heartbeat can be enabled in bareos-sd and bareos-fd. # # Heartbeat Interval = 1 min # remove comment in next line to load dynamic backends from specified directory # Backend Directory = /usr/lib/bareos/backends # remove comment from "Plugin Directory" to load plugins from specified directory. # if "Plugin Names" is defined, only the specified plugins will be loaded, # otherwise all director plugins (*-dir.so) from the "Plugin Directory". # # Plugin Directory = "/usr/lib/bareos/plugins" # Plugin Names = "" TlsEnable = no TlsRequire = no } |
|
Invalid : configuration troubles, support is done in Mailing list for this kind of issues | |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-16 09:39 | m.limarenko | New Issue | |
2024-02-16 09:39 | m.limarenko | Tag Attached: 22 | |
2024-02-16 09:39 | m.limarenko | Tag Attached: 23 | |
2024-02-16 09:39 | m.limarenko | Tag Attached: 24 | |
2024-02-16 09:39 | m.limarenko | Tag Attached: bareos-fd | |
2024-02-16 09:39 | m.limarenko | Tag Attached: bareos-filedaemon | |
2024-02-17 07:52 | Int | Note Added: 0005781 | |
2024-02-17 09:45 | m.limarenko | Note Added: 0005782 | |
2024-02-20 10:03 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2024-02-20 10:03 | bruno-at-bareos | Status | new => closed |
2024-02-20 10:03 | bruno-at-bareos | Resolution | open => no change required |
2024-02-20 10:03 | bruno-at-bareos | Note Added: 0005783 |