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

[system test] node shown as pending for a long time after index path change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0.1
    • 2.0
    • ns_server
    • Security Level: Public
    • Windows 2008 R2 64bit

    Description

      Online upgrade 5 nodes cluster from 1.8.1
      Cluster has one default bucket with 20 million items. Data path is set to c:/data
      10.3.2.11
      10.3.2.12
      10.3.2.16
      10.3.2.10
      10.3.2.75

      to 2.0.0-1971
      10.3.2.11 (data path and index path is set to default path when install 2.0.0-1971)
      10.3.2.16
      10.3.2.75
      10.3.2.76
      10.3.2.77

      Change index path in node 11 to new path (c:/index), couchbase server on node 11 restart.

      curl -i -v --data "index_path=c:/index" "http://Administrator:password@10.3.2.11:8091/nodes/self/controller/settings"

      • About to connect() to 10.3.2.11 port 8091 (#0)
      • Trying 10.3.2.11... Connection refused
      • couldn't connect to host
      • Closing connection #0
        curl: (7) couldn't connect to host

      I try to run again with cygwin style path

      curl -i -v --data "index_path=/cygdrive/c/index" "http://Administrator:password@10.3.2.11:8091/nodes/self/controller/settings"

      • About to connect() to 10.3.2.11 port 8091 (#0)
      • Trying 10.3.2.11... connected
      • Connected to 10.3.2.11 (10.3.2.11) port 8091 (#0)
      • Server auth using Basic with user 'Administrator'
        > POST /nodes/self/controller/settings HTTP/1.1
        > Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==
        > User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
        > Host: 10.3.2.11:8091
        > Accept: /
        > Content-Length: 28
        > Content-Type: application/x-www-form-urlencoded
        >
        < HTTP/1.1 400 Bad Request
        HTTP/1.1 400 Bad Request
        < Server: Couchbase Server 2.0.0-1971-rel-enterprise
        Server: Couchbase Server 2.0.0-1971-rel-enterprise
        < Pragma: no-cache
        Pragma: no-cache
        < Date: Mon, 03 Dec 2012 21:14:06 GMT
        Date: Mon, 03 Dec 2012 21:14:06 GMT
        < Content-Type: application/json
        Content-Type: application/json
        < Content-Length: 47
        Content-Length: 47
        < Cache-Control: no-cache
        Cache-Control: no-cache

      <

      • Connection #0 to host 10.3.2.11 left intact
      • Closing connection #0
        ["An absolute path is required for index_path"]

      In log page, see couchbase server restart on node 11

      Couchbase Server has started on web port 8091 on node 'ns_1@10.3.2.11'. menelaus_sup001 ns_1@10.3.2.11 13:12:38 - Mon Dec 3, 2012
      Shutting down bucket "default" on 'ns_1@10.3.2.11' for server shutdown ns_memcached002 ns_1@10.3.2.11 13:09:28 - Mon Dec 3, 2012
      Setting database directory path to c:/Program Files/Couchbase/Server/var/lib/couchbase/data and index directory path to c:/index ns_storage_conf000 ns_1@10.3.2.11 13:09:28 - Mon Dec 3, 2012

      Try connect to memcached on node 11, it hang

      thuan@ubu-1604:/opt/couchbase/bin$ ./cbstats 10.3.2.11:11210 raw warmup

      Attachments

        For Gerrit Dashboard: MB-7337
        # Subject Branch Project Status CR V

        Activity

          People

            ketaki Ketaki Gangal (Inactive)
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty