-
Notifications
You must be signed in to change notification settings - Fork 106
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
Import of new gpg key from Repo fails with 401 Unauthorized #151
Comments
mhm strange. The link works for me as well. Do you require a proxy or something similar, and puppet isn't aware of it? |
I had the same problem. |
Hi @bastelfreak, |
@thaiphv while you also had it, the problem might be within the apt puppet module. maybe packagecloud does not allow the user-agent or something like this....i'll try to replicate the issue |
I think it's related to the |
@thaiphv Is there any news on this issue? Which version of the |
I think this issue can be closed as the URLs have been reworked by Grafana Labs and it's stale for almost four years now |
fixes voxpupuli#278 refs voxpupuli#151
fixes voxpupuli#278 refs voxpupuli#151
fixes voxpupuli#278 refs voxpupuli#151 Signed-off-by: Adrian Nöthlich <[email protected]>
fixes voxpupuli#278 refs voxpupuli#151 Signed-off-by: Adrian Nöthlich <[email protected]>
fixes voxpupuli#278 refs voxpupuli#151 Signed-off-by: Adrian Nöthlich <[email protected]>
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
We use the module to install Grafana and manage it. Today we updated the module to the latest master which includes the DEB Repo URL fix and we see 401 Unauthorized while adding the new gpg key from the URL.
What are you seeing
Error: 401 Unauthorized for https://packages.grafana.com/gpg.key Error: /Stage[main]/Grafana::Install/Apt::Source[grafana]/Apt::Key[Add key: 4E40DDF6D76E284A4A6780E48C8C34C524098CB6 from Apt::Source grafana]/Apt_key[Add key: 4E40DDF6D76E284A4A6780E48C8C34C524098CB6 from Apt::Source grafana]/ensure: change from absent to present failed: 401 Unauthorized for https://packages.grafana.com/gpg.key
What behaviour did you expect instead
I can download this gpg key file and import it manually on the machine. Then the puppet run works without any problems also on consecutive runs.
The text was updated successfully, but these errors were encountered: