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

packagecloud rabbitmq-server failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Duplicate
    • Affects Version/s: 6.0.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Severity:
      Medium

      Description

      rpm located in noarch but xml located under $basearch

       

      This causes 500 error when using "Store Locally" setting on remote repository.

      Disabling the local cache of artifacts, one of the largest reasons we use Artifactory, fixes this issue but isn't acceptable solution as we need "localized" assets for our builds and cached artifacts allows for that.

       

      #rabbitmq.repo
      
      [rabbitmq]
      name=Local Artifactory
      # Artifactory Remote RPM repo: https://packagecloud.io/rabbitmq/rabbitmq-server
      baseurl=https://artifactory.domain.com/rabbitmq-server/el/7/$basearch/
      gpgcheck=0
      enabled=1
      
      #erlang.repo
      
      [erlang]
      name=Local Erlang
      # Artifactory Remote RPM repo: https://packagecloud.io/rabbitmq/erlang
      baseurl=https://artifactory.domain.com/erlang/el/7/$basearch/
      gpgcheck=0
      enabled=1

       

      [root@92bdb9d12165 yum.repos.d]# yum install rabbitmq-server
      Loaded plugins: fastestmirror, ovl
      base                                                                                                                             | 3.6 kB  00:00:00
      erlang                                                                                                                           | 1.0 kB  00:00:00
      extras                                                                                                                           | 3.4 kB  00:00:00
      rabbitmq                                                                                                                         | 1.0 kB  00:00:00
      updates                                                                                                                          | 3.4 kB  00:00:00
      (1/4): extras/7/x86_64/primary_db                                                                                                | 172 kB  00:00:00
      (2/4): base/7/x86_64/group_gz                                                                                                    | 166 kB  00:00:00
      (3/4): base/7/x86_64/primary_db                                                                                                  | 5.9 MB  00:00:01
      (4/4): updates/7/x86_64/primary_db                                                                                               | 4.2 MB  00:00:04
      (1/2): rabbitmq/x86_64/primary                                                                                                   |  20 kB  00:00:00
      (2/2): erlang/x86_64/primary                                                                                                     | 294 kB  00:00:00
      Determining fastest mirrors
       * base: mirror.ash.fastserv.com
       * extras: mirror.siena.edu
       * updates: mirror.trouble-free.net
      erlang                                                                                                                                            48/48
      rabbitmq                                                                                                                                          27/27
      Resolving Dependencies
      --> Running transaction check
      ---> Package rabbitmq-server.noarch 0:3.7.7-1.el7 will be installed
      --> Processing Dependency: erlang >= 19.3 for package: rabbitmq-server-3.7.7-1.el7.noarch
      --> Processing Dependency: socat for package: rabbitmq-server-3.7.7-1.el7.noarch
      --> Processing Dependency: logrotate for package: rabbitmq-server-3.7.7-1.el7.noarch
      --> Running transaction check
      ---> Package erlang.x86_64 0:21.0.3-1.el7.centos will be installed
      ---> Package logrotate.x86_64 0:3.8.6-15.el7 will be installed
      ---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed
      --> Processing Dependency: libwrap.so.0()(64bit) for package: socat-1.7.3.2-2.el7.x86_64
      --> Running transaction check
      ---> Package tcp_wrappers-libs.x86_64 0:7.6-77.el7 will be installed
      --> Finished Dependency Resolution
      
      Dependencies Resolved
      
      ========================================================================================================================================================
       Package                                 Arch                         Version                                      Repository                      Size
      ========================================================================================================================================================
      Installing:
       rabbitmq-server                         noarch                       3.7.7-1.el7                                  rabbitmq                       9.1 M
      Installing for dependencies:
       erlang                                  x86_64                       21.0.3-1.el7.centos                          erlang                          18 M
       logrotate                               x86_64                       3.8.6-15.el7                                 base                            69 k
       socat                                   x86_64                       1.7.3.2-2.el7                                base                           290 k
       tcp_wrappers-libs                       x86_64                       7.6-77.el7                                   base                            66 k
      
      Transaction Summary
      ========================================================================================================================================================
      Install  1 Package (+4 Dependent packages)
      
      Total download size: 27 M
      Installed size: 43 M
      Is this ok [y/d/N]: y
      Downloading packages:
      warning: /var/cache/yum/x86_64/7/base/packages/logrotate-3.8.6-15.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEYB  --:--:-- ETA
      Public key for logrotate-3.8.6-15.el7.x86_64.rpm is not installed
      (1/5): logrotate-3.8.6-15.el7.x86_64.rpm                                                                                         |  69 kB  00:00:00
      (2/5): tcp_wrappers-libs-7.6-77.el7.x86_64.rpm                                                                                   |  66 kB  00:00:00
      (3/5): socat-1.7.3.2-2.el7.x86_64.rpm                                                                                            | 290 kB  00:00:00
      rabbitmq-server-3.7.7-1.el7.no FAILED                                                                                 ] 1.1 MB/s | 2.8 MB  00:00:21 ETA
      https://artifactory.domain.com/rabbitmq-server/el/7/x86_64/../noarch/rabbitmq-server-3.7.7-1.el7.noarch.rpm: [Errno 14] HTTP Error 500 - Internal Server Error
      Trying other mirror.
      (4/5): erlang-21.0.3-1.el7.centos.x86_64.rpm

       

      After I disable the local caching it works fine:

       

      [root@92bdb9d12165 yum.repos.d]# yum install rabbitmq-server
      Loaded plugins: fastestmirror, ovl
      Loading mirror speeds from cached hostfile
       * base: mirror.ash.fastserv.com
       * extras: mirror.siena.edu
       * updates: mirror.trouble-free.net
      Resolving Dependencies
      --> Running transaction check
      ---> Package rabbitmq-server.noarch 0:3.7.7-1.el7 will be installed
      --> Processing Dependency: erlang >= 19.3 for package: rabbitmq-server-3.7.7-1.el7.noarch
      --> Processing Dependency: socat for package: rabbitmq-server-3.7.7-1.el7.noarch
      --> Processing Dependency: logrotate for package: rabbitmq-server-3.7.7-1.el7.noarch
      --> Running transaction check
      ---> Package erlang.x86_64 0:21.0.3-1.el7.centos will be installed
      ---> Package logrotate.x86_64 0:3.8.6-15.el7 will be installed
      ---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed
      --> Processing Dependency: libwrap.so.0()(64bit) for package: socat-1.7.3.2-2.el7.x86_64
      --> Running transaction check
      ---> Package tcp_wrappers-libs.x86_64 0:7.6-77.el7 will be installed
      --> Finished Dependency Resolution
      
      Dependencies Resolved
      
      ========================================================================================================================================================
       Package                                 Arch                         Version                                      Repository                      Size
      ========================================================================================================================================================
      Installing:
       rabbitmq-server                         noarch                       3.7.7-1.el7                                  rabbitmq                       9.1 M
      Installing for dependencies:
       erlang                                  x86_64                       21.0.3-1.el7.centos                          erlang                          18 M
       logrotate                               x86_64                       3.8.6-15.el7                                 base                            69 k
       socat                                   x86_64                       1.7.3.2-2.el7                                base                           290 k
       tcp_wrappers-libs                       x86_64                       7.6-77.el7                                   base                            66 k
      
      Transaction Summary
      ========================================================================================================================================================
      Install  1 Package (+4 Dependent packages)
      
      Total size: 27 M
      Total download size: 9.1 M
      Installed size: 43 M
      Is this ok [y/d/N]: y
      Downloading packages:
      Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
      rabbitmq-server-3.7.7-1.el7.noarch.rpm                                                                                           | 9.1 MB  00:00:05
      warning: /var/cache/yum/x86_64/7/base/packages/logrotate-3.8.6-15.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
      Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
      Importing GPG key 0xF4A80EB5:
       Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
       Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
       Package    : centos-release-7-4.1708.el7.centos.x86_64 (@CentOS)
       From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
      Is this ok [y/N]: y
      Running transaction check
      Running transaction test
      Transaction test succeeded
      Running transaction
        Installing : tcp_wrappers-libs-7.6-77.el7.x86_64                                                                                                  1/5
        Installing : socat-1.7.3.2-2.el7.x86_64                                                                                                           2/5
        Installing : logrotate-3.8.6-15.el7.x86_64                                                                                                        3/5
        Installing : erlang-21.0.3-1.el7.centos.x86_64                                                                                                    4/5
        Installing : rabbitmq-server-3.7.7-1.el7.noarch                                                                                                   5/5
      Failed to get D-Bus connection: Operation not permitted
        Verifying  : erlang-21.0.3-1.el7.centos.x86_64                                                                                                    1/5
        Verifying  : logrotate-3.8.6-15.el7.x86_64                                                                                                        2/5
        Verifying  : socat-1.7.3.2-2.el7.x86_64                                                                                                           3/5
        Verifying  : rabbitmq-server-3.7.7-1.el7.noarch                                                                                                   4/5
        Verifying  : tcp_wrappers-libs-7.6-77.el7.x86_64                                                                                                  5/5
      
      Installed:
        rabbitmq-server.noarch 0:3.7.7-1.el7
      
      Dependency Installed:
        erlang.x86_64 0:21.0.3-1.el7.centos     logrotate.x86_64 0:3.8.6-15.el7     socat.x86_64 0:1.7.3.2-2.el7     tcp_wrappers-libs.x86_64 0:7.6-77.el7
      
      Complete!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              cdenneen Chris Denneen
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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