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

[CX] Cannot execute request, cluster is UNUSABLE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • CBAS DP
    • CBAS DP
    • analytics
    • None
    • cbas version: 303,294
      couchbase version: 4.5.1-2844
    • Untriaged
    • Unknown
    • CX Sprint 29

    Description

       
      Job run:
      http://qa.sc.couchbase.com/job/asterix-basic-query-tests
       
      Test run:
      python testrunner.py -i local.ini -c conf/cbas/py-tuq-analytics.conf -p analytics=True -p doc-per-day=1 -p standard_buckets=1
       
      local.ini:
      [global]
      username:root
      password:couchbase
      #username:Administrator
      #password:Membase123
      port:8091
      n1ql_port:8093
      index_port:9102
       
      data_path=/data
      index_path=/data
       
      [membase]
      rest_username:Administrator
      rest_password:password
       
      [servers]
      1:_1
       
      [_1]
      ip:172.23.108.232
      services:kv,n1ql,index
       
      Error seen during teardown:
      	"msg": "Cannot execute request, cluster is UNUSABLE"
       
      I am able to reproduce it consistently on this machine.
       
       
      What the teardown process does?
       if self.analytics == True:
                  data = 'use Default ;' + "\n"
                  for bucket in self.buckets:
                      data += 'disconnect bucket {0} ;'.format(bucket.name) + "\n"
                      data += 'drop dataset {0}'.format(bucket.name) + "_shadow ;" + "\n"
                      data += 'drop bucket {0} ;'.format(bucket.name) + "\n"
                  filename = "file.txt"
                  f = open(filename,'w')
                  f.write(data)
                  f.close()
                  url = 'http://{0}:8095/analytics/service'.format(self.master.ip)
                  cmd = 'curl -s --data pretty=true --data-urlencode "statement@file.txt" ' + url
                  os.system(cmd)
       
       
      Attaching cbas logs.
      Please feel free to use the machine/ini file for some time.
       
      
      

      Attachments

        1. jstack-files.tar
          50 kB
        2. logs.tar
          1.70 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            michael.blow Michael Blow
            Prerna.Manaktala Prerna Manaktala (Inactive)
            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