-
Notifications
You must be signed in to change notification settings - Fork 2k
linode install failed gpg: keyserver refresh failed: General error #1806
Comments
One work around is to add --keyserver keyserver.ubuntu.com to |
Where exactly? |
Tried this and it hung indefinitely. |
Me too.... am awaiting @colinhc 's reply for details. |
Any workaround for this yet? |
Root issue seems to be a general flaw with OpenGPG as a system. What is an alternative? |
Change line 88 to when:False Also, you might get a OpenVPN error. Refer to #1808 for more info |
That worked for me. It was this line:
changed the last one to: when: False Then I was able to re-run the Linode setup and it ignored the GPG key check as a workaround. |
TASK [gpg : Refresh the Streisand GPG keyring with keyserver information] ***************************************************
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (10 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (9 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (8 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (7 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (6 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (5 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (4 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (3 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (2 retries left).
FAILED - RETRYING: Refresh the Streisand GPG keyring with keyserver information (1 retries left).
fatal: [45.79.108.210]: FAILED! => {"attempts": 10, "changed": true, "cmd": ["gpg2", "--no-default-keyring", "--keyring", "/root/.gnupg/streisand/pubring.gpg", "--keyserver-options", "timeout=120", "--refresh"], "delta": "0:00:00.525127", "end": "2020-09-04 03:29:33.769627", "msg": "non-zero return code", "rc": 2, "start": "2020-09-04 03:29:33.244500", "stderr": "gpg: refreshing 10 keys from hkps://gpg.mozilla.org\ngpg: keyserver refresh failed: General error", "stderr_lines": ["gpg: refreshing 10 keys from hkps://gpg.mozilla.org", "gpg: keyserver refresh failed: General error"], "stdout": "", "stdout_lines": []}
Expected behavior:
No failure.
Actual Behavior:
The error happens in both interactive and non-interactive install.
Steps to Reproduce:
Additional Details:
Log output from Ansible or other relevant services (link to Gist for longer output):
*Target Cloud Provider: Linode
*Operating System of target host: Ubunutu 16.04 LTS
*Operating System of client: Ubunutu
*Version of Ansible, using
ansible --version
: 2.8.4*Output from
git rev-parse HEAD
in your Streisand directory :The text was updated successfully, but these errors were encountered: