Ticket #693 (closed defect: fixed)
package remove causes traceback
Reported by: | hunter | Owned by: | desai |
---|---|---|---|
Priority: | critical | Milestone: | Bcfg2 1.0.0 Release |
Component: | bcfg2-client | Version: | |
Keywords: | Cc: |
Description
[[email protected] srv]# bcfg2 -v -e -r all Running probe 3ware Probe 3ware has result:
Running probe getarch Probe getarch has result: group:x86_64 Excluding Packages in global exclude list Finished Loaded tool drivers:
Action Chkconfig POSIX YUMng
Package bcfg2 failed verification.
WARNING: Package python-lxml 2.0.10-1.el5.x86_64 requires GPG Public key with ID 119cc036217521f6
Disabling signature check.
got any version Extra InstallOnlyPackage? gpg-pubkey e8562897-459f07a4.None.
Package gpg-pubkey failed verification. Package smartmontools failed verification. Package centos-release failed verification.
Extra Package pcmciautils 014-5.x86_64.
Phase: initial Correct entries: 365 Incorrect entries: 4 Total managed entries: 369 Unmanaged entries: 1
Running YUMng.Install() WARNING: gpg-pubkey package not in configuration gpg-pubkey e8562897-459f07a4.*
This package will be deleted in a future version of the RPMng driver.
Bulk erase failed with errors: Attempting individual erase for each package. WARNING: gpg-pubkey package not in configuration gpg-pubkey *-*.*
This package will be deleted in a future version of the RPMng driver.
YUMng.Install() call failed: Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Frame.py", line 265, in DispatchInstallCalls?
tool.Install(handled, self.states)
File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/YUMng.py", line 142, in Install
self.RemovePackages?(self.extra_instances)
File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/YUMng.py", line 372, in RemovePackages?
cmdrc, output = self.cmd.run(self.pkgtool % pkg_arg)
UnboundLocalError?: local variable 'pkg_arg' referenced before assignment Deleted pcmciautils-014-5.x86_64
Phase: final Correct entries: 365 Incorrect entries: 4
Package:bcfg2 Package:centos-release Package:gpg-pubkey Package:smartmontools
Total managed entries: 369 Unmanaged entries: 0
[[email protected] srv]#
Fixed in [59d2c7b323566038ccda8d8d38491dd9378e75f4] (SVN r5373)