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

[windows]Failed to create view my_index0 - cause: error starting view req at dial tcp 127.0.0.1:8092: ConnectEx tcp: No connection could be made because the target machine actively refused it.', u'code': 13000}]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 4.0.0
    • 4.0.0
    • view-engine
    • Security Level: Public
    • 4.0.0-1757
    • Untriaged
    • Unknown

    Description

      ./testrunner -i /tmp/win_tuqvm.ini get-cbcollect-info=True,doc-per-day=5,skip_build_tuq=True,cbq_version=sherlock,standard_buckets=1,services_init=kv:index:n1ql -t tuqquery.tuq_index.QueriesViewsTests.test_simple_create_delete_index,GROUP=INDEX;P0

      single node
      I am trying to create index
      CREATE INDEX my_index0 ON default(join_yr)
      error appears
      {u'status': u'errors', u'errors': [

      {u'msg': u'Failed to create view my_index0 - cause: error starting view req at http://127.0.0.1:8092/default/_design/ddl_my_index0/_view/my_index0?end_key=%5B%22thing%22%2C%7B%7D%5D&stale=false&start_key=%5B%22thing%22%5D: Get http://127.0.0.1:8092/default/_design/ddl_my_index0/_view/my_index0?end_key=%5B%22thing%22%2C%7B%7D%5D&stale=false&start_key=%5B%22thing%22%5D: dial tcp 127.0.0.1:8092: ConnectEx tcp: No connection could be made because the target machine actively refused it.', u'code': 13000}

      ], u'results': [], u'metrics':

      {u'elapsedTime': u'13.8319663s', u'executionTime': u'13.8319663s', u'resultSize': 0, u'resultCount': 0, u'errorCount': 1}

      , u'requestID': u'a2cf272a-a7dd-4c07-bf8d-6da938d68c87', u'signature': None}

      but actually index seems to be created past some time

      iryna@ubuntu:~/couchbase/testrunner$ curl -X POST 'http://10.6.2.215:8093/query' -d 'statement= select * from system:indexes'
      {
      "requestID": "161883bd-07c3-4493-b16b-4df317bc2ac2",
      "signature":

      { "*": "*" }

      ,
      "results": [
      {
      "indexes":

      { "datastore_id": "http://127.0.0.1:8091", "id": "#primary", "index_key": [ "(meta(`standard_bucket0`).`id`)" ], "keyspace_id": "standard_bucket0", "name": "#primary", "namespace_id": "default", "state": "online", "using": "view" }

      },
      {
      "indexes":

      { "datastore_id": "http://127.0.0.1:8091", "id": "my_index0", "index_key": [ "`join_yr`" ], "keyspace_id": "default", "name": "my_index0", "namespace_id": "default", "state": "online", "using": "view" }

      },
      {
      "indexes":

      { "datastore_id": "http://127.0.0.1:8091", "id": "tuq_index_standard_bucket00", "index_key": [ "`join_yr`" ], "keyspace_id": "standard_bucket0", "name": "tuq_index_standard_bucket00", "namespace_id": "default", "state": "online", "using": "view" }

      },
      {
      "indexes":

      { "datastore_id": "http://127.0.0.1:8091", "id": "#primary", "index_key": [ "(meta(`default`).`id`)" ], "keyspace_id": "default", "name": "#primary", "namespace_id": "default", "state": "online", "using": "view" }

      }
      ],
      "status": "success",
      "metrics":

      { "elapsedTime": "198.0021ms", "executionTime": "196.9982ms", "resultCount": 4, "resultSize": 1737 }

      }
      attaching logs

      Attachments

        1. screenshot.bmp
          3.00 MB
          Isha Kandaswamy
        2. Screen Shot 2015-05-01 at 3.42.52 PM.png
          35 kB
          Ketaki Gangal
        3. Screen Shot 2015-05-01 at 3.44.24 PM.png
          22 kB
          Ketaki Gangal
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            nimish Nimish Gupta
            iryna iryna
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty