RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 707127 - resource-agents rebase
Summary: resource-agents rebase
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: resource-agents
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Fabio Massimo Di Nitto
QA Contact: Cluster QE
URL:
Whiteboard: Rebase
: 698217 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-24 07:04 UTC by Fabio Massimo Di Nitto
Modified: 2011-12-06 12:03 UTC (History)
5 users (show)

Fixed In Version: resource-agents-3.9.2-1.el6
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
This update fixes a few bugs, and will make future updates easier.
Clone Of:
Environment:
Last Closed: 2011-12-06 12:03:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1580 0 normal SHIPPED_LIVE Low: resource-agents security, bug fix, and enhancement update 2011-12-06 00:38:57 UTC

Description Fabio Massimo Di Nitto 2011-05-24 07:04:55 UTC
Initial evaluation shows that we can rebase safely based on a new tarball
released from upstream.

Pros:

1) move to standalone tarball
2) kill patch queue from distcvs
3) simplify build / spec file
4) update all pacemaker (TechPreview) agents

Verification process:

from distcvs RHEL6 branch in current release:

sed -i -e 's#\-b .*##g' resource-agents.spec
make prep

diff -Naurd resource-agents-3.0.12 resource-agents-3.9.1 | filterdiff -i
'*rgmanager*' -x '*Makefile*' | less

rgmanager/src/resources/SAPDatabase:     resource-agents: Improve
LD_LIBRARY_PATH handling by SAP*
https://bugzilla.redhat.com/show_bug.cgi?id=705763
(security bug)

*.sl: moved back to rgmanager tree
missing *.sl scripts (upstream is in, needs backport to RHEL6)
https://bugzilla.redhat.com/show_bug.cgi?id=693518 (POST)

rgmanager/src/resources/ocf-shellfuncs: resource-agents: Add resource
type to logging

oracledb.sh.in: rhbz#633992

svclib_nfslock: rhbz#595455

tomcat-5.sh: rhbz#637802 (not in RHEL6)

config-utils.sh.in: rhbz#637802 (tomcat-5) and rhbz#667217

rhev-check.sh: RHEL6 specific patch, not upstream. (see rhbz#609497)

common: add license info to all agents (no code changes)

update: pacemaker agents, tech-preview

TODO: move rhev-check upstream and drop distcvs patch (Optional)

Comment 2 Fabio Massimo Di Nitto 2011-05-26 13:27:41 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
This update fixes a few bugs, and will make future updates easier.

Comment 3 Fabio Massimo Di Nitto 2011-06-21 18:16:26 UTC
Unit test results:

> rgmanager/src/resources/ocf-shellfuncs: resource-agents: Add resource
> type to logging

Jun 21 20:13:53 rgmanager [ip] Link for eth0: Detected
Jun 21 20:13:53 rgmanager [ip] Link detected on eth0
Jun 21 20:14:13 rgmanager [ip] Checking 192.168.0.128, Level 0
Jun 21 20:14:13 rgmanager [ip] 192.168.0.128 present on eth0
Jun 21 20:14:13 rgmanager [ip] Link for eth0: Detected
Jun 21 20:14:13 rgmanager [ip] Link detected on eth0
Jun 21 20:14:23 rgmanager [ip] Checking 192.168.0.128, Level 10

now reports the agent name in []

> rhev-check.sh: RHEL6 specific patch, not upstream.

rpm -q -p resource-agents-3.9.1-1.el6.x86_64.rpm -l |grep rhev
/usr/sbin/rhev-check.sh
/usr/share/cluster/utils/rhev-check.sh

It´s now included upstream and not in a separate patch.

Comment 4 Fabio Massimo Di Nitto 2011-06-21 18:17:11 UTC
Items that need unit test results:

> oracledb.sh.in: rhbz#633992

> svclib_nfslock: rhbz#595455

Comment 5 Lon Hohberger 2011-06-21 20:07:06 UTC
I can't test 663992, so I reviewed the patch:

* In most cases, we now call 'stop_db immediate'.  During forceful shutdown, we switch to 'stop_db abort' if 'stop_db immediate fails'

Comment 6 Lon Hohberger 2011-06-21 20:44:12 UTC
I created an NFS failover service to test the svclib_nfslock changes.

* With no clients, the expectation was that there is no creation of /tmp/statd-*; this behavior worked correctly, although I did have to tweak /etc/sysconfig/nfs to disable NFS version 4 support in order to use it with the nfsexport/nfsclient mechanisms that use the nfslock="1" attribute.

Comment 8 Chris Feist 2011-07-21 16:17:19 UTC
*** Bug 698217 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2011-12-06 12:03:00 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/RHSA-2011-1580.html


Note You need to log in before you can comment on or make changes to this bug.