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

setup get HDD and memory totale and free space wrong (0Mb)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.0-beta
    • 1.7.1.1, 1.7.2, 2.0.1
    • ns_server
    • Security Level: Public
    • None

    Description

      when connecting for the first time to the HTTP setup GUI (http://195.154.218.88:8091/index.html)

      I got for the HDD :
      Configure Disk Storage
      Path: /opt/membase/var/lib/membase/data Free: 0 GB

      And for the memory (if creating new cluster):
      RAM Available: 0 MB
      Per Server RAM Quota: MB (256 MB — 0 MB)

      Or for the memory (if joining existing cluster):
      Attention - Prepare join failed. This server does not have sufficient memory to support the cluster quota (Cluster Quota is 14968MB per node, this server only has 0MB)!

      Joining the cluster with the CLI do the same :
      /opt/membase/bin/membase rebalance -c X.X.X.1:8091 -uLOGIN -pPASSWD --server-add=X.X.X.2:8091
      ERROR: unable to server-add X.X.X.2:8091 (400) Bad Request
      [u'Prepare join failed. This server does not have sufficient memory to support the cluster quota (Cluster Quota is 14968MB per node, this server only has 0MB)!']

      On those 2 identical virtual server (Openvz virtualisation) i have :
      #free -m
      total used free shared buffers cached
      Mem: 15992 1054 14937 0 0 0
      -/+ buffers/cache: 1054 14937
      Swap: 0 0 0
      #df -h
      Filesystem Size Used Avail Use% Mounted on
      /dev/simfs 98G 70G 23G 76% /
      tmpfs 7.9G 0 7.9G 0% /lib/init/rw
      tmpfs 7.9G 0 7.9G 0% /dev/shm

      As you see : The code in charge of detecting hdd and memory space fails and reports 0Mb , thus prevents me from creatingor joining a cluster.

      I happy to give you any info you need : just ask.

      Kinds regards, Aurelien

      Attachments

        Issue Links

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

          Activity

            People

              steve Steve Yen
              orellem orel lem
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty