View Issue Details

IDProjectCategoryView StatusLast Update
0000409bareos-coredirectorpublic2015-03-25 19:19
ReporterRyushin Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSDebianOS Version8
Product Version14.2.2 
Summary0000409: Console Shows Incorrect Schedule
DescriptionThe bconsole command "show schedules" displays the incorrect information. While "status scheduled" in bconsole shows the correct information as per the config in bareos-dir.conf


Schedules config in bareos-dir.conf
Schedule {
  Name = "MonthlyCycle"
  Run = Full 1st fri at 21:00
  Run = Differential 2nd-5th fri at 21:00
  Run = Incremental sun-thu at 21:00
  Run = Incremental sat at 21:00
}


bconsole: show schedules
Schedule {
  Name = "MonthlyCycle"
  run = level=Full 1st Fri at 21:00
  run = level=Differential 2nd Fri at 21:00
  run = level=Incremental Thu at 21:00
  run = level=Incremental Sat at 21:00
}


bconsole: status scheduled days=30
Scheduler Preview for 40 days:

Date Schedule Overrides
==============================================================
Mon 26-Jan-2015 21:00 MonthlyCycle Level=Incremental
Tue 27-Jan-2015 21:00 MonthlyCycle Level=Incremental
Wed 28-Jan-2015 21:00 MonthlyCycle Level=Incremental
Thu 29-Jan-2015 21:00 MonthlyCycle Level=Incremental
Fri 30-Jan-2015 21:00 MonthlyCycle Level=Differential
Sat 31-Jan-2015 21:00 MonthlyCycle Level=Incremental
Sun 01-Feb-2015 21:00 MonthlyCycle Level=Incremental
Mon 02-Feb-2015 21:00 MonthlyCycle Level=Incremental
Tue 03-Feb-2015 21:00 MonthlyCycle Level=Incremental
Wed 04-Feb-2015 21:00 MonthlyCycle Level=Incremental
Thu 05-Feb-2015 21:00 MonthlyCycle Level=Incremental
Fri 06-Feb-2015 21:00 MonthlyCycle Level=Full
Sat 07-Feb-2015 21:00 MonthlyCycle Level=Incremental
Sun 08-Feb-2015 21:00 MonthlyCycle Level=Incremental
Mon 09-Feb-2015 21:00 MonthlyCycle Level=Incremental
Tue 10-Feb-2015 21:00 MonthlyCycle Level=Incremental
Wed 11-Feb-2015 21:00 MonthlyCycle Level=Incremental
Thu 12-Feb-2015 21:00 MonthlyCycle Level=Incremental
Fri 13-Feb-2015 21:00 MonthlyCycle Level=Differential
Sat 14-Feb-2015 21:00 MonthlyCycle Level=Incremental
Sun 15-Feb-2015 21:00 MonthlyCycle Level=Incremental
Mon 16-Feb-2015 21:00 MonthlyCycle Level=Incremental
Tue 17-Feb-2015 21:00 MonthlyCycle Level=Incremental
Wed 18-Feb-2015 21:00 MonthlyCycle Level=Incremental
Thu 19-Feb-2015 21:00 MonthlyCycle Level=Incremental
Fri 20-Feb-2015 21:00 MonthlyCycle Level=Differential
Sat 21-Feb-2015 21:00 MonthlyCycle Level=Incremental
Sun 22-Feb-2015 21:00 MonthlyCycle Level=Incremental
Mon 23-Feb-2015 21:00 MonthlyCycle Level=Incremental
Tue 24-Feb-2015 21:00 MonthlyCycle Level=Incremental
Wed 25-Feb-2015 21:00 MonthlyCycle Level=Incremental
Thu 26-Feb-2015 21:00 MonthlyCycle Level=Incremental
Fri 27-Feb-2015 21:00 MonthlyCycle Level=Differential
Sat 28-Feb-2015 21:00 MonthlyCycle Level=Incremental
Sun 01-Mar-2015 21:00 MonthlyCycle Level=Incremental
Mon 02-Mar-2015 21:00 MonthlyCycle Level=Incremental
Tue 03-Mar-2015 21:00 MonthlyCycle Level=Incremental
Wed 04-Mar-2015 21:00 MonthlyCycle Level=Incremental
Thu 05-Mar-2015 21:00 MonthlyCycle Level=Incremental
Fri 06-Mar-2015 21:00 MonthlyCycle Level=Full

