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

CLI: --get for ip-family and for node-to-node-encryption doesn't work for uninitialized node

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      $ ../install/bin/couchbase-cli ip-family -c 127.0.0.1:9000 -u Administrator -p pass --get
      ERROR: "unknown pool"
      

      It happens because 'ip-family --get' uses ./pools/nodes which is not available until cluster is initialized

      In order to work around the problem in case if /pools/default returns "unknown pool" we can get address family info for this particular node from GET /pools. But it looks like /pools should not contain address family information at all (since it is per node).

      Another approach is to use /nodes/self that contain the same information about as /pools/default.

      Attachments

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

        Activity

          People

            ritam.sharma Ritam Sharma
            timofey.barmin Timofey Barmin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty