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

[cbimport] Unable to run import of travel sample on Ephemeral bucket

    XMLWordPrintable

Details

    • Triaged
    • Linux x86_64
    • 0
    • Yes

    Description

      Steps:

      • Single node cluster with services KV, Index, N1ql
      • Create Ephemeral bucket (ejection type does not matter)
      • Run cbimport of travel-sample.zip

        # /opt/couchbase/bin/cbimport json -u Administrator -p password -f sample -c 172.23.108.72:8091 -b default -d file:///opt/couchbase/samples/travel-sample.zip

      Observation:

      From 7.2.4, it fails with the error,

      JSON import failed: unexpected status code 400 for 'POST' request to '/pools/default/buckets/default', {"errors":{"evictionPolicy":"Eviction policy cannot be updated for ephemeral buckets","replicaNumber":"Warning: you do not have enough data servers or server groups to support this number of replicas."},"summaries":{"ramSummary":{"total":1897922560,"otherBuckets":0,"nodesCount":1,"perNodeMegs":1810,"thisAlloc":1897922560,"thisUsed":13933248,"free":0},"hddSummary":{"total":32046432256,"otherData":3525107514,"otherBuckets":0,"thisUsed":34,"free":28521324742}}}

      Matt Hall pointed out that this could be possibly introduced by MB-57735 

      Note: This works fine on 7.2.3-6709

      Testrunner test:

      buckettests.CreateBucketTests:
          test_cli_bucket_maxttl_setting,bucket_type=couchbase,nodes_init=1

      Attachments

        Issue Links

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

          Activity

            People

              ashwin.govindarajulu Ashwin Govindarajulu
              ashwin.govindarajulu Ashwin Govindarajulu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty