Bug #10445
package type reports failure when actually installing the package
| Status: | Closed | Start date: | 11/01/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | package | |||
| Target version: | - | |||
| Affected Puppet version: | 2.7.6 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
This may be related somehow to bug #2662. It appears that installing an RPM that contains it’s arch as part of the package name (IBM is using $kernelver.$arch) causes puppet to report that it’s installation failed even though it didn’t.
[root@decdb1 ~]# yum erase gpfs\*
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package gpfs.base.x86_64 0:3.4.0-0 will be erased
---> Package gpfs.docs.noarch 0:3.4.0-8 will be erased
---> Package gpfs.gplbin-2.6.32-131.17.1.el6.x86_64.x86_64 0:3.4.0-8 will be erased
---> Package gpfs.msg.en_US.noarch 0:3.4.0-8 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Removing:
gpfs.base x86_64 3.4.0-0 @gpfs 24 M
gpfs.docs noarch 3.4.0-8 @gpfs 783 k
gpfs.gplbin-2.6.32-131.17.1.el6.x86_64 x86_64 3.4.0-8 @gpfs 5.9 M
gpfs.msg.en_US noarch 3.4.0-8 @gpfs 344 k
Transaction Summary
================================================================================
Remove 4 Package(s)
Installed size: 31 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : gpfs.gplbin-2.6.32-131.17.1.el6.x86_64-3.4.0-8.x86_64 1/4
Erasing : gpfs.base-3.4.0-0.x86_64 2/4
Erasing : gpfs.docs-3.4.0-8.noarch 3/4
Erasing : gpfs.msg.en_US-3.4.0-8.noarch 4/4
duration: 51(ms)
Installed products updated.
Removed:
gpfs.base.x86_64 0:3.4.0-0
gpfs.docs.noarch 0:3.4.0-8
gpfs.gplbin-2.6.32-131.17.1.el6.x86_64.x86_64 0:3.4.0-8
gpfs.msg.en_US.noarch 0:3.4.0-8
Complete!
[root@decdb1 ~]# puppetd --test --tags gpfs
info: Caching catalog for decdb1.tuc.noao.edu
info: Applying configuration version '1320191417'
notice: /Stage[main]/Gpfs::Install/Package[gpfs.docs]/ensure: created
notice: /Stage[main]/Gpfs::Install/Package[gpfs.msg.en_US]/ensure: created
notice: /Stage[main]/Gpfs::Install/Package[gpfs.base-3.4.0-0]/ensure: created
err: /Stage[main]/Gpfs::Install/Package[gpfs.gplbin-2.6.32-131.17.1.el6.x86_64]/ensure: change from absent to latest failed: Could not update: Could not find package gpfs.gplbin-2.6.32-131.17.1.el6.x86_64 at /etc/puppet/modules/gpfs/manifests/init.pp:28
notice: Finished catalog run in 50.57 seconds
[root@decdb1 ~]# yum erase gpfs\*
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package gpfs.base.x86_64 0:3.4.0-0 will be erased
---> Package gpfs.docs.noarch 0:3.4.0-8 will be erased
---> Package gpfs.gplbin-2.6.32-131.17.1.el6.x86_64.x86_64 0:3.4.0-8 will be erased
---> Package gpfs.msg.en_US.noarch 0:3.4.0-8 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Removing:
gpfs.base x86_64 3.4.0-0 @gpfs 24 M
gpfs.docs noarch 3.4.0-8 @gpfs 783 k
gpfs.gplbin-2.6.32-131.17.1.el6.x86_64 x86_64 3.4.0-8 @gpfs 5.9 M
gpfs.msg.en_US noarch 3.4.0-8 @gpfs 344 k
Transaction Summary
================================================================================
Remove 4 Package(s)
Installed size: 31 M
Is this ok [y/N]: n
Exiting on user Command
Complete!
Related issues
History
Updated by Kelsey Hightower 6 months ago
- Status changed from Unreviewed to Investigating
- Assignee set to Kelsey Hightower
Joshua,
Thanks for taking the time to report this issue. I’m in the process of trying to reproduce this, can you provide the name of the package in question? Not sure if you are installing from a public repo, if so can you provide the repository details?
Updated by Joshua Hoblitt 6 months ago
Hi Kelsey,
The complete name of the rpm is gpfs.gplbin-2.6.32-131.17.1.el6.x86_64-3.4.0-8.x86_64.rpm. That’s gpfs.gplbin-$kernelversion.$kernelarch-$pkgversion.$pkgarch.rpm GPFS is commercial software and it’s not provided in a yum repo (I had to build my own). However, I may be able to give you a copy of the RPM in question since it’s GPL’d kernel code. I’d need to double check to make sure there isn’t anything else of IBM’s in the package.
Are you unable to reproduce this issue via just package name?
Updated by Patrick Otto 4 months ago
- Status changed from Investigating to Closed
- Assignee changed from Kelsey Hightower to Patrick Otto
This should be same problem as in #2662