Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000823bareos-core[All Projects] Generalpublic2017-05-25 11:132017-10-12 16:11
Reporteronotole 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSCentOSOS Version7
Product Version16.2.4 
Target VersionFixed in Version 
Summary0000823: Wrong Volume Label
DescriptionName of the Volume file is wrong when one of the Client is down.
Steps To Reproduce1. Install Bareos(with web-UI)
2. Configure two Clients
3. Configure Pool to Maximum Volume Job = 1 and Label name = "$Client-$Pool-$Day-$Month-$Hour-$Minute"
4. Shutdown one of Client
5. Schedule the job
6. Look for the Volume name - it consist wrong Client parameter
Additional InformationI tried to find out what`s problem cause this. So, if Client is down, Job is out with ERROR. In Director message we have ERR=No route to host. And if look throug bconsole *list volumes - there is a Volume for this error job with status Append. But it should be Used because Maximum Volume Job = 1.
Main problem, that if the Job is in Error - it marks Volume "Append" but not "Used" as needed.
By the way, this bug was although in Bareos 15.2.
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action
Attached Filespng file icon list_volumes.PNG [^] (9,584 bytes) 2017-05-25 11:13

- Relationships

-  Notes
(0002789)
hight (reporter)
2017-10-12 16:11

Hello i have the same issue here with Ubuntu 16.04.3 and bareos version 16.2.4.
Every time a backup fails it writes the wrong volume name for the following backup.
I added the log from such an instance below.
After the backup for server A has failed, the backup for server B writes in the volume for server A.



Log of server A:

06-Okt 10:01 serverb-dir JobId 24979: Start Backup JobId 24979, Job=backup_servera.2017-10-06_04.05.02_12
06-Okt 10:01 serverb-dir JobId 24979: There are no more Jobs associated with Volume "File-Daily-backup_servera-20170929-0934-24840". Marking it purged.
06-Okt 10:01 serverb-dir JobId 24979: All records pruned from Volume "File-Daily-backup_servera-20170929-0934-24840"; marking it "Purged"
06-Okt 10:01 serverb-dir JobId 24979: Created new Volume "File-Daily-backup_servera-20171006-1001-24979" in catalog.
06-Okt 10:01 serverb-dir JobId 24979: Using Device "1stFileDevice" to write.
06-Okt 10:01 serverb-dir JobId 24979: Warning: bsock_tcp.c:128 Could not connect to Client: servera-fd on servera.mydomain.com:9102. ERR=Keine Route zum Zielrechner
06-Okt 10:04 serverb-dir JobId 24979: Fatal error: bsock_tcp.c:134 Unable to connect to Client: servera-fd on servera.mydomain.com:9102. ERR=Keine Route zum Zielrechner
06-Okt 10:04 serverb-dir JobId 24979: Fatal error: Failed to connect to client "servera-fd".
06-Okt 10:04 serverb-dir JobId 24979: Fatal error: No Job status returned from FD.
06-Okt 10:04 serverb-dir JobId 24979: Error: Bareos serverb-dir 16.2.4 (01Jul16):
  Scheduled time: 06-Okt-2017 04:05:02
  Start time: 06-Okt-2017 10:01:28
  End time: 06-Okt-2017 10:04:41



Log of server B:

06-Okt 10:04 serverb-dir JobId 24980: Start Backup JobId 24980, Job=backup_serverb.2017-10-06_04.05.02_13
06-Okt 10:04 serverb-dir JobId 24980: Using Device "1stFileDevice" to write.
06-Okt 10:04 serverb-sd JobId 24980: Labeled new Volume "File-Daily-backup_servera-20171006-1001-24979" on device "1stFileDevice" (/mnt/tank/bareos/storage).
06-Okt 10:04 serverb-sd JobId 24980: Wrote label to prelabeled Volume "File-Daily-backup_servera-20171006-1001-24979" on device "1stFileDevice" (/mnt/tank/bareos/storage)
06-Okt 10:04 serverb-dir JobId 24980: Max Volume jobs=1 exceeded. Marking Volume "File-Daily-backup_servera-20171006-1001-24979" as Used.
06-Okt 10:12 serverb-fd JobId 24980: Disallowed filesystem. Will not descend from / into /run
06-Okt 10:13 serverb-sd JobId 24980: Elapsed time=00:08:22, Transfer rate=12.96 M Bytes/second
06-Okt 10:13 serverb-dir JobId 24980: Bareos serverb-dir 16.2.4 (01Jul16):
  Scheduled time: 06-Okt-2017 04:05:02
  Start time: 06-Okt-2017 10:04:42
  End time: 06-Okt-2017 10:13:04

- Issue History
Date Modified Username Field Change
2017-05-25 11:13 onotole New Issue
2017-05-25 11:13 onotole File Added: list_volumes.PNG
2017-10-12 16:11 hight Note Added: 0002789


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker