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

CLI error is written on standard output while it should be on standard error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • 3.0
    • 2.5.0
    • tools
    • Security Level: Public
    • None
    • 1055 Build
    • Untriaged

    Description

      [root@centos-58 ~]# /opt/couchbase/bin/couchbase-cli xdcr-setup --cluster=localhost -u Administrator -p password --delete --xdcr-cluster-name=10.3.2.109 2>/dev/null

      ERROR: unable to delete xdcr remote site localhost (404) Object Not Found
      unknown remote cluster
      ERROR: command: xdcr-setup: localhost:8091, 2

      I am redirecting the error to /dev/null but still it is printing on standard output. Error should be written in standard error.

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            sangharsh Sangharsh Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty