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

nexus yum proxy repository unable to update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.11.0
    • Fix Version/s: None
    • Component/s: Yum
    • Labels:
      None
    • Environment:
      fedora 27

      Description

      Using Sonatype Nexus Repository ManagerOSS 3.11

      Using yum proxied

      1. switched proxy remote storage to a mirror
        1. https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-27&arch=x86_64
      2. unable to update from the repo
      3. during an install one package gets 10% then breaks
      4. package not listed in repo
      5. package listed in remote storage repo
      6. log looked contained the following error
      018-05-12 03:51:55,528+0000 WARN  [qtp163820813-41]  *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure servicing: GET /nexus/repository/fc27_updates/Packages/n/net-snmp-perl-5.7.3-27.fc27.x86_64.rpm
      java.nio.BufferUnderflowException: null
              at org.redline_rpm.Util.fill(Util.java:75)
              at org.redline_rpm.Util.fill(Util.java:60)
              at org.redline_rpm.header.Lead.read(Lead.java:59)
              at org.sonatype.nexus.repository.yum.internal.rpm.YumRpmParser.readRpmAndUpdateHeaderPosition(YumRpmParser.java:370)
              at org.sonatype.nexus.repository.yum.internal.rpm.YumRpmParser.parse(YumRpmParser.java:96)
              at org.sonatype.nexus.repository.yum.internal.rpm.YumRpmParser.parse(YumRpmParser.java:76)
              at org.sonatype.nexus.repository.yum.internal.YumFacetImpl.createRpmAsset(YumFacetImpl.java:186)
              at org.sonatype.nexus.repository.yum.internal.YumFacetImpl.storeRpm(YumFacetImpl.java:158)
              at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:56)
              at org.sonatype.nexus.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:54)
              at org.sonatype.nexus.repository.yum.internal.proxy.YumProxyFacetImpl.putRPM(YumProxyFacetImpl.java:141)
              at org.sonatype.nexus.repository.yum.internal.proxy.YumProxyFacetImpl.store(YumProxyFacetImpl.java:116)
              at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.doGet(ProxyFacetSupport.java:222)
              at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.lambda$1(ProxyFacetSupport.java:209)
              at org.sonatype.nexus.repository.proxy.Cooperation$CooperatingFuture.download(Cooperation.java:262)
              at org.sonatype.nexus.repository.proxy.Cooperation.download(Cooperation.java:194)
              at org.sonatype.nexus.repository.proxy.Cooperation.cooperate(Cooperation.java:93)
              at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.get(ProxyFacetSupport.java:201)
              at org.sonatype.nexus.repository.proxy.ProxyHandler.handle(ProxyHandler.java:49)
              at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)
              at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)
              at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)
      ...
              at java.lang.Thread.run(Thread.java:748)
              Suppressed: java.io.IOException: There are '2' unfinished operations.
                      at org.redline_rpm.ChannelWrapper.close(ChannelWrapper.java:214)
                      at org.redline_rpm.ReadableChannelWrapper.close(ReadableChannelWrapper.java:42)
                      at org.sonatype.nexus.repository.yum.internal.rpm.YumRpmParser.parse(YumRpmParser.java:104)
                      at org.sonatype.nexus.repository.yum.internal.rpm.YumRpmParser.parse(YumRpmParser.java:76)
                      at org.sonatype.nexus.repository.yum.internal.YumFacetImpl.createRpmAsset(YumFacetImpl.java:186)
                      at org.sonatype.nexus.repository.yum.internal.YumFacetImpl.storeRpm(YumFacetImpl.java:158)
                      at org.sonatype.nexus.repository.yum.internal.YumFacetImpl$$EnhancerByGuice$$5fa287a3.CGLIB$storeRpm$8(<generated>)
                      at org.sonatype.nexus.repository.yum.internal.YumFacetImpl$$EnhancerByGuice$$5fa287a3$$FastClassByGuice$$994cbe95.invoke(<generated>)
                      at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
                      at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
                      at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:56)
                      at org.sonatype.nexus.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:54)
                      at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
                      at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
                      at org.sonatype.nexus.repository.yum.internal.YumFacetImpl$$EnhancerByGuice$$5fa287a3.storeRpm(<generated>)
      
      
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            closer closer
            Last Updated By:
            Fabrice Bacchella Fabrice Bacchella
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title