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

Support zip generation fails without a blobstore

    Details

    • Story Points:
      1

      Description

      Nexus admins cannot create a support zip if there is no blobstore present. Per the nexus.log:

      2018-11-12 16:10:10,285+0000 INFO [qtp1301159914-189] admin com.sonatype.nexus.hazelcast.internal.BlobStoreDownloadServiceImpl - Move: support-20181112-161009-3.zip
      2018-11-12 16:10:10,286+0000 ERROR [qtp1301159914-189] admin org.sonatype.nexus.extdirect.internal.ExtDirectServlet - Failed to invoke action method: atlas_SupportZip.create, java-method: org.sonatype.nexus.coreui.internal.atlas.SupportZipComponent.create
      java.util.NoSuchElementException: null
       at com.google.common.collect.AbstractIndexedListIterator.next(AbstractIndexedListIterator.java:75)
       at com.sonatype.nexus.hazelcast.internal.BlobStoreDownloadServiceImpl.move(BlobStoreDownloadServiceImpl.java:108)*
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrap.invoke(PojoMetaMethodSite.java:213)
       at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:136)
       at org.sonatype.nexus.internal.atlas.SupportZipGeneratorImpl.generate(SupportZipGeneratorImpl.groovy:151)
       at org.sonatype.nexus.supportzip.SupportZipGenerator$generate.call(Unknown Source)
       at org.sonatype.nexus.coreui.internal.atlas.SupportZipComponent.create(SupportZipComponent.groovy:57)

      New Nexus HA-C environments don't have blobstores, which means we can't get support zips to troubleshoot issues encountered early on.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              natemcafee Nate McAfee
              Reporter:
              jkruger John Kruger
              CC:
              Henry Franco
              Last Updated By:
              Peter Lynch Peter Lynch
              Team:
              NXRM - Cypher
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title