-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPM gpg key verification failure on install #194
Comments
|
Can you try running |
|
Running a clean all did not help. The problem appears to be having the repo_gpgcheck repo file option set to 1. I do not know if this is a recent or temporary issue with the Gitlab repo, but I have always had problems with this setting. Once I changed it to zero, a yum install from the CLI worked fine. I'll check to see if this setting is exposed as a parameter. |
|
It should be, I think I'm the one who added it.
There can be some things in between yum and the package origin that can
sometimes cause delays for gpg key matching.
Any servers in-between that have caching for example, or expiry settings
for metadata.
Or it could legitimately be a corrupted source, so you'll want to verify
that as well.
…On Feb 15, 2018 1:17 PM, "joneste" ***@***.***> wrote:
Running a clean all did not help. The problem appears to be having the
repo_gpgcheck repo file option set to 1. I do not know if this is a recent
or temporary issue with the Gitlab repo, but I have always had problems
with this setting. Once I changed it to zero, a yum install from the CLI
worked fine. I'll check to see if this setting is exposed as a parameter.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#194 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADIVgR5RdBOQdhk8NWfrO-UlEoEa1mKIks5tVILAgaJpZM4SHUIg>
.
|
|
I believe this issue is a temporary repository issue with gitlab. Therefore, the gitlab module is not at fault. |
|
@joneste Was this issue ever resolved? I'm currently running into the same exact issued on RHEL 7. Found the issue. The gpg key had a reference to the CE gpg key. |
|
This issues is resolved in |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
class { 'gitlab':
edition => 'ee',
}
What are you seeing
Here is output showing the error.
Notice: /Stage[main]/Gitlab::Install/Yumrepo[gitlab_official_ee]/ensure: created
Error: Execution of '/bin/yum -d 0 -e 0 -y install gitlab-ee' returned 1: Importing GPG key 0xF27EAB47:
Userid : "GitLab, Inc. support@gitlab.com"
Fingerprint: dbef 8977 4ddb 9eb3 7d9f c3a0 3cfc f9ba f27e ab47
From : https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey/gitlab-gitlab-ee-3D645A26AB9FBD22.pub.gpg
One of the configured repositories failed (Official repository for Gitlab),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
failure: repodata/repomd.xml from gitlab_official_ee: [Errno 256] No more mirrors to try.
https://packages.gitlab.com/gitlab/gitlab-ee/el/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for gitlab_official_ee
Error: /Stage[main]/Gitlab::Install/Package[gitlab-ee]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install gitlab-ee' returned 1: Importing GPG key 0xF27EAB47:
Userid : "GitLab, Inc. support@gitlab.com"
Fingerprint: dbef 8977 4ddb 9eb3 7d9f c3a0 3cfc f9ba f27e ab47
From : https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey/gitlab-gitlab-ee-3D645A26AB9FBD22.pub.gpg
One of the configured repositories failed (Official repository for Gitlab),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
failure: repodata/repomd.xml from gitlab_official_ee: [Errno 256] No more mirrors to try.
https://packages.gitlab.com/gitlab/gitlab-ee/el/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for gitlab_official_ee
What behaviour did you expect instead
I expect the gpg keys to be imported and gitlab to be installed.
Output log
Please see above
Any additional information you'd like to impart
I think similar issue was brought up in issue #163. However, the issue was closed.
The text was updated successfully, but these errors were encountered: