View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000746 | bareos-core | director | public | 2016-12-29 19:33 | 2019-07-02 16:17 |
Reporter | Masanetz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | X86_64 | OS | Gentoo Linux | ||
Product Version | 16.2.4 | ||||
Summary | 0000746: Status storage slots picks wrong storage daemon | ||||
Description | I have a configuration with two identical tape libraries (Scalari500_1 and Scalari500_2) on two storage daemons (Scalari500_1 at g8:9103 and Scalari500_2 at g8:9104). 'echo status storage=Scalari500_1 slots | bconsole' shows volumelist as expected. 'echo status storage=Scalari500_2 slots | bconsole' shows an error: >> Connecting to Storage daemon Scalari500_1 at g8:9103 ... >> 3999 Device "Scalari500_2" not found or could not be opened. BUT: typing 'status storage=Scalari500_2' directly followed by 'status storage=Scalari500_2 slots' within the same bconsole session shows the expected volumelist. and typing 'status storage=Scalari500_2' directly followed by 'status storage=Scalari500_1 slots' shows error: >> Connecting to Storage daemon Scalari500_2 at g8:9104 ... >> 3999 Device "Scalari500_1" not found or could not be opened. Even 'status storage=File' followed by 'status storage slots' shows the error... | ||||
Additional Information | The config worked with older version (15.2.2 ???) Even changing Scalari500_2 to an other host did not work. | ||||
Tags | No tags attached. | ||||
bareos: bareos-16.2 3d0a1a0a 2017-05-04 14:43 Committer: joergs Ported: N/A Details Diff |
bcommand: fix problems with multiple storages Unfortunately, the storage abstraction layer introduced some problems with storage handling when multiple storages are defined. The code that connects to the sd uses the storage stored in ua->jcr->res.wstore, but not all code sets this to the currently requested storage. This patch fixes this problem by taking care that the given storage is set as ua->jcr->res.wstore Fixes 0000746: Status storage slots picks wrong storage daemon |
Affected Issues 0000746 |
|
mod - src/dird/sd_cmds.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/dird/ua_purge.c | Diff File | ||
mod - src/dird/ua_status.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-29 19:33 | Masanetz | New Issue | |
2016-12-29 19:33 | Masanetz | File Added: storages.conf | |
2017-06-08 13:17 | joergs | Relationship added | child of 0000794 |
2017-06-08 13:31 | joergs | Status | new => resolved |
2017-06-08 13:31 | joergs | Resolution | open => fixed |
2017-06-08 13:31 | joergs | Assigned To | => joergs |
2017-06-08 13:36 | joergs | Assigned To | joergs => |
2017-06-08 15:21 | joergs | Changeset attached | => bareos bareos-16.2 3d0a1a0a |
2017-06-08 15:21 | joergs | Note Added: 0002649 | |
2019-07-02 16:17 | joergs | Status | resolved => closed |