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

Node init fails on debian9 and ubuntu18

    XMLWordPrintable

Details

    • Untriaged
    • Ubuntu 64-bit
    • 1
    • Unknown
    • Build Team 2021 Sprint 6, Build Team 2021 Sprint 7

    Description

      Node init fails on some debian9 and ubuntu18 VMs with this error:

      root@deb91-qe:/tmp# /opt/couchbase/bin/couchbase-cli node-init -c localhost -u Administrator -p password;
      /opt/couchbase/bin/couchbase-cli: 4: cd: can't cd to /opt/couchbase/bin/../lib/python
      Installing Python 3 - one moment...
      sh: 0: Can't open /opt/couchbase/bin/../lib/python/cbpy-installer.sh
      /opt/couchbase/bin/couchbase-cli: 25: exec: /root/Library/Python/couchbase-py/7.0.0-py4/bin/python3: not found
      root@deb91-qe:/tmp# /opt/couchbase/bin/couchbase-cli node-init -c localhost -u Administrator -p password;
      ERROR: Unable to connect to host at http://localhost:8091: HTTPConnectionPool(host='localhost', port=8091): Max retries exceeded with url: /nodeInit (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5621cd828>: Failed to establish a new connection: [Errno 111] Connection refused'
      

      These are the install steps:

      dpkg --purge couchbase-server; kill -9 `ps -ef |egrep couchbase|cut -f3 -d' '`; 
      rm /var/lib/dpkg/info/couchbase-server.*; 
      rm -rf /opt/couchbase/;
      apt-get update;
      cd /tmp;
      rm -rf *upgrade-from;
      dpkg -i couchbase-server-enterprise_7.0.0-4756-debian9_amd64.deb
      sed -i 's/export PATH/export PATH\nexport CBFT_ENV_OPTIONS=bleveMaxResultWindow=10000000/' /opt/couchbase/bin/couchbase-server; grep bleveMaxResultWindow=10000000 /opt/couchbase/bin/couchbase-server > /dev/null && echo 1 || echo 0;
      /opt/couchbase/bin/couchbase-cli node-init -c localhost -u Administrator -p password;
      

      debian9 VM: 172.23.96.143
      ubuntu16 VM: 172.23.120.233

      Attachments

        1. 172.23.96.187.zip
          97.67 MB
        2. 172.23.96.187-1.zip
          79.15 MB
        3. 172.23.96.192.zip
          55.06 MB
        4. chronicle.zip
          1 kB
        5. chronicle1.zip
          2 kB
        6. chronicle-1.zip
          10 kB
        7. test.log
          8 kB
        8. test-1.log
          10 kB

        Issue Links

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

          Activity

            People

              jake.rawsthorne#1 Jake Rawsthorne [X] (Inactive)
              pavithra.mahamani Pavithra Mahamani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty