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

Internal server error is raised while creating and dropping external dataset using cluster admin user

    XMLWordPrintable

Details

    Description

      Steps to reproduce create dataset error -

      1) Create external link to AWS bucket.

      2) Create external dataset using link in step 1 with cluster admin.

      POST http://10.112.205.102:8095/analytics/service body: {"pretty": "true", "client_context_id": null, "timeout": "120s", "statement": "CREATE EXTERNAL DATASET travel_ds ON `cbas-regression-48` AT newAwsLink WITH {\"format\": \"json\"};"} headers: {'Accept': '*/*', 'Connection': 'close', 'Authorization': 'Basic Y2x1c3Rlcl9hZG1pbjpwYXNzd29yZA==\n', 'Content-Type': 'application/json'} error: 500 reason: status: 500, content: 500 Internal Server Error 500 Internal Server Error auth: cluster_admin:password
      

      Steps to reproduce drop dataset error-

      1) Create external link to AWS bucket.

      2) Create external dataset using the link in step 1.

      3) Create a cluster admin user.

      4) Use cluster admin user to drop dataset.
       

      curl --request POST 'http://10.112.205.102:8095/analytics/service' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Accept: */*' \ --header 'Authorization: Basic Y2E6cGFzc3dvcmQ=' \ --data-urlencode 'statement=drop dataset q;'

      Internal server error is seen

      Attachments

        Issue Links

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

          Activity

            People

              umang.agrawal Umang
              umang.agrawal Umang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty