Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

500 internal server error with packagecloud.io #133

Closed
shibumi opened this issue Jan 26, 2019 · 4 comments
Closed

500 internal server error with packagecloud.io #133

shibumi opened this issue Jan 26, 2019 · 4 comments

Comments

@shibumi
Copy link

shibumi commented Jan 26, 2019

While executing the cloudalchemy ansible-grafana role, I get the following error:

TASK [cloudalchemy.grafana : Update Apt cache] *************************************************************************************************************
FAILED - RETRYING: Update Apt cache (5 retries left).
FAILED - RETRYING: Update Apt cache (4 retries left).
FAILED - RETRYING: Update Apt cache (3 retries left).
FAILED - RETRYING: Update Apt cache (2 retries left).
FAILED - RETRYING: Update Apt cache (1 retries left).
fatal: [192.168.33.10]: FAILED! => {"attempts": 5, "changed": false, "msg": "Failed to update apt cache: "}

When I look on the machine I see something like this:

vagrant@ubuntu-bionic:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                     
Hit:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                   
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                                   
Err:5 https://packagecloud.io/grafana/stable/debian jessie InRelease                                                          
  500  Internal Server Error [IP: 50.97.198.58 443]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
173 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch https://packagecloud.io/grafana/stable/debian/dists/jessie/InRelease  500  Internal Server Error [IP: 50.97.198.58 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Is this error persistent or does packagecloud have problems a the moment?

@paulfantom
Copy link
Member

Grafana changed their official repositories from packagecloud.io to packages.grafana.com. We followed this change in #125 which is included in release 0.13.0

@shibumi
Copy link
Author

shibumi commented Jan 26, 2019

Mhh i have updated via ansible-galaxy install -r requirements.yml. Now I get:

 [WARNING]: - cloudalchemy.grafana (0.13.0) is already installed - use --force to change version to unspecified

so It seems I am running 0.13.0, but still I get the same issue.

@shibumi
Copy link
Author

shibumi commented Jan 26, 2019

Ok my bad.. looks like ansible-galaxy is not updating things correctly and this is a known bug. Removing the directories and reinstalling via ansible-galaxy with --force fixed it for me.

@shibumi shibumi closed this as completed Jan 26, 2019
@lock
Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants