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

[Flex]Operator Cluster: Error while refreshing FTS indexer n1fty:cause: authentication failure

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Build: 7.0.1 build 5960

      Setup a Cluster through Operator. operator naturally uses alternate addresses
      Load travel -sample
      Create below index :

      {
        "type": "fulltext-index",
        "name": "test1",
        "uuid": "6f5c202bb4135c09",
        "sourceType": "gocbcore",
        "sourceName": "travel-sample",
        "sourceUUID": "eaf803dd55f4441c00a0f90725278a91",
        "planParams": {
          "maxPartitionsPerPIndex": 1024,
          "indexPartitions": 1
        },
        "params": {
          "doc_config": {
            "docid_prefix_delim": "",
            "docid_regexp": "",
            "mode": "type_field",
            "type_field": "type"
          },
          "mapping": {
            "analysis": {},
            "default_analyzer": "keyword",
            "default_datetime_parser": "dateTimeOptional",
            "default_field": "_all",
            "default_mapping": {
              "dynamic": true,
              "enabled": true
            },
            "default_type": "_default",
            "docvalues_dynamic": false,
            "index_dynamic": true,
            "store_dynamic": false,
            "type_field": "_type"
          },
          "store": {
            "indexType": "scorch",
            "segmentVersion": 15
          }
        },
        "sourceParams": {}
      }
      

      Below Flex query errors with "No index available on keyspace `default`:`travel-sample` that matches your query. Use CREATE PRIMARY INDEX ON `default`:`travel-sample` to create a primary index, or check that your expected index is online"

      select meta().id from `travel-sample` USE INDEX(USING FTS) where country = "United States"
      

      Seeing below errors in the logs:

      _time=2021-07-31T02:50:33.720+00:00 _level=INFO _msg=(GOCBCORE) Found couchbase bucket and HTTP poller in use. Resetting pollers to start cccp.
      _time=2021-07-31T02:50:33.740+00:00 _level=WARN _msg=(GOCBCORE) Pipeline Client 0xc001861200 failed to bootstrap: authentication failure | {"status_code":36,"document_key":"travel-sample","bucket":"travel-sample","opaque":3,"context":"Not authenticated","last_dispatched_to":"192.168.0.12:31947","last_dispatched_from":"10.128.0.17:49000","last_connection_id":"6fcbafcf18fae4e5/93aceaf0d4d433a9"}
      _time=2021-07-31T02:50:33.752+00:00 _level=WARN _msg=(GOCBCORE) Pipeline Client 0xc001861380 failed to bootstrap: authentication failure | {"status_code":36,"document_key":"travel-sample","bucket":"travel-sample","error_name":"EACCESS","error_description":"Not authorized for command","opaque":3,"context":"Not authenticated","last_dispatched_to":"192.168.0.11:30976","last_dispatched_from":"10.128.0.17:46172","last_connection_id":"6fcbafcf18fae4e5/136dbe80ea76d007"}
      _time=2021-07-31T02:50:33.754+00:00 _level=WARN _msg=(GOCBCORE) Pipeline Client 0xc001861320 failed to bootstrap: authentication failure | {"status_code":36,"document_key":"travel-sample","bucket":"travel-sample","error_name":"EACCESS","error_description":"Not authorized for command","opaque":3,"context":"Not authenticated","last_dispatched_to":"192.168.0.13:30400","last_dispatched_from":"10.128.0.17:58094","last_connection_id":"6fcbafcf18fae4e5/187de3b268670394"}
      _time=2021-07-31T02:50:33.781+00:00 _level=ERROR _msg= Error while refreshing FTS indexer - n1fty:  - cause: authentication failure | {"status_code":36,"document_key":"travel-sample","bucket":"travel-sample","error_name":"EACCESS","error_description":"Not authorized for command","opaque":3,"context":"Not authenticated","last_dispatched_to":"192.168.0.13:30400","last_dispatched_from":"10.128.0.17:58094","last_connection_id":"6fcbafcf18fae4e5/187de3b268670394"}
      

      Logs:

      https://cb-jira.s3.us-east-2.amazonaws.com/logs/test2/collectinfo-2021-07-31T062350-ns_1%40cb-example-0004.cb-example.default.svc.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/test2/collectinfo-2021-07-31T062350-ns_1%40cb-example-0005.cb-example.default.svc.zip
      https://cb-jira.s3.us-east-2.amazonaws.com/logs/test2/collectinfo-2021-07-31T062350-ns_1%40cb-example-0006.cb-example.default.svc.zip

      Attachments

        Issue Links

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

          Activity

            People

              girish.benakappa Girish Benakappa
              girish.benakappa Girish Benakappa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty