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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 6.12.z, 6.13.z
    • 6.12.0
    • Pulp
    • Important

      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
            jira-bugzilla-migration RH Bugzilla Integration
            Shweta Singh Shweta Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: