Details
Description
Trying to run flexindex as part of N1QL validation on multiroot setup but see error during check index count.
To repro:
- setup 3 nodes cluster with: kv:n1ql - index - fts
- enable TLS
- setup 3 rootCA for each node (ip restricted)
- create fts index
- get index count
[2021-10-19 15:45:37,444] - [fts_base:1228] INFO - Creating fulltext-index default_index on 172.23.120.102 |
[2021-10-19 15:45:37,446] - [rest_client:3356] INFO - {"type": "fulltext-index", "name": "default_index", "uuid": "", "params": {"mapping": {"default_mapping": {"enabled": true, "dynamic": true, "default_analyzer": "keyword"}, "type_field": "type", "default_type": "_default", "default_analyzer": "keyword", "default_datetime_parser": "dateTimeOptional", "default_field": "_all", "analysis": {}}, "store": {"kvStoreName": "mossStore", "mossStoreOptions": {}, "indexType": "scorch"}}, "sourceType": "couchbase", "sourceName": "default", "sourceUUID": "", "planParams": {"numReplicas": 0}, "sourceParams": {}} |
[2021-10-19 15:45:37,658] - [rest_client:3363] INFO - Index default_index created |
[2021-10-19 15:45:37,660] - [basetestcase:738] INFO - sleep for 10 secs. ... |
[2021-10-19 15:45:48,441] - [rest_client:1055] ERROR - GET https://172.23.120.102:18094/api/index/default_index/count body: headers: {'Content-Type': 'application/json', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==', 'Accept': '*/*'} error: 500 reason: rest_index: Count, indexName: default_index, err: bleve: CountBleve indexAlias error, indexName: default_index, indexUUID: , err: bleve: bleveIndexTargets, err: pindex: no planPIndexes for indexName: default_index b'{"error":"rest_index: Count, indexName: default_index, err: bleve: CountBleve indexAlias error, indexName: default_index, indexUUID: , err: bleve: bleveIndexTargets, err: pindex: no planPIndexes for indexName: default_index","request":"","status":"fail"}\n' auth: Administrator:password |
See attached logs ... on fts node (172.23.120.102 is fts node), see:
2021-10-19T17:16:13.146-07:00 [INFO] (GOCBCORE) Creating new agent: &{MemdAddrs:[] HTTPAddrs:[127.0.0.1:8091] BucketName:default UserAgent:stats UseTLS:true NetworkType:default Auth:0x1d4fd80 TLSRootCAProvider:0xa4c6d0 InitialBootstrapNonTLS:true UseMutationTokens:false UseCompression:false UseDurations:false DisableDecompression:false UseOutOfOrderResponses:false DisableXErrors:false DisableJSONHello:false DisableSyncReplicationHello:false UseCollections:true CompressionMinSize:0 CompressionMinRatio:0 HTTPRedialPeriod:0s HTTPRetryDelay:0s HTTPMaxWait:0s CccpMaxWait:0s CccpPollPeriod:0s ConnectTimeout:1m0s KVConnectTimeout:7s KvPoolSize:0 MaxQueueSize:0 HTTPMaxIdleConns:0 HTTPMaxIdleConnsPerHost:0 HTTPIdleConnectionTimeout:0s Tracer:<nil> NoRootTraceSpans:false DefaultRetryStrategy:<nil> CircuitBreakerConfig:{Enabled:false VolumeThreshold:0 ErrorThresholdPercentage:0 SleepWindow:0s RollingWindow:0s CompletionCallback:<nil> CanaryTimeout:0s} UseZombieLogger:false ZombieLoggerInterval:0s ZombieLoggerSampleSize:0 AuthMechanisms:[]} |
2021-10-19T17:16:13.146-07:00 [INFO] (GOCBCORE) CCCPPOLL: No nodes available to poll, return upstream |
2021-10-19T17:16:13.151-07:00 [INFO] (GOCBCORE) Found couchbase bucket and HTTP poller in use. Resetting pollers to start cccp. |
2021-10-19T17:16:13.157-07:00 [WARN] (GOCBCORE) Pipeline Client 0xc0036a2000 failed to bootstrap: x509: certificate signed by unknown authority -- cbgt.GocbcoreLogger.Log() at gocbcore_utils.go:679 |
2021-10-19T17:16:13.158-07:00 [WARN] ns_server: retrieve partition seqs: gocbcore_utils: CBPartitionSeqs, fetchClient err: gocbcore_utils: createAgents (1), setup err: agent setup failed, err: x509: certificate signed by unknown authority -- cbft.RunSourcePartitionSeqs() at ns_server.go:1117 |
2021-10-19T17:16:28.139-07:00 [ERRO] rest: error code: 500, msg: rest_index: Count, indexName: default_index, err: bleve: CountBleve indexAlias error, indexName: default_index, indexUUID: , err: bleve: bleveIndexTargets, err: pindex: no planPIndexes for indexName: default_index -- rest.ShowErrorBody() at rest.go:62 |