Details
Description
Aruna: I’m able to add a node with fts as service but on FTS tab I see that we are trying to reach fts, but we are unable to connect to it. I however see cbft process started on port 9110. I’m neither able to create an index on port 8091 nor 9110. Toy-build - http://172.23.105.192:8091/index.html
Steve: Oh, ha ha – I see the cbft is binding to the wrong network address (127.0.0.1) instead of a publically visible address (like 172.23.105.192 or 0.0.0.0). I think I had always been running my web browser on the same machine, so never noticed before! Will think of a fix...
Aruna: You are right, I’m able to create an index from the same node -
root@ubuntu-1204-x64:~# curl -XPUT -H "Content-Type: application/json" \
> http://127.0.0.1:9110/api/index/beer1 \
> -d '{
> "type": "bleve",
> "name": "beer1",
> "uuid": "447a4c08a18c6995",
> "params": "{\"mapping\":{\"default_mapping\":
,\"type_field\":\"_type\",\"default_type\":\"_default\",\"default_analyzer\":\"standard\",\"default_datetime_parser\":\"dateTimeOptional\",\"default_field\":\"_all\",\"byte_array_converter\":\"json\",\"analysis\":{}},\"store\":{\"kvStoreName\":\"boltdb\"}}",
> "sourceType": "couchbase",
> "sourceName": "beer-sample",
> "sourceUUID": "",
> "sourceParams": "
",
> "planParams":
> }'
{"status":"ok"}Attachments
For Gerrit Dashboard: MB-16518 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
56029,1 | MB-16518 - spawn cbft using node() host, not 127.0.0.1 | master | ns_server | Status: ABANDONED | 0 | 0 |