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

Regression: Yum enabled staging repositories can't be released if target release repository contains yum metadata

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.1
    • Fix Version/s: 2.11.3
    • Component/s: Staging, Yum
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Sprint 37, Sprint 38

      Description

      1. Configure a hosted repository to allow yum metadata generation.
      2. Deploy an rpm into the hosted repository
      3. Configure a staging profile to allow yum metadata generation, and to release into the hosted repository used in step 1
      4. Stage an rpm, then try to release it

      This will fail with a message like this:

      Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/repodata/repomd.xml'

      This is a regression, in 2.10.0 the above scenario works without any problems.

      In Nexus 2.11.1 if you try to release a staging repository that has yum metadata generation enabled it will fail if the target repository has a "repodata/repomd.xml" file in it already.

        Attachments

          Activity

            People

            Assignee:
            jtom Joe Tom
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title