Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-29138

Pulp option generate_repo_config should be configurable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 6.15.0
    • Repositories
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Moderate
    • Yes

      Description of problem:

      Until Satellite 6.14 (pulp-rpm-3.19), pulp generated config.repo for all repositories.

      In pulp-rpm-3.23 a change was introduced and this became configurable, with a default to false [1]. Therefore,  on Satellite 6.15 the config.repo generation is disabled for all, since there's no configuration option for it.

      This options is to be defined at the creation of distributions[2].

       

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      yes

      Steps to Reproduce:

      1. Sync any repository (use a kickstart or a custom one, to be easy to verify)

      2. Access the published URL and noticed that no config.repo is present, when doing it on 6.15. Repeat the same steps on a 6.14 and you'll see the file there.

      Actual behavior:
      config.repo is not generated anymore

      Expected behavior:
      config.repo should be generated or at least there should be a way to enable its generation.

      Business Impact / Additional info:

      [1]: https://github.com/pulp/pulp_rpm/issues/2985

      [2]: https://pulpproject.org/pulp_rpm/restapi/#tag/Distributions:-Rpm/operation/distributions_rpm_rpm_create

              Unassigned Unassigned
              rhn-support-jpasqual Joniel Pasqualetto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: