Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-55478

[UI] upgrading a cluster from 6.6.5 to 7.1.4 breaks ui query tab

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      2 nodes - 1 kv index nodes, 1 query node

      both nodes start at 6.6.5 - create a bucket default and insert one item and a primary index
      upgrade query node first to 7.1.4, then upgrade kv-index node to 7.1.4

      now try running a query via the ui on the 7.1.4 kv-index node you will get this error

      [
      {
      "code": 13014,
      "msg": "User does not have credentials to run SELECT queries on default:default. Add role query_select on default:default to allow the query to run.",
      "reason":

      { "caller": "auth:317", "code": 10000, "icause": "Authentication failure", "key": "datastore.couchbase.authorization_error", "message": "Unable to authorize user." }

      }
      ]

      But I am running this query as admin I should have all the correct perms, this is probably a problem with ui query context as I cannot set the proper query context for the default collection via the kv-index node, if i move to the query node I can execute queries fine. There is no option to set the scope from the kv-index node (ss attached)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ajay.bhullar Ajay Bhullar
              ajay.bhullar Ajay Bhullar
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty