Skip to content

[BUG] Fedora repo URL returns 404 #29

@rmsc

Description

@rmsc

Your setup

Formula commit hash / release tag

1c189fd

Versions reports (master & minion)

# salt-master --versions-report
Salt Version:
          Salt: 3004.2

Dependency Versions:
          cffi: Not Installed
      cherrypy: Not Installed
      dateutil: Not Installed
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.1.2
       libgit2: Not Installed
      M2Crypto: 0.38.0
          Mako: Not Installed
       msgpack: 1.0.3
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: Not Installed
      pycrypto: Not Installed
  pycryptodome: 3.12.0
        pygit2: Not Installed
        Python: 3.10.5 (main, Jun  6 2022, 18:49:26) [GCC 12.1.0]
  python-gnupg: Not Installed
        PyYAML: 6.0
         PyZMQ: 23.2.0
         smmap: Not Installed
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.3.4

System Versions:
          dist: arch
        locale: utf-8
       machine: x86_64
       release: 5.18.10-arch1-1
        system: Linux
       version: Arch Linux
# salt-minion --versions-report
Salt Version:
          Salt: 3004.2

Dependency Versions:
          cffi: 1.15.0
      cherrypy: 18.6.1
      dateutil: 2.8.1
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.0.3
       libgit2: Not Installed
      M2Crypto: 0.38.0
          Mako: 1.1.4
       msgpack: 1.0.3
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: 2.20
      pycrypto: 2.6.1
  pycryptodome: 3.15.0
        pygit2: Not Installed
        Python: 3.10.4 (main, Mar 25 2022, 00:00:00) [GCC 12.0.1 20220308 (Red Hat 12.0.1-0)]
  python-gnupg: Not Installed
        PyYAML: 6.0
         PyZMQ: 22.3.0
         smmap: Not Installed
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.3.4

System Versions:
          dist: fedora 36
        locale: utf-8
       machine: x86_64
       release: 5.17.5-300.fc36.x86_64
        system: Linux
       version: Fedora Linux 36

Pillar / config used

ceph:
  release: quincy
  use_upstream_repo: true

Bug details

Describe the bug

The package URL for Fedora doesn't seem to be available upstream anymore. Only 'el7' and 'el8' RPMs are available:

$ cat osmap.yaml
(...)
Fedora:
  pkg_repo:
    baseurl: '{{ repo.official }}/rpm-{{ repo.release }}/{{ repo.oscode }}/$basearch'
(...)
wget -qO- https://download.ceph.com/rpm-quincy/
<html>
<head><title>Index of /rpm-quincy/</title></head>
<body>
<h1>Index of /rpm-quincy/</h1><hr><pre><a href="../">../</a>
<a href="el7/">el7/</a>                                               23-Jun-2022 19:06                   -
<a href="el8/">el8/</a>                                               23-Jun-2022 19:06                   -
</pre><hr></body>
</html>

Steps to reproduce the bug

`salt 'minion1' state.apply ceph.repo

Attempts to fix the bug

Maybe the RHEL packages will work with Fedora, and it's just a matter of matching the right EL versions to the Fedora versions. I haven't tested this yet.

Additional context

Please correct me if I'm wrong, but this formula seems to be abandoned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions