Bug 886151

Summary: add dependency on perl(Date::Parse)
Product: Red Hat Enterprise Linux 6 Reporter: Jaroslav Kortus <jkortus>
Component: pacemakerAssignee: Andrew Beekhof <abeekhof>
Status: CLOSED ERRATA QA Contact: michal novacek <mnovacek>
Severity: medium Docs Contact:
Priority: high    
Version: 6.4CC: cluster-maint, mnovacek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pacemaker-1.1.8-5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:51:29 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:
Embargoed:

Description Jaroslav Kortus 2012-12-11 16:01:25 UTC
Description of problem:
crm_report requires perl-TimeDate package (namely Date::Parse).

$crm_report -f "2012-12-11 09:50:00"
marathon-03c1-node01:  ERROR: please install the perl Date::Parse module

Version-Release number of selected component (if applicable):
pacemaker-cli-1.1.8-4.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. default installation
2. yum -y install pacemaker-cli
3. crm_report -f "2012-12-11 09:50:00"
  
Actual results:
complains about missing perl module

Expected results:
no complains, it should be pulled during rpm installation

Additional info:
there should be no utils with unsatisfied dependencies

Comment 2 Andrew Beekhof 2012-12-12 02:56:29 UTC
Agreed. I've been meaning to add this for a while.

Comment 4 Lon Hohberger 2012-12-13 16:45:35 UTC
This specfile change was added in pacemaker-1.1.8-5.el6

Comment 6 michal novacek 2013-01-17 18:10:15 UTC
I verified that corrected pacemaker-cli-1.1.8-5.el6.x86_64 correctly requires perl-TimeDate unlike the old version (1.1.8-4.el6.x86_64) where it is not present. 

OLD version:
$ rpm -q pacemaker-cli
pacemaker-cli-1.1.8-4.el6.x86_64
$ rpm -q --requires pacemaker-cli | grep perl
$ 

CORRECTED version:
$ rpm -q pacemaker-cli
pacemaker-cli-1.1.8-5.el6.x86_64
$ rpm -q --requires pacemaker-cli | grep perl
perl-TimeDate
$

Comment 8 errata-xmlrpc 2013-02-21 09:51:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0375.html