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

Curl in couchbase bin folder doesn't correctly link against shipped libcurl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.5.0
    • 4.6.3, 5.1.0
    • build
    • None
    • Just tested on centos6 against 4.6.3 and 5.1.0
    • Untriaged
    • Centos 64-bit
    • 5
    • Unknown
    • Build Team 2018 Sprint 22

    Description

      using the curl provided under '/opt/couchbase/bin' does not work as expected. The issue seems to be with the '-u' option not being honored.

      Running the same command using the curl found in '/usr/bin' works as expected.

      $ /opt/couchbase/bin/curl -u Administrator:password http://10.111.163.106:8091/pools/default/tasks
       
      curl: (2) Failed initialization
       
      $ /usr/bin/curl -u Administrator:password http://10.111.163.106:8091/pools/default/tasks
       
      [{"type":"rebalance","status":"notRunning","statusIsStale":false,"masterRequestTimedOut":false},{"cancelURI":"/controller/cancelXDCR/9c4954b8d2a46e7ccf7731883f599983%2Fdefault%2Fdefault","settingsURI":"/settings/replications/9c4954b8d2a46e7ccf7731883f599983%2Fdefault%2Fdefault","status":"running","replicationType":"xmem","continuous":true,"filterExpression":"","id":"9c4954b8d2a46e7ccf7731883f599983/default/default","pauseRequested":false,"source":"default","target":"/remoteClusters/9c4954b8d2a46e7ccf7731883f599983/buckets/default","type":"xdcr","recommendedRefreshPeriod":10,"changesLeft":0,"docsChecked":0,"docsWritten":0,"maxVBReps":null,"errors":[]}]

       

      Attachments

        Issue Links

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

          Activity

            People

              anitha.kuberan Anitha Kuberan
              rohinton.kazak Rohinton Kazak (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