View Issue Details

IDProjectCategoryView StatusLast Update
0001220bareos-corestorage daemonpublic2020-11-30 15:47
Reporterfrank Assigned Tofrank  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version19.2.6 
Summary0001220: default drive index not set to 0
Description02-Apr 14:29 bareos-sd JobId 14: 3304 Issuing autochanger "load slot 1,
drive 65535" command.
02-Apr 14:29 bareos-sd JobId 14: Fatal error: 3992 Bad autochanger "load
slot 1, drive 65535": ERR=Child exited with code 1.
Steps To ReproduceIf you do not set the DriveIndex directive in your tape drive device resource, the default value of the DriveIndex is not applied and set to 0, instead it has the maximum value 65535.

# default:0, only required if the autoloader have multiple drives.
#DriveIndex = 0

If you set the DriveIndex explicitly in your Device Resource it works fine.

# default:0, only required if the autoloader have multiple drives.
DriveIndex = 0
TagsNo tags attached.

Relationships

related to 0001187 closedarogge_adm Release Bareos 19.2.7 
related to 0001282 closedarogge Release Bareos 20.0.0 

Activities

frank

frank

2020-04-03 14:22

developer   ~0003925

Fix committed to bareos bareos-19.2 branch with changesetid 13191.

Related Changesets

bareos: master e8a4e863

2020-04-02 20:27

frank

Ported: N/A

Details Diff
core: fix default drive and drive index value

The default drive and drive index value should be set to 0 instead
of -1 in the DeviceResource constructor.

Fixes 0001220: default drive index not set to 0
Affected Issues
0001220
mod - core/src/stored/device_resource.cc Diff File

bareos: bareos-19.2 60e7731c

2020-04-02 20:27

frank

Ported: N/A

Details Diff
core: fix default drive and drive index value

The default drive and drive index value should be set to 0 instead
of -1 in the DeviceResource constructor.

Fixes 0001220: default drive index not set to 0
Affected Issues
0001220
mod - core/src/stored/device_resource.cc Diff File

Issue History

Date Modified Username Field Change
2020-04-03 13:21 frank New Issue
2020-04-03 14:19 frank Assigned To => frank
2020-04-03 14:19 frank Status new => assigned
2020-04-03 14:22 frank Changeset attached => bareos master e8a4e863
2020-04-03 14:22 frank Changeset attached => bareos bareos-19.2 60e7731c
2020-04-03 14:22 frank Note Added: 0003925
2020-04-03 14:22 frank Status assigned => resolved
2020-04-03 14:22 frank Resolution open => fixed
2020-04-06 14:21 arogge Relationship added related to 0001187
2020-04-16 19:28 arogge Status resolved => closed
2020-11-30 15:47 arogge Relationship added related to 0001282