BP 7.1.1 - refresh_cluster_map fails with ERROR 199 :  N1QL: Invalid query service endpoint

Description

refresh_cluster_map command returns ERROR 199

# /opt/couchbase/bin/cbq -u Administrator -p password -e couchbase://172.23.104.90  Connected to : http://172.23.104.90:8091/. Type Ctrl-D or \QUIT to exit. Path to history file for the shell : /root/.cbq_history  cbq> \refresh_cluster_map;  ERROR 199 :  N1QL: Invalid query service endpoint.

Note that issue above is on first attempt. If I run one query first the refresh_map will work

cbq> select 1; {     "requestID": "0937aa90-0f23-4be1-8660-353823f30dab",     "signature": {         "$1": "number"     },     "results": [     {         "$1": 1     }     ],     "status": "success",     "metrics": {         "elapsedTime": "1.165093ms",         "executionTime": "971.268µs",         "resultCount": 1,         "resultSize": 23,         "serviceLoad": 6     },     "profile": { ...         "requestTime": "2022-04-19T14:48:09.718-07:00",         "servicingHost": "172.23.104.90:8091", ...     } } cbq> \refresh_cluster_map; cbq> select 1; {     "requestID": "8b7e4cbb-774b-4e04-82e0-33a64a601021",     "signature": {         "$1": "number"     },     "results": [     {         "$1": 1     }     ],     "status": "success",     "metrics": {         "elapsedTime": "1.115136ms",         "executionTime": "912.802µs",         "resultCount": 1,         "resultSize": 23,         "serviceLoad": 6     },     "profile": { ...         "requestTime": "2022-04-19T14:48:32.449-07:00",         "servicingHost": "172.23.104.92:8091", ...     } }

 

Components

Affects versions

Fix versions

Labels

Environment

7.1.0-2551

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Show:

CB robot October 7, 2022 at 8:55 AM

Build couchbase-server-7.2.0-5000 contains query commit e574b5d with commit message:
https://couchbasecloud.atlassian.net/browse/MB-52511#icft=MB-52511 Ensure valid URL for cluster refresh

Pierre Regazzoni June 13, 2022 at 5:57 PM

Verified on 7.1.1-3141

# cbs  Connected to : http://localhost:8091/. Type Ctrl-D or \QUIT to exit. Path to history file for the shell : /root/.cbq_history  cbq> \refresh_cluster_map; cbq> select 1;

CB robot June 13, 2022 at 6:21 AM

Build couchbase-server-7.1.1-3141 contains query commit e574b5d with commit message:
https://couchbasecloud.atlassian.net/browse/MB-52511#icft=MB-52511 Ensure valid URL for cluster refresh

Kamini Jagtiani June 11, 2022 at 4:20 PM

Hi  

Can you please approve this defect for 7.1.1 as well?

Thanks

 

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 11, 2022 at 10:19 AM
Updated October 7, 2022 at 8:55 AM
Resolved June 13, 2022 at 11:05 AM
Instabug