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

wrong metadata if uploaded rpm have different name than name in rpm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 6.12.0
    • Pulp
    • Rocket Sprint 11
    • Important
    • None

      Description of problem:

      If i will upload rpm for example xxx-1.2.3.rpm into repository, but inside that rpm the name is for example yyy, repository metadata will point into yyy even though physically the file is named xxx and pulpcore db data pointing correctly to xxx-1.2.3.rpm.

      Version-Release number of selected component (if applicable):
      Satellite 6.12.0-4

      How reproducible:
      Always

      Steps to Reproduce:
      1. Create custom repository
      2. Upload rpm
      3. Install rpm on client

      Actual results:
      [Errno 14] HTTPS Error 404 - Not Found

      Expected results:
      Successful installation

      Additional info:
      As workaround repository can be removed and manually removed records in pulpcore database, after that physically rename rpm to correspond to its metadata and after that file will be pointed correctly to actual location.

      More details internally.

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-shwsingh Shweta Singh
              Shweta Singh Shweta Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: