Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.5.0
-
Untriaged
-
Unknown
Description
$ ../install/bin/couchbase-cli ip-family -c 127.0.0.1:9000 -u Administrator -p pass --get
|
ERROR: "unknown pool"
|
It happens because 'ip-family --get' uses ./pools/nodes which is not available until cluster is initialized
In order to work around the problem in case if /pools/default returns "unknown pool" we can get address family info for this particular node from GET /pools. But it looks like /pools should not contain address family information at all (since it is per node).
Another approach is to use /nodes/self that contain the same information about as /pools/default.