Modify

Ticket #931 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

YUMng fails installing a custom GPG key

Reported by: tac_ <saft@…> Owned by: jjneely
Priority: major Milestone: Bcfg2 1.1.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description (last modified by jjneely) (diff)

System: Centos 5 Version: trunk r6046

base-packages.xml: <Bundle name='base-packages'>

<Path name="/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5"/> <Path name="/etc/pki/rpm-gpg/RPM-GPG-KEY-myownkey"/> <BoundPackage? name="gpg-pubkey" type="rpm" version="auto">

<Instance simplefile="/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5" version="e8562897" release="459f07a4"/> <Instance simplefile="/etc/pki/rpm-gpg/RPM-GPG-KEY-myownkey" version="bcbecbd4" release="4c2df0e1"/>

</BoundPackage?>

</Bundle>

client debug: Verifying package instances for gpg-pubkey Verifying: gpg-pubkey-e8562897-459f07a4 Verifying: gpg-pubkey-bcbecbd4-4c2df0e1

Wrong version installed. Want gpg-pubkey-bcbecbd4-4c2df0e1, but have gpg-pubkey-e8562897-459f07a4.noarch

...

Installing ConfigFile? /etc/pki/rpm-gpg/RPM-GPG-KEY-myownkey Running YUMng.Install() Installing GPG keys. Installed gpg-pubkey-bcbecbd4-4c2df0e1 YUMng.Install() call failed: Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Frame.py", line 303, in DispatchInstallCalls?

tool.Install(handled, self.states)

File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/YUMng.py", line 757, in Install

self.gpg_keyids = self.getinstalledgpg()

AttributeError?: YUMng instance has no attribute 'getinstalledgpg' The Following Bundles have been modified:

base-packages

...

Verifying package instances for gpg-pubkey Verifying: gpg-pubkey-e8562897-459f07a4 Verifying: gpg-pubkey-bcbecbd4-4c2df0e1

Wrong version installed. Want gpg-pubkey-bcbecbd4-4c2df0e1, but have gpg-pubkey-e8562897-459f07a4.noarch

Attachments

Change History

comment:1 Changed 11 years ago by Jack Neely <jjneely@…>

The line

self.gpg_keyids = self.getinstalledgpg()

can be safely removed from the YUMng driver.

I've committed SVN revision 6047 that removes that line. It was a remnent from RPMng that is no longer needed.

comment:2 Changed 11 years ago by jjneely

  • Owner changed from desai to jjneely
  • Status changed from new to accepted
  • Description modified (diff)

comment:3 Changed 11 years ago by desai

  • Status changed from accepted to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.