Bacula-users

[Bacula-users] Bug when canceling a job in bconsole on 7.0.2?

2014-04-28 22:16:44
Subject: [Bacula-users] Bug when canceling a job in bconsole on 7.0.2?
From: Bill Arlofski <waa-bacula AT revpol DOT com>
To: Bacula Users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 28 Apr 2014 22:11:12 -0400
I believe I just found a (minor) bug in bconsole.

I have two jobs running that I wish to cancel. I typically cancel jobs with
higher numbers first so that new queued jobs have a chance to start as running
jobs are killed off.

So, in this situation, I chose #2 i the list of jobs to cancel:

*can
Select Job(s):
     1: JobId=25775 Job=Helpdesk.2014-04-28_20.30.00_52
     2: JobId=25776 Job=Postbooks.2014-04-28_20.30.00_53
Choose Job list to cancel (1-2): 2
JobId=25775 Job=Helpdesk.2014-04-28_20.30.00_52
JobId=25776 Job=Postbooks.2014-04-28_20.30.00_53
Confirm cancel of 2 Jobs (yes/no): no

Ooops, It wanted to cancel both jobs. That is not what I wanted/expected.

Try again to be sure:

*can
Select Job(s):
     1: JobId=25775 Job=Helpdesk.2014-04-28_20.30.00_52
     2: JobId=25776 Job=Postbooks.2014-04-28_20.30.00_53
Choose Job list to cancel (1-2): 2
JobId=25775 Job=Helpdesk.2014-04-28_20.30.00_52
JobId=25776 Job=Postbooks.2014-04-28_20.30.00_53
Confirm cancel of 2 Jobs (yes/no): no


Ok, let's try canceling the first one in the list:

*can
Select Job(s):
     1: JobId=25775 Job=Helpdesk.2014-04-28_20.30.00_52
     2: JobId=25776 Job=Postbooks.2014-04-28_20.30.00_53
Choose Job list to cancel (1-2): 1
JobId=25775 Job=Helpdesk.2014-04-28_20.30.00_52
JobId=25776 Job=Postbooks.2014-04-28_20.30.00_53
Confirm cancel of 2 Jobs (yes/no):

It still wants to cancel both jobs.


*version
bacula-dir Version: 7.0.2 (02 April 2014) x86_64-pc-linux-gnu gentoo  
RevpolBacula


Thanks!


-- 
Bill Arlofski
Reverse Polarity, LLC
http://www.revpol.com/
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>