Bug 693518 - Move rgmanager S/Lang from resource-agents to rgmanager
Summary: Move rgmanager S/Lang from resource-agents to rgmanager
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: resource-agents
Version: 6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Fabio Massimo Di Nitto
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-04 21:10 UTC by Lon Hohberger
Modified: 2011-12-06 12:02 UTC (History)
5 users (show)

Fixed In Version: resource-agents-3.9.1-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 693517
Environment:
Last Closed: 2011-12-06 12:02:48 UTC
Target Upstream Version:


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 Lon Hohberger 2011-04-04 21:10:35 UTC
+++ This bug was initially created as a clone of Bug #693517 +++

Description of problem:

The s/lang scripts which implement internal functionality for rgmanager when central_processing is in use is in the wrong package.


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


How reproducible: 100%


Steps to Reproduce:
1. Install rgmanager
2. rpm -ql rgmanager | grep default_event_script
  
Actual results:

default_event_script.sl and follow_service.sl should be in the manifest, but are missing.


Expected results:

These files are in resource-agents.

Comment 1 Fabio Massimo Di Nitto 2011-05-19 09:27:36 UTC
this is done upstream. See #693517 for commit references

Comment 3 Fabio Massimo Di Nitto 2011-06-21 17:55:20 UTC
Unit test results:

(pre-upgrade ownership)
[root@rhel6-node1 rpms]# rpm -q -f /usr/share/cluster/*.sl
resource-agents-3.0.12-22.el6.i686
resource-agents-3.0.12-22.el6.i686

Verify update pulls in both packages at the same time

[root@rhel6-node1 ~]# yum update
Resolving Dependencies
--> Running transaction check
---> Package resource-agents.i686 0:3.0.12-22.el6 will be obsoleted
--> Processing Dependency: resource-agents for package: pacemaker-1.1.5-5.el6.i686
---> Package rgmanager.i686 0:3.0.12-11.el6 will be updated
---> Package rgmanager.i686 0:3.0.12.1-1.el6 will be obsoleting
--> Running transaction check
---> Package resource-agents.i686 0:3.0.12-22.el6 will be updated
---> Package resource-agents.i686 0:3.9.1-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch         Version                 Repository   Size
================================================================================
Installing:
 rgmanager               i686         3.0.12.1-1.el6          foo         165 k
     replacing  resource-agents.i686 3.0.12-22.el6
Updating for dependencies:
 resource-agents         i686         3.9.1-1.el6             foo         457 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)

Verify that requesting upgrade of one will pull in the other

[root@rhel6-node1 ~]# yum update resource-agents
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package resource-agents.i686 0:3.0.12-22.el6 will be obsoleted
--> Processing Dependency: resource-agents for package: pacemaker-1.1.5-5.el6.i686
---> Package rgmanager.i686 0:3.0.12-11.el6 will be updated
---> Package rgmanager.i686 0:3.0.12.1-1.el6 will be obsoleting
--> Running transaction check
---> Package resource-agents.i686 0:3.0.12-22.el6 will be updated
---> Package resource-agents.i686 0:3.9.1-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch         Version                 Repository   Size
================================================================================
Installing:
 rgmanager               i686         3.0.12.1-1.el6          foo         165 k
     replacing  resource-agents.i686 3.0.12-22.el6
Updating for dependencies:
 resource-agents         i686         3.9.1-1.el6             foo         457 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)

Verify that requesting upgrade of one will pull in the other

[root@rhel6-node1 ~]# yum update rgmanager
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package resource-agents.i686 0:3.0.12-22.el6 will be obsoleted
--> Processing Dependency: resource-agents for package: pacemaker-1.1.5-5.el6.i686
---> Package rgmanager.i686 0:3.0.12-11.el6 will be updated
---> Package rgmanager.i686 0:3.0.12.1-1.el6 will be obsoleting
--> Running transaction check
---> Package resource-agents.i686 0:3.0.12-22.el6 will be updated
---> Package resource-agents.i686 0:3.9.1-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch         Version                 Repository   Size
================================================================================
Installing:
 rgmanager               i686         3.0.12.1-1.el6          foo         165 k
     replacing  resource-agents.i686 3.0.12-22.el6
Updating for dependencies:
 resource-agents         i686         3.9.1-1.el6             foo         457 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)


Post update ownership of files:
[root@rhel6-node1 rpms]# rpm -q -f /usr/share/cluster/*.sl
rgmanager-3.0.12.1-1.el6.i686
rgmanager-3.0.12.1-1.el6.i686

------

(pre-update ownership)
[root@rhel6-node2 rpms]# rpm -q -f /usr/share/cluster/*.sl
resource-agents-3.0.12-22.el6.x86_64
resource-agents-3.0.12-22.el6.x86_64

Verify that packages will refuse to install manually unless both specified

[root@rhel6-node2 rpms]# rpm -U resource-agents-3.9.1-1.el6.x86_64.rpm
error: Failed dependencies:
        rgmanager < 3.0.12.1 conflicts with resource-agents-3.9.1-1.el6.x86_64

[root@rhel6-node2 rpms]# rpm -U rgmanager-3.0.12.1-1.el6.x86_64.rpm
error: Failed dependencies:
        resource-agents >= 3.9.1-1 is needed by rgmanager-3.0.12.1-1.el6.x86_64
        resource-agents is needed by (installed) pacemaker-1.1.5-5.el6.x86_64

[root@rhel6-node2 rpms]# rpm -U rgmanager-3.0.12.1-1.el6.x86_64.rpm resource-agents-3.9.1-1.el6.x86_64.rpm
[root@rhel6-node2 rpms]#

Ownership after update.

[root@rhel6-node2 rpms]# rpm -q -f /usr/share/cluster/*.sl
rgmanager-3.0.12.1-1.el6.x86_64
rgmanager-3.0.12.1-1.el6.x86_64

Comment 6 errata-xmlrpc 2011-12-06 12:02:48 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.