saltstack-formulas / docker-formula

Install and set up Docker
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
136 stars 330 forks source link

[BUG] Failing on downloading docker binary from dl.bintray.com: HTTP 403: Forbidden #292

Closed MurzNN closed 3 years ago

MurzNN commented 3 years ago

When I trying to install docker via formula, I started to receive the error:

          ID: docker-compose-software-binary-install
    Function: file.managed
        Name: /usr/local/docker-compose-latest/bin//docker-compose
      Result: False
     Comment: Attempt 1: Returned a result of "False", with the following comment: "Failed to cache https://dl.bintray.com/docker-compose/master/docker-compose-Linux-x86_64: Error: HTTP 403: Forbidden reading https://dl.bintray.com/docker-compose/master/docker-compose-Linux-x86_64"
              Attempt 2: Returned a result of "False", with the following comment: "Failed to cache https://dl.bintray.com/docker-compose/master/docker-compose-Linux-x86_64: Error: HTTP 403: Forbidden reading https://dl.bintray.com/docker-compose/master/docker-compose-Linux-x86_64"
              Failed to cache https://dl.bintray.com/docker-compose/master/docker-compose-Linux-x86_64: Error: HTTP 403: Forbidden reading https://dl.bintray.com/docker-compose/master/docker-compose-Linux-x86_64

After investigating I've found that they stops providing binaries: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

May 1st, 2021 | Bintray services will no longer be available. GoCenter, and ChartCenter services will no longer be available to non-Artifactory clients. (ConanCenter and JCenter are not affected).

So we need the new source for download binaries?

Formula commit hash :3a51c3f210b582f945814687f90f6c318c2461d03a7d9f7d2134a0ca340b55f9

Versions reports (master & minion)

#  salt --versions-report
Salt Version:
          Salt: 3002.6

Dependency Versions:
          cffi: 1.14.2
      cherrypy: Not Installed
      dateutil: 2.7.3
     docker-py: 4.1.0
         gitdb: 2.0.6
     gitpython: 3.0.7
        Jinja2: 2.10.1
       libgit2: Not Installed
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 0.6.2
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: 2.20
      pycrypto: Not Installed
  pycryptodome: 3.6.1
        pygit2: Not Installed
        Python: 3.8.5 (default, Jan 27 2021, 15:41:15)
  python-gnupg: 0.4.5
        PyYAML: 5.3.1
         PyZMQ: 18.1.1
         smmap: 2.0.5
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.3.2

System Versions:
          dist: ubuntu 20.04 focal
        locale: utf-8
       machine: x86_64
       release: 5.4.0-72-generic
        system: Linux
       version: Ubuntu 20.04 focal
MurzNN commented 3 years ago

Duplicate of https://github.com/saltstack-formulas/docker-formula/issues/281