Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-40214

non-root install script does not work with ubuntu18

    XMLWordPrintable

    Details

    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      No

      Description

      Steps:

      1. Login as nonroot user to a ubuntu18 machine
      2. Download ubunut18 deb package for 6.6
      3. git clone non root install script
      4. mkdir ~/couchbase-home
      5. cd into non root install script directory
      6. Run command to install:

      ubuntu@ip-172-31-17-221:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise_6.6.0-7853-ubuntu18.04_amd64.deb
      2020/06/30T04:51:49 ERROR: Cannot install Couchbase Server missing dependency: " libc6 (>= 2.27)"

      7. Check to ensure libc6 is installed:

      ubuntu@ip-172-31-17-221:~$ dpkg -l | grep libc6
      ii libc6:arm64 2.27-3ubuntu1 arm64 GNU C Library: Shared libraries

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          arunkumar Arunkumar Senthilnathan added a comment - - edited

          Had a quick chat with Patrick Varley - happens consistently in my aws ubuntu18 env - gave access to the machine to debug further

          Show
          arunkumar Arunkumar Senthilnathan added a comment - - edited Had a quick chat with Patrick Varley - happens consistently in my aws ubuntu18 env - gave access to the machine to debug further
          Hide
          build-team Couchbase Build Team added a comment -

          Build python_tools::cb-non-package-installer-6.6.0-4 contains cb-non-package-installer commit ee3d16b with commit message:
          MB-40214 fixing the missing dependency issue for deb packages

          Show
          build-team Couchbase Build Team added a comment - Build python_tools::cb-non-package-installer-6.6.0-4 contains cb-non-package-installer commit ee3d16b with commit message: MB-40214 fixing the missing dependency issue for deb packages
          Hide
          arunkumar Arunkumar Senthilnathan added a comment -

          Seeing the same issue with suse15 on aws as well:

          ec2-user@ip-172-31-18-17:~/cb-non-package-installer> ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise-6.6.0-7853-suse15.x86_64.rpm
          warning: ../couchbase-server-enterprise-6.6.0-7853-suse15.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd406e62: NOKEY
          2020/06/30T19:51:57 ERROR: Problems executing reloc.sh

          Show
          arunkumar Arunkumar Senthilnathan added a comment - Seeing the same issue with suse15 on aws as well: ec2-user@ip-172-31-18-17:~/cb-non-package-installer> ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise-6.6.0-7853-suse15.x86_64.rpm warning: ../couchbase-server-enterprise-6.6.0-7853-suse15.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd406e62: NOKEY 2020/06/30T19:51:57 ERROR: Problems executing reloc.sh
          Hide
          pvarley Patrick Varley added a comment -

          ubuntu@ip-172-31-17-221:~$ dpkg -l | grep libc6
          ii libc6:arm64 2.27-3ubuntu1 arm64 GNU C Library: Shared libraries

          That is arm64 instance, Couchbase-server only runs on amd64 currently.

          Show
          pvarley Patrick Varley added a comment - ubuntu@ip-172-31-17-221:~$ dpkg -l | grep libc6 ii libc6:arm64 2.27-3ubuntu1 arm64 GNU C Library: Shared libraries That is arm64 instance, Couchbase-server only runs on amd64 currently.
          Hide
          arunkumar Arunkumar Senthilnathan added a comment -

          The second issue turned out to be user error - I was using ARM instances (switched from intel when I hit the first issue as I was debugging and never went back) - works fine now with my fix on ubuntu18:

          ubuntu@ip-172-31-45-222:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise_6.6.0-7853-ubuntu18.04_amd64.deb
          Successfully installed
          ubuntu@ip-172-31-45-222:~/cb-non-package-installer$

          Show
          arunkumar Arunkumar Senthilnathan added a comment - The second issue turned out to be user error - I was using ARM instances (switched from intel when I hit the first issue as I was debugging and never went back) - works fine now with my fix on ubuntu18: ubuntu@ip-172-31-45-222:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise_6.6.0-7853-ubuntu18.04_amd64.deb Successfully installed ubuntu@ip-172-31-45-222:~/cb-non-package-installer$

            People

            Assignee:
            arunkumar Arunkumar Senthilnathan
            Reporter:
            arunkumar Arunkumar Senthilnathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty