Description
One of our customers thought our cli was broken when he got an error with the following command below. The problem was that he didn't specify the username and password for the cluster, but the error message doesn't give any information about this being the problem.
[root@mike_1 ~]# /opt/membase/bin/cli/membase server-list -c 127.0.0.1:8091 --debug
INFO: running command: server-list
METHOD: GET
PARAMS: {}
ENCODED_PARAMS:
REST CMD: GET /pools/default
response.status: 200
ERROR: command: server-list: 127.0.0.1:8091, 'otpNode'
[root@mike_1 ~]# /opt/membase/bin/cli/membase server-list -c 127.0.0.1:8091 -u Administrator -p password --debug
INFO: running command: server-list
METHOD: GET
PARAMS: {}
ENCODED_PARAMS:
REST CMD: GET /pools/default
response.status: 200
ns_1@127.0.0.1 127.0.0.1:8091 healthy active
[root@mike_1 ~]#