Need help with repository GPG settings.
I have configured a repository and channel for Zabbix 5.4. It syncs and works as expected. For SUSE systems, I have unchecked "Enable GPG Check", and it works fine. Now, I have setup a repository for this for CentOS 7, but it gives errors similar to the following, when trying to install a package: "Public key for zabbix-agent2-5.4.5-1.el7.x86_64.rpm is not installed". It seems that just unchecking GPG check doesn't work with yum as it does with zypper. In the GPG section, for "GPG Key URL", I have put " http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" I'm not sure what to put for "GPG Key ID" or "GPG Key Fingerprint". The key in the URL is correct, because I can manually install that one on the client and have it work. How do I get this to work when the channel is associated with a CentOS system (as it does on SLES), without having to manually import that key on the system? Thanks. Allen B. -- Allen Beddingfield Systems Engineer Office of Information Technology The University of Alabama Office 205-348-2251 allen@ua.edu
So, is this behavior "functioning as designed", or should the repository's key get imported when I assign the channel to a system? I would assume that it is supposed to, since there is an option to configure it on the repository and channel settings. If not, what is the preferred way to import a key when adding a new repo to a system? I know I could just do a remote execute and do it, or for a command to run in a salt state, but I suspect there is a better way. Thanks. Allen B. -- Allen Beddingfield Systems Engineer Office of Information Technology The University of Alabama Office 205-348-2251 allen@ua.edu ________________________________________ From: Allen Beddingfield <allen@ua.edu> Sent: Thursday, September 30, 2021 2:28 PM To: uyuni-users@opensuse.org Subject: Need help with repository GPG settings. I have configured a repository and channel for Zabbix 5.4. It syncs and works as expected. For SUSE systems, I have unchecked "Enable GPG Check", and it works fine. Now, I have setup a repository for this for CentOS 7, but it gives errors similar to the following, when trying to install a package: "Public key for zabbix-agent2-5.4.5-1.el7.x86_64.rpm is not installed". It seems that just unchecking GPG check doesn't work with yum as it does with zypper. In the GPG section, for "GPG Key URL", I have put " http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591" I'm not sure what to put for "GPG Key ID" or "GPG Key Fingerprint". The key in the URL is correct, because I can manually install that one on the client and have it work. How do I get this to work when the channel is associated with a CentOS system (as it does on SLES), without having to manually import that key on the system? Thanks. Allen B. -- Allen Beddingfield Systems Engineer Office of Information Technology The University of Alabama Office 205-348-2251 allen@ua.edu
participants (1)
-
Allen Beddingfield