ansible-gitlab-runner icon indicating copy to clipboard operation
ansible-gitlab-runner copied to clipboard

GPG key retrieval failed: [Errno 14] HTTPS Error 404 - Not Found

Open Lusitaniae opened this issue 4 years ago • 1 comments

Just logging the error


TASK [riemers.gitlab-runner : (RedHat) Install GitLab Runner] ************************************************************************************************
fatal: [ec2-x-x-x-x.region-1.compute.amazonaws.com]: FAILED! => {"changed": true, "changes": {"installed": [], "updated": [["gitlab-runner", "14.0.0-1.x86_64 from runner_gitlab-runner"]]}, "msg": "warning: /var/cache/yum/x86_64/7/runner_gitlab-runner/packages/gitlab-runner-14.0.0-1.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 35dfa027: NOKEY\n\n\nGPG key retrieval failed: [Errno 14] HTTPS Error 404 - Not Found\n", "obsoletes": {"iwl7265-firmware": {"dist": "noarch", "repo": "installed", "version": "22.0.7.0-72.el7"}}, "rc": 1, "results": ["Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-\n              : manager\n\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\n\nLoading mirror speeds from cached hostfile\n * base: d36uatko69830t.cloudfront.net\n * extras: d36uatko69830t.cloudfront.net\n * updates: d36uatko69830t.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package gitlab-runner.x86_64 0:13.8.0-1 will be updated\n---> Package gitlab-runner.x86_64 0:14.0.0-1 will be an update\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package            Arch        Version         Repository                 Size\n================================================================================\nUpdating:\n gitlab-runner      x86_64      14.0.0-1        runner_gitlab-runner      391 M\n\nTransaction Summary\n================================================================================\nUpgrade  1 Package\n\nTotal size: 391 M\nDownloading packages:\nRetrieving key from https://packages.gitlab.com/runner/gitlab-runner/gpgkey\nRetrieving key from https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-366915F31B487241.pub.gpg\n"]}

cat /etc/*release
CentOS Linux release 7.7.1908 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.7.1908 (Core)
CentOS Linux release 7.7.1908 (Core)

Role is up to date

ansible-galaxy  install -f  riemers.gitlab-runner
- changing role riemers.gitlab-runner from v1.6.24 to unspecified
- downloading role 'gitlab-runner', owned by riemers
- downloading role from https://github.com/riemers/ansible-gitlab-runner/archive/v1.6.32.tar.gz
- extracting riemers.gitlab-runner to /home/i/.ansible/roles/riemers.gitlab-runner
- riemers.gitlab-runner (v1.6.32) was installed successfully

Lusitaniae avatar Jun 22 '21 18:06 Lusitaniae

Manually removing the yum repo and rerunning the playbook seems to have solved it

sudo rm /etc/yum.repos.d/runner_gitlab-runner.repo

Lusitaniae avatar Jun 22 '21 18:06 Lusitaniae

Seems this message did not get a lot of love. This does not mean it was not seen but time wise might not have made it to proper attention. This is just the clean up action ;)

github-actions[bot] avatar Jun 21 '23 02:06 github-actions[bot]