Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-27104

NuGet package indexes out of sync in HA instance

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.27.10
    • Fix Version/s: None
    • Component/s: NuGet, Package indexer
    • Labels:
    • Severity:
      High
    • Location:
      External

      Description

      In my organization, we have an HA Artifactory setup with 2 nodes, app01.foo.bar and app02.foo.bar. There is a load balancer with a VIP setup at artifactory.foo.bar that will distribute traffic out between these 2 nodes.

      I am encountering an issue on local NuGet repos where the NuGet package index does not match between the 2 nodes – when I try to resolve a NuGet package from artifactory.foo.bar, I get different results every time I run my commands, depending on which node I am directed to. This makes our NuGet package resolution incredibly unstable.

      I have attached to this ticket the NuGet package indexes for each node (internal info removed), which I accessed via https://app01.foo.bar/artifactory/api/nuget/adlm-chocolatey-local/Packages()* and *https://app02.foo.bar/artifactory/api/nuget/adlm-chocolatey-local/Packages()*. In the *app01 index, there is only 2 packages, while app02 has 5.

      I have artifactory.foo.bar setup as my Chocolatey package repo (the default repo is disabled) and when I search for a package, I am getting different results based on which node I get directed to:

      PS C:\Users\Me> choco search vcredist140
      Chocolatey v1.1.0
      0 packages found.

      PS C:\Users\Me> choco search vcredist140
      Chocolatey v1.1.0
      vcredist140 14.31.31103.20220402
      1 packages found.

      According to our Artifactory front-end, we are on version 7.27.9, which isn't listed in the affects version dropdown (not sure what that means), so I picked the next closest thing. We are on an enterprise license if that makes a difference.

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jmcmillan Justin McMillan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-27168 -
                  SYNCHRONIZED
                  • Last Sync Date: