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

Removing members from a group leaves vestigial data behind

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.13.0
    • Fix Version/s: None
    • Component/s: RubyGems
    • Labels:

      Description

      We had the following setup: gems (group) containing gems-private (hosted) and gems-rubygems (proxy). Then we removed gems-rubygems (proxy) from the list of members of that group due to https://issues.sonatype.org/browse/NEXUS-18799. We are still using that group to install private gems currently hosted on gems-private.

      When attempting to update a private gem we would get the following:

      > bundle update private-gem
      Fetching gem metadata from https://nexus.foo.com/repository/gems/.....
      Fetching source index from https://gems.contribsys.com/
      Fetching source index from https://gems.contribsys.com/
      Fetching gem metadata from https://nexus.foo.com/repository/gems/..
      Fetching gem metadata from https://rubygems.org/...........
      Fetching source index from https://nexus.foo.com/repository/gems/
      Fetching source index from https://nexus.foo.com/repository/gems/
      Fetching source index from https://rubygems.org/
      Resolving dependencies.......
      Net::HTTPNotFound

      Running bundle update private-gem —verbose shows that Nexus is being hit for gems hosted by Rubygems.org and returning 404 and halting the entire process.

      We deleted the group and recreated the group without ever adding gems-rubygems back to the list of members and the problem went away.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            danilo Danilo Cabello
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title