Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-640

Openshift: Couchbase UI disk storage statistic does not seem to be including the storage from PVs

    XMLWordPrintable

Details

    Description

      Request:

      Why is the Couchbase UI not indicating the disk space obtained from Persistent Volumes?

      Environment:

      Openshift 3.10

      GlusterFS PV

      Problem:

      On my Openshift 3.10 environment, the disk storage space (remaining) is indicated as 9.08 GB.

      How does it calculate the disk space? It does not seem to be accounting for the Persistent volumes attached to the pods.

       

      Output of the following commands:

      • oc get pvc

      • oc get storageclass

      • oc get pods

       

      • Exec into a pod:

      oc exec -it cb-pv-0000 /bin/bash

      The output shows 3 volumes of size ~1gb each.

       

      Attachments

        1. couchbase-ui-diskstorage.png
          couchbase-ui-diskstorage.png
          171 kB
        2. exec-pod.png
          exec-pod.png
          165 kB
        3. get-pods.png
          get-pods.png
          56 kB
        4. get-pvc.png
          get-pvc.png
          179 kB
        5. get-sc.png
          get-sc.png
          34 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Don't think there's anything that can be done here from the Operator's point of view.  Couchbase might be reading the disk size from '/' mount which is 10G here.  Seems like something we should get feedback from ns_server team about.

          tommie Tommie McAfee added a comment - Don't think there's anything that can be done here from the Operator's point of view.  Couchbase might be reading the disk size from '/' mount which is 10G here.  Seems like something we should get feedback from ns_server team about.

          I just ant to add here that (without looking at anything) I agree with Tommie. This is highly likely a Couchbase Server issue since the operator has no role in determining the disk usage in the Couchbase Web Console.

          mikew Mike Wiederhold [X] (Inactive) added a comment - I just ant to add here that (without looking at anything) I agree with Tommie. This is highly likely a Couchbase Server issue since the operator has no role in determining the disk usage in the Couchbase Web Console.

          Mike Wiederhold [X] will you assign this ticket to the ns-server team?

           

          sindhura.palakodety Sindhura Palakodety (Inactive) added a comment - Mike Wiederhold [X] will you assign this ticket to the ns-server team?  

          Mike Wiederhold [X] Will this issue be fixed in 1.2 release? Could you please assign it to the ns-server team so that they can start working on it.

          Would like to provide an expectation to the customer on the timeline of this issue.

          sindhura.palakodety Sindhura Palakodety (Inactive) added a comment - Mike Wiederhold [X] Will this issue be fixed in 1.2 release? Could you please assign it to the ns-server team so that they can start working on it. Would like to provide an expectation to the customer on the timeline of this issue.

          Description for release notes:

          Summary: Known Issue The node disk storage statistic that is displayed in the Couchbase Server Web Console may appear to be inaccurate when using persistent volumes. This is because the calculation that formulates this statistic does not properly support persistent volumes.

          eric.schneider Eric Schneider (Inactive) added a comment - Description for release notes: Summary: Known Issue The node disk storage statistic that is displayed in the Couchbase Server Web Console may appear to be inaccurate when using persistent volumes. This is because the calculation that formulates this statistic does not properly support persistent volumes.

          Sindhura Palakodety Mike Wiederhold [X] Does the above statement work for the release notes? I assume there is no workaround.

          eric.schneider Eric Schneider (Inactive) added a comment - - edited Sindhura Palakodety Mike Wiederhold [X] Does the above statement work for the release notes? I assume there is no workaround.

          Assigned to me to follow up on an MB, then we can close this.

          matt.carabine Matt Carabine added a comment - Assigned to me to follow up on an MB, then we can close this.
          simon.murray Simon Murray added a comment -

          Matt Carabine can we clean this up?

          simon.murray Simon Murray added a comment - Matt Carabine can we clean this up?

          This is a CB Server problem, believe we've removed this stat from the UI by now even

          matt.carabine Matt Carabine added a comment - This is a CB Server problem, believe we've removed this stat from the UI by now even
          simon.murray Simon Murray added a comment -

          Good enough for me

          simon.murray Simon Murray added a comment - Good enough for me

          People

            matt.carabine Matt Carabine
            sindhura.palakodety Sindhura Palakodety (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty