Ad Widget

Collapse

Zabbix GPG key not working anymore?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GPegel
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2015
    • 113

    #1

    Zabbix GPG key not working anymore?

    Hello,

    In the past I used Ansible to deploy and install Zabbix servers and every time all went well. Since yesterday I experience some troubles installing Zabbix from my ansible script.

    I tried to install Zabbix on a local virtual machine and at a certain point I get this error message:

    Code:
    fatal: [192.168.56.104]:
    
     FAILED! => {"changed": true, "failed": true, "msg": "warning: /var/cache/yum/x86_64/7/zabbix/packages/zabbix-agent-3.0.4-1.el7.x86_64.rpm: 
    Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY\nImporting GPG key 0x79EA5ED4:\n Userid     : \"Zabbix SIA <[email protected]>\"\n Fingerprint: fbab d5fb 2025 5eca b22e e194 d13d 58e4 79ea 5ed4\n Package    : zabbix-release-3.0-1.el7.noarch 
    (@/zabbix-release-3.0-1.el7.noarch)\n From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX\n\n\nPublic key for zabbix-agent-3.0.4-1.el7.x86_64.rpm is not installed\n\n\n Failing package is: zabbix-agent-3.0.4-1.el7.x86_64\n GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX\n\n", "rc": 1, "results": 
    ["Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.amsiohosting.net\n * epel: fedora.cu.be\n * extras: mirror.i3d.net\n * updates: mirror.nforce.com\nResolving Dependencies\n--> Running transaction check\n---> Package zabbix-agent.x86_64 0:3.0.4-1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package              Arch           Version               Repository      Size\n================================================================================\nInstalling:\n zabbix-agent         x86_64         3.0.4-1.el7           zabbix         324 k\n\nTransaction Summary\n================================================================================\nInstall  1 Package\n\nTotal download size: 324 k\nInstalled size: 1.0 M\nDownloading packages:\nPublic key for zabbix-agent-3.0.4-1.el7.x86_64.rpm is not installed\nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX\n"]}

    When I try to manually install Zabbix, I get this warning message:

    Code:
    Downloading packages:
    (1/23): fontpackages-filesystem-1.44-8.el7.noarch.rpm                                                                                                                                   | 9.9 kB  00:00:00     
    (2/23): OpenIPMI-modalias-2.0.19-11.el7.x86_64.rpm                                                                                                                                      |  15 kB  00:00:00     
    (3/23): dejavu-fonts-common-2.33-6.el7.noarch.rpm                                                                                                                                       |  64 kB  00:00:00     
    (4/23): iksemel-1.4-6.el7.x86_64.rpm                                                                                                                                                    |  50 kB  00:00:00     
    (5/23): javapackages-tools-3.4.1-11.el7.noarch.rpm                                                                                                                                      |  73 kB  00:00:00     
    (6/23): fping-3.10-4.el7.x86_64.rpm                                                                                                                                                     |  46 kB  00:00:00     
    (7/23): libtool-ltdl-2.4.2-21.el7_2.x86_64.rpm                                                                                                                                          |  49 kB  00:00:00     
    (8/23): lksctp-tools-1.0.13-3.el7.x86_64.rpm                                                                                                                                            |  87 kB  00:00:00     
    (9/23): php-bcmath-5.4.16-36.3.el7_2.x86_64.rpm                                                                                                                                         |  56 kB  00:00:00     
    (10/23): php-ldap-5.4.16-36.3.el7_2.x86_64.rpm                                                                                                                                          |  51 kB  00:00:00     
    (11/23): python-javapackages-3.4.1-11.el7.noarch.rpm                                                                                                                                    |  31 kB  00:00:00     
    (12/23): OpenIPMI-libs-2.0.19-11.el7.x86_64.rpm                                                                                                                                         | 501 kB  00:00:01     
    (13/23): net-snmp-libs-5.7.2-24.el7_2.1.x86_64.rpm                                                                                                                                      | 747 kB  00:00:00     
    (14/23): tzdata-java-2016f-1.el7.noarch.rpm                                                                                                                                             | 179 kB  00:00:00     
    (15/23): dejavu-sans-fonts-2.33-6.el7.noarch.rpm                                                                                                                                        | 1.4 MB  00:00:01     
    (16/23): unixODBC-2.3.1-11.el7.x86_64.rpm                                                                                                                                               | 413 kB  00:00:00     
    (17/23): python-lxml-3.2.1-4.el7.x86_64.rpm                                                                                                                                             | 758 kB  00:00:01     
    warning: /var/cache/yum/x86_64/7/zabbix/packages/zabbix-agent-3.0.4-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY                                   ] 2.6 MB/s |  21 MB  00:00:08 ETA 
    Public key for zabbix-agent-3.0.4-1.el7.x86_64.rpm is not installed
    (18/23): zabbix-agent-3.0.4-1.el7.x86_64.rpm                                                                                                                                            | 324 kB  00:00:06     
    (19/23): zabbix-java-gateway-3.0.4-1.el7.x86_64.rpm                                                                                                                                     | 708 kB  00:00:07     
    (20/23): java-1.8.0-openjdk-headless-1.8.0.101-3.b13.el7_2.x86_64.rpm                                                                                                                   |  31 MB  00:00:12     
    (21/23): zabbix-server-mysql-3.0.4-1.el7.x86_64.rpm                                                                                                                                     | 1.7 MB  00:00:09     
    (22/23): zabbix-web-mysql-3.0.4-1.el7.noarch.rpm                                                                                                                                        | 4.0 kB  00:00:00     
    (23/23): zabbix-web-3.0.4-1.el7.noarch.rpm                                                                                                                                              | 3.4 MB  00:00:18     
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                          1.5 MB/s |  42 MB  00:00:28
    I tried to install this on new, clean local virtual machines.

    Is this a known issue? Or does somebody know how to solve this?
    Last edited by GPegel; 16-08-2016, 11:56. Reason: some more detailed info
  • GPegel
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2015
    • 113

    #2
    I fixed it al ready. It seems the link to Zabbix repo GPG key was changed. I changed it to : http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-79EA5ED4 and now I got it back working again.

    Comment

    Working...