openlogic / AzureBuildCentOS

Kickstart scripts and other components to build CentOS images for Azure
Other
20 stars 22 forks source link

GPG signing key for WALinuxAgent does not match the repository key. #115

Closed piotr-gbyliczek closed 3 years ago

piotr-gbyliczek commented 3 years ago

Running yum update hits an issue with a GPG signing key for package WALinuxAgent not matching the key from repository :

Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package WALinuxAgent.noarch 0:2.2.46-2.el7_9 will be updated
---> Package WALinuxAgent.noarch 0:2.3.1.1-1_ol001.el7 will be an update
[...]
--> Finished Dependency Resolution
--> Running transaction check
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================================================
 Package                                                    Arch                                            Version                                                       Repository                                                   Size
============================================================================================================================================================================================================================================
Updating:
 WALinuxAgent                                               noarch                                          2.3.1.1-1_ol001.el7                                           openlogic                                                   499 k
[...]
Transaction Summary
============================================================================================================================================================================================================================================
Install   1 Package
Upgrade  12 Packages
Remove    1 Package

Total download size: 99 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/openlogic/packages/WALinuxAgent-2.3.1.1-1_ol001.el7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 22eb6536: NOKEY
Public key for WALinuxAgent-2.3.1.1-1_ol001.el7.noarch.rpm is not installed
[...]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                        43 MB/s |  99 MB  00:00:02     
Retrieving key from http://olcentgbl.trafficmanager.net/openlogic/7/openlogic/x86_64/OpenLogic-GPG-KEY

The GPG keys listed for the "CentOS-7 - OpenLogic packages for x86_64" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

 Failing package is: WALinuxAgent-2.3.1.1-1_ol001.el7.noarch
 GPG Keys are configured as: http://olcentgbl.trafficmanager.net/openlogic/7/openlogic/x86_64/OpenLogic-GPG-KEY
N3WWN commented 3 years ago

Thank you for notifying me of this.

I am investigating now...

-Rich

N3WWN commented 3 years ago

@piotr-gbyliczek The RPMs were signed with the wrong OpenLogic key. I have resigned them and republished the packages to the master repos. The client repos will receive the package updates upon their next sync cycle.

Please let me know if you have any issues after the packages have been updated.

piotr-gbyliczek commented 3 years ago

It is working now, thank you.