Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000986bareos-core[All Projects] directorpublic2018-07-17 08:192018-07-17 08:38
ReporterInt 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSCentOSOS Version7
Product Version17.2.4 
Target VersionFixed in Version 
Summary0000986: status job=xxxx not giving correct job status
DescriptionWhen "status job=xxxx" is called in bconsole when running a restore job it always gives result "Job "xxxx" is not running."
But command "status jobs" is showing the correct result.

Example:

*status job=3870
Job "3870" is not running.

*status jobs
Automatically selected Storage: Tape
Connecting to Storage daemon Tape at bareos.domain.local:9103

bareos-sd Version: 17.2.4 (21 Sep 2017) x86_64-redhat-linux-gnu redhat CentOS Linux release 7.4.1708 (Core)
Daemon started 13-Jul-18 07:15. Jobs: run=49, running=0.
 Heap: heap=135,168 smbytes=1,242,767 max_bytes=2,286,344 bufs=162 max_bufs=163
 Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0 bwlimit=0kB/s

Running Jobs:
Reading: Full Restore job RestoreFiles JobId=3870 Volume="NIX383L6"
    pool="Backup_Main" device="tapedrive-0" (/dev/tape/by-id/scsi-35005076312128141-nst)
Writing: Full Restore job RestoreFiles JobId=3870 Volume="NIX383L6"
    pool="Backup_Main" device="tapedrive-0" (/dev/tape/by-id/scsi-35005076312128141-nst)
    spooling=0 despooling=0 despool_wait=0
    Files=0 Bytes=0 AveBytes/sec=0 LastBytes/sec=0
    FDReadSeqNo=6 in_msg=6 out_msg=5 fd=6
====
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: 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 Files

- Relationships

-  Notes
(0003073)
Int (reporter)
2018-07-17 08:38

Found the cause myself. 'status job=' is expecting a job name not a job number.
You can close the ticket.

It would be great if Bareos could be more flexible and give job status with name or job number.

http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-960006.11 [^]
mentions 'status jobid=nn' but this command is not shown in the tab-completion list of status

- Issue History
Date Modified Username Field Change
2018-07-17 08:19 Int New Issue
2018-07-17 08:38 Int Note Added: 0003073


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker