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

[CLI] Improve handling of 503 errors from 'ns_server'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.5.1, 6.6.0, 6.6.1, 6.6.2, 6.5.2, 6.5.0, 6.6.3, 6.6.4, 6.6.5, 6.6.6, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.1.4, 7.0.5, 7.1.0, 7.1.1, 7.1.2, 7.1.3
    • tools
    • Untriaged
    • 0
    • No

    Description

      What's the issue?
      There's certain conditions under which couchbase-cli will return error messages that aren't very useful/actionable to the end user.

      /couchbase-cli bucket-flush  -c <io>:8091  -u <username> -p <password> --bucket travel-sample
       
      Running this command will totally PURGE database data from disk. Do you really want to do it? (Yes/No)Yes
       
      ERROR: Received unexpected status 503 
      

      In this case, we're unable to flush the bucket because of an existing outgoing XDCR connection; that isn't clear to the user though.

      What's the fix?
      We should display the (already useful) error from ns_server to the user.

      Attachments

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

        Activity

          People

            Nour.Elmenyawi Nour Elmenyawi
            james.lee James Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty