| Summary: | Move rgmanager S/Lang from resource-agents to rgmanager | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Lon Hohberger <lhh> | |
| Component: | rgmanager | Assignee: | Fabio Massimo Di Nitto <fdinitto> | |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 6.0 | CC: | cluster-maint, fdinitto, mjuricek | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | rgmanager-3.0.12.1-1.el6 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 693518 (view as bug list) | Environment: | ||
| Last Closed: | 2011-12-06 11:59:34 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
|
Description
Lon Hohberger
2011-04-04 21:09:53 UTC
I have already done this upstream: https://github.com/ClusterLabs/resource-agents/commit/37d349dd030f3436c5f0e60000aec08f93c7739c http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=62cc660f462f8672fe75ebc8e53b184075ff3d5b http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=3a8ef438e9649737c07dc5355d84afffa650dbdd change imported in the RHEL6 branch and will be part of rebase as described in #707118 I am leaving this bug as-is, since we still need to track changes in the rgmanager spec file to ship those files. 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
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-2011-1595.html |