Bug 994979

Summary: ocf-shellfuncs script is not working
Product: Red Hat Enterprise Linux 6 Reporter: Joaquin Fernandez Llamas <joaquin.fernandez>
Component: resource-agentsAssignee: David Vossel <dvossel>
Status: CLOSED CURRENTRELEASE QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 6.4CC: agk, cluster-maint, fdinitto, jgh2008
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: 2014-02-27 14:18:53 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 Joaquin Fernandez Llamas 2013-08-08 10:32:32 UTC
Description of problem:

HA Cluster for an Oracle DB is not working.

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

Version     : 3.9.2
Release     : 21.el6_4.3

How reproducible:

Always happens with Oracle DB cluster.


Steps to Reproduce:
1. Create an Oracle DB cluster
2. Execute rg_test to test the service

Actual results:

Error after validating the configuration for Oracle DB.

Expected results:

Start of the Oracle DB completed

Additional info:

The output from rg_test shows an error calling the script:
/usr/share/cluster/ocf-shellfuncs

Output:
basename: missing operand
Try `basename --help' for more information.

I see the error comes from this file: /usr/share/cluster/ocf-shellfuncs
in line: __LOG_NAME=$(basename $(readlink /proc/$PPID/exe))

Comment 3 Fabio Massimo Di Nitto 2014-02-27 14:18:53 UTC
Oracle DB agent has been tested recently and this error this not show up. Most likely an error in Oracle DB agent triggering the LOG from ocf-shellfuncs.

Please feel free to reopen the bug if it´s still an issue and provide cluster.conf so that we can reproduce your setup.

Comment 4 ERIK.JIANG 2014-04-13 17:48:04 UTC
I got the same issue yet..

version:resource-agents-3.9.2-40.el6_5.7.x86_64
OS:centos 6.5