Issue #10445 has been updated by Kelsey Hightower.

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?
----------------------------------------
Bug #10445: package type reports failure when actually installing the package
https://projects.puppetlabs.com/issues/10445

Author: Joshua Hoblitt
Status: Investigating
Priority: Normal
Assignee: Kelsey Hightower
Category: package
Target version: 
Affected Puppet version: 2.7.6
Keywords: 
Branch: 


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!
    


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to