View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000986 | bareos-core | director | public | 2018-07-17 08:19 | 2019-12-18 15:24 |
Reporter | Int | Assigned To | arogge | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | CentOS | OS Version | 7 |
Product Version | 17.2.4 | ||||
Summary | 0000986: status job=xxxx not giving correct job status | ||||
Description | When "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 ==== | ||||
Tags | No tags attached. | ||||
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 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-07-17 08:19 | Int | New Issue | |
2018-07-17 08:38 | Int | Note Added: 0003073 | |
2019-07-09 11:58 | arogge | Assigned To | => arogge |
2019-07-09 11:58 | arogge | Status | new => resolved |
2019-07-09 11:58 | arogge | Resolution | open => no change required |
2019-12-18 15:24 | arogge | Status | resolved => closed |