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

Doesn't work on GCP ubuntu 20 - too many installation issues #22

Open
manojah99 opened this issue May 18, 2021 · 4 comments · May be fixed by #30
Open

Doesn't work on GCP ubuntu 20 - too many installation issues #22

manojah99 opened this issue May 18, 2021 · 4 comments · May be fixed by #30

Comments

@manojah99
Copy link

manojah99 commented May 18, 2021

Tried installer script on GCP ubuntu 20 (focal) (this what terraform installs)

I see too many issue

  1. Apt update breaks
  2. graken installation breaks
  3. wget --quiet -O minio command doesn't work
  4. rabbitmq installation breaks

Logs:

Rabbitmq section breaking:

## Change component to "erlang-21.x" to install the latest 21.x version.
## "bionic" as distribution name should work for any later Ubuntu or Debian release.
## See the release to distribution mapping table in RabbitMQ doc guides to learn more.
deb [trusted=yes] https://dl.bintray.com/rabbitmq-erlang/debian bionic erlang
deb [trusted=yes] https://dl.bintray.com/rabbitmq/debian bionic main
E: Failed to fetch https://dl.bintray.com/rabbitmq-erlang/debian/dists/bionic/erlang/binary-amd64/Packages  403  Forbidden [IP: 52.43.227.140 443]
E: Failed to fetch https://dl.bintray.com/rabbitmq/debian/dists/bionic/main/binary-amd64/Packages  403  Forbidden [IP: 52.43.227.140 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
@harshal-vaidya-mox
Copy link

Similar issues on AWS. I spent a lot of time on this, but had to abandon it later. Here is the log where it fails:

# Installs the latest Erlang 22.x release.
## Change component to "erlang-21.x" to install the latest 21.x version.
## "bionic" as distribution name should work for any later Ubuntu or Debian release.
## See the release to distribution mapping table in RabbitMQ doc guides to learn more.
deb [trusted=yes] https://dl.bintray.com/rabbitmq-erlang/debian bionic erlang
deb [trusted=yes] https://dl.bintray.com/rabbitmq/debian bionic main
E: Failed to fetch https://dl.bintray.com/rabbitmq-erlang/debian/dists/bionic/erlang/binary-amd64/Packages  403  Forbidden [IP: 34.213.218.48 443]
E: Failed to fetch https://dl.bintray.com/rabbitmq/debian/dists/bionic/main/binary-amd64/Packages  403  Forbidden [IP: 34.213.218.48 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.

@jgwilson42
Copy link

The challenge here (as I understand it) is that bintray is no longer available. This means that the installation for RabbitMQ needs to be updated in the installation script to use the new distribution mechanism. There are a couple of useful resources around this:

  1. Getting latest Erlang - https://computingforgeeks.com/how-to-install-latest-erlang-on-ubuntu-linux/
  2. Getting latest RabbitMQ - https://cloudsmith.io/~rabbitmq/repos/rabbitmq-server/setup/#formats-deb

@jgwilson42
Copy link

Based on the cause of the issue I believe that this will impact all installs using terraform irrespective of the cloud provider being used.

@jgwilson42
Copy link

See PR #27 for an example of how to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants