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

deleting a repository may not remove it as a member from group repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.2, 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: Repository
    • Labels:
    • Environment:
      Running on Ubuntu 14.02 on an EC2 instance in AWS.
    • Story Points:
      1
    • Sprint:
      Sprint 88, Sprint 89

      Description

      After deleting a docker repository (hosted or proxy) that belongs to a group, requests made through the group continue to try to access the deleted repository as seen in the logs.

      If a new repository is made with the same name, it is automatically re-added to the group with the old configuration. If a bad configuration is deleted, then recreated with correct configuration, requests still fail. The work around is to remove the repo from the group, then delete it, then recreate it and add it to the group.

      For example:

      If npm-host-test repo is member of group npm-group-test

      If you delete repository npm-host-test, from the UI npm-host-test is no longer a member of npm-group-test, but any requests made to that group generates the following warning:

      2017-03-31 14:40:37,027+0100 WARN  [qtp1259796356-262] admin org.sonatype.nexus.repository.group.GroupFacetImpl - Ignoring missing member repository: npm-host-test
      2017-03-31 14:40:37,341+0100 WARN  [qtp1259796356-261] admin org.sonatype.nexus.repository.group.GroupFacetImpl - Ignoring missing member repository: npm-host-test
      2017-03-31 14:40:38,073+0100 WARN  [qtp1259796356-62] admin org.sonatype.nexus.repository.group.GroupFacetImpl - Ignoring missing member repository: npm-host-test

      Additionally the support zip will still show the repository as a member of the npm-group-test.

        Attachments

          Activity

            People

            Assignee:
            bradbeck Brad Beck
            Reporter:
            bradford.coombs@gmail.com Bradford Coombs
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title