Bug 1031715

Summary: bacula bconsole pruning messages - wrong date calculation
Product: Red Hat Enterprise Linux 6 Reporter: Nelson Marques <nmo.marques>
Component: baculaAssignee: Josef Ridky <jridky>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-22 08:40:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nelson Marques 2013-11-18 15:24:29 UTC
Description of problem: I am getting a few messages from bacula like:

18-Nov 05:06 bacula.ops.impresa.pt JobId 1080: Begin pruning Jobs older than 43 years 5 months 2 days 5 hours 6 mins 13 secs.
18-Nov 05:06 bacula.ops.impresa.pt JobId 1080: No Jobs found to prune.
18-Nov 05:06 bacula.ops.impresa.pt JobId 1080: Begin pruning Jobs.
18-Nov 05:06 bacula.ops.impresa.pt JobId 1080: No Files found to prune.
18-Nov 05:06 bacula.ops.impresa.pt JobId 1080: End auto prune.

While searching on the internet I got this link which suggests this might have been fixed in 5.0.1. If this verifies is it possible to consider na update to 5.0.1 or backport fix? I'm available to help testing.


Version-Release number of selected component (if applicable): 5.0.0-12

How reproducible: Always

Steps to Reproduce: Run bconsole/bat and check console output; Same on jobs.

Actual results: Values are not right and no recycle/pruning

Expected results: Values should be realistic and recycle/pruning working

Additional info:

Pool
{
    Name = ENV_QA
    Pool Type = Backup
    Recycle = yes
    AutoPrune = yes
    Volume Retention = 8 days
    LabelFormat = "ENV_QA_"
    Maximum Volumes = 9
    RecyclePool = ENV_QA
}

Comment 2 Nelson Marques 2013-11-18 15:53:44 UTC
Not really sure if this is related: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573178

Comment 3 Josef Ridky 2016-07-22 08:40:26 UTC
Red Hat Enterprise Linux version 6 is entering the Production 2 phase of its lifetime and this bug doesn't meet the criteria for it, i.e. only high severity issues will be fixed. Please see https://access.redhat.com/support/policy/updates/errata/ for further information.

This issue is fixed in Red Hat Enterprise Linux version 7.