TagsNo tags attached.

Relationships

related to 0000407 closed print_config_run() doesn't print months 
child of 0000393 closed Release bareos-14.2.3 

Activities

mvwieringen

mvwieringen

2015-01-28 09:53

developer   ~0001230

Fix committed to bareos master branch with changesetid 2659.
joergs

joergs

2015-01-30 14:44

developer   ~0001243

Fix committed to bareos bareos-14.2 branch with changesetid 2692.
mvwieringen

mvwieringen

2015-03-25 16:51

developer   ~0001442

Fix committed to bareos2015 bareos-14.2 branch with changesetid 4454.
joergs

joergs

2015-03-25 19:19

developer   ~0001594

Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again.
Sorry for the noise.

Related Changesets

bareos: master fbe58762

2015-01-27 10:38

mvwieringen

Ported: N/A

Details Diff
Refactor pretty printer of schedules.

Seems the pretty printer had some problems with printing some schedules,
Given that this is almost a programming language this is not to
surprising. Changed the code to first determine if all bits are set so
we don't do hard work of finding intervals if we are not going to print
the interval at all.

Fixes 0000407: print_config_run() doesn't print months
Fixes 0000409: Console Shows Incorrect Schedule
Affected Issues
0000407, 0000409
mod - src/dird/dird_conf.c Diff File

bareos: bareos-14.2 4bca80ec

2015-01-27 10:38

mvwieringen


Committer: joergs

Ported: N/A

Details Diff
Refactor pretty printer of schedules.

Seems the pretty printer had some problems with printing some schedules,
Given that this is almost a programming language this is not to
surprising. Changed the code to first determine if all bits are set so
we don't do hard work of finding intervals if we are not going to print
the interval at all.

Fixes 0000407: print_config_run() doesn't print months
Fixes 0000409: Console Shows Incorrect Schedule

Conflicts:
src/dird/dird_conf.c
Affected Issues
0000407, 0000409
mod - src/dird/dird_conf.c Diff File

bareos2015: bareos-14.2 5a7b875e

2015-01-27 10:38

mvwieringen

Ported: N/A

Details Diff
Refactor pretty printer of schedules.

Seems the pretty printer had some problems with printing some schedules,
Given that this is almost a programming language this is not to
surprising. Changed the code to first determine if all bits are set so
we don't do hard work of finding intervals if we are not going to print
the interval at all.

Fixes 0000407: print_config_run() doesn't print months
Fixes 0000409: Console Shows Incorrect Schedule

Conflicts:
src/dird/dird_conf.c
Affected Issues
0000407, 0000409
mod - src/dird/dird_conf.c Diff File

Issue History

Date Modified Username Field Change
2015-01-26 22:19 Ryushin New Issue
2015-01-26 23:06 mvwieringen Relationship added related to 0000407
2015-01-27 09:50 mvwieringen Assigned To => mvwieringen
2015-01-27 09:50 mvwieringen Status new => assigned
2015-01-28 09:53 mvwieringen Changeset attached => bareos master fbe58762
2015-01-28 09:53 mvwieringen Note Added: 0001230
2015-01-28 09:53 mvwieringen Status assigned => resolved
2015-01-28 09:53 mvwieringen Resolution open => fixed
2015-01-28 12:22 joergs Relationship added related to 0000393
2015-01-28 12:22 joergs Relationship deleted related to 0000393
2015-01-28 12:22 joergs Relationship added child of 0000393
2015-01-30 14:44 joergs Changeset attached => bareos bareos-14.2 4bca80ec
2015-01-30 14:44 joergs Note Added: 0001243
2015-02-08 11:02 tigerfoot Relationship added related to 0000424
2015-02-08 13:30 mvwieringen Relationship deleted related to 0000424
2015-02-14 17:31 mvwieringen adm Assigned To mvwieringen =>
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-14.2 5a7b875e
2015-03-25 16:51 mvwieringen Note Added: 0001442
2015-03-25 19:19 joergs Note Added: 0001594
2015-03-25 19:19 joergs Status resolved => closed