Issue #6986 has been updated by R.I. Pienaar. Status changed from Unreviewed to Investigating Assignee set to R.I. Pienaar
thanks for an awesomely detailed bug report, will investigate soon ---------------------------------------- Bug #6986: mc-package uninstall gives : error = Execution of '/bin/rpm -e absent-absent-absent.absent' returned 1 https://projects.puppetlabs.com/issues/6986 Author: Pierre Grandin Status: Investigating Priority: Normal Assignee: R.I. Pienaar Category: Target version: Keywords: Branch: Affected mCollective version: Following a chat on IRC with Volcane : mc-package uninstall package=DKT_yumconf_sandbox gives : error = Execution of '/bin/rpm -e absent-absent-absent.absent' returned 1: error: package absent-absent-absent.absent is not installed ralsh package DKT_yumconf_sandbox gives : { 'DKT_yumconf_sandbox': ensure => 'absent'} Puppet is configured to ensure that the package is remove, but, on this host, it isn't : rpm -qa --queryformat='%{NAME}\n'|grep yumconf returns : DKT_yumconf_sandbox On the puppet master : package { 'DKT_yumconf_sandbox': ensure => '4.0-6'} The puppet master node also fails to uninstall it, with the same error (and it is also configured to ensure that this package is absent) Volcane's suggested editing package.rb agent and change line 112 to reply[:output] = pkg.uninstall unless pkg.properties[:ensure] == :absent After restarting mcollectived, i still have the issue. After some more tests on some other nodes and package, i had this issue twice when removing another package on one other node (the removal succeeded on 27 other nodes. Eventually, it succeeded after trying to remove it 3 times. The other package (tftp) wasn't set to ensure=>absent in puppet (i only installed it via mc-package on all nodes, then uninstalled it the same way puppet-2.6.4-0.5.el5 mcollective-1.1.3-1.el5 mcollective-common-1.1.3-1.el5 -- 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.
