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

Cbopinfo has misleading error message for non-existent namespace

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • supportability
    • None
    • 41: 2.2, Bugs.
    • 1

    Description

      If you run cbopinfo for a non-existent namespace, this is the output you get:

      ./bin/cbopinfo --namespace i_dont_exist
      no CouchbaseCluster resources discovered in name space i_dont_exist
      no Couchbase Operator Deployment resource discovered in name space (check the -operator-image flag is correctly set) i_dont_exist
      nothing to collect in name space i_dont_exist
      

      It would be better (if this is possible) for the error to say that the namespace doesn't exist, rather than saying there is no CouchbaseCluster resource or Operator Deployment in that namespace.

      Attachments

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

        Activity

          There are no comments yet on this issue.

          People

            simon.murray Simon Murray
            matt.carabine Matt Carabine
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty