Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-22031

Yum Metadata Not Fully Rebuilt After Running Cleanup Tags task

    XMLWordPrintable

    Details

    • Notability:
      3

      Description

      The Yum metadata is not fully rebuilt after running the admin - cleanup tags task against a yum repo i.e. the repo's filelists, primary and other xml files are removed and not re-added.

      To reproduce:

      1. Upload two components to a hosted yum repo.
      2. Tag one of those components.
      3. Configure and run the cleanup tags task to run against this repo:
        • Ensure 'Deletes associated components' is checked.
        • Set the tag regex to the tag from step 2.
      4. Run this task and from the logs also confirm the yum metadata rebuild runs.

      Expected:
      The tag and tagged component is removed, the yum metadata rebuild runs and all metadata files are rebuilt.

      Actual:
      The tag and tagged component is removed, the yum metadata rebuild run but theĀ filelists, primary and other xml files are missing.

      Workaround:
      Run theĀ 'Repair - Rebuild Yum repository metadata (repodata)' task against the affected repository.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              KWright Kristofer Wright [X] (Inactive)
              Reporter:
              hardeepn Hardeep Nagra
              CC:
              Anders Hammar
              Last Updated By:
              Michael Prescott Michael Prescott
              Team:
              NXRM - Neo
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title