Skip to content
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

Importing Jenkins RPM key fails for RHEL-7.x #184

Closed
jaypoulz opened this issue Oct 2, 2017 · 0 comments
Closed

Importing Jenkins RPM key fails for RHEL-7.x #184

jaypoulz opened this issue Oct 2, 2017 · 0 comments
Assignees

Comments

@jaypoulz
Copy link

jaypoulz commented Oct 2, 2017

Default configuration values

rpm_key_imports:
  - key: http://pkg.jenkins-ci.org/redhat-stable/jenkins.io.key
    validate_certs: true

Relevant task output.

TASK [repositories : import repository keys]
(item={u'validate_certs': True, u'key': u'http://pkg.jenkins-ci.org/redhat-stable/jenkins.io.key'}) => {"changed": false, "failed": true, "item": {"key": "http://pkg.jenkins-ci.org/redhat-stable/jenkins.io.key", "validate_certs": true}, "msg": "gpg: no valid OpenPGP data found.\ngpg: processing message failed: Unknown system error\n"}

This has been an issue since around Friday, September 29th as far as I know. It could be that the key is in a transitional state, or that OpenPGP has been updated.

Workaround

  1. don't validate the redhat jenkins cert (and accept the security risk)

In my case, I didn't know that key since I'm not deploying a jenkins master, so I have disabled the repo.

@greg-hellings greg-hellings self-assigned this Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants