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

[CE] --log-redaction-level partial should not run in community edition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 5.5.0
    • 5.5.0
    • ns_server
    • Centos 7.4 64-bit
    • Untriaged
    • Centos 64-bit
    • No

    Description

      Install Couchbase Server CE 5.5.0-2907 on a centos 7.4 server

      Initialize this node with services kv, index, query and fts

      Create bucket0

      Load data to bucket0 using cbworkloadgen

      Run cbcollect_info with --log-redaction-level partial

      /opt/couchbase/bin/cbcollect_info --log-redaction-level partial test.zip

      cbcollect_info command runs ok with that flag and creates 2 files test.zip and test-redacted.zip

      [root@s44015 ~]# ls -alh | grep .zip
      -rw-r--r--.  1 root root 2.0M Jun 20 11:43 test-redacted.zip
      -rw-r--r--.  1 root root 2.0M Jun 20 11:43 test.zip
      [root@s44015 ~]#

      unzip test-redacted.zip and grep <ud>, there are a lot of them in logs

      ./diag.log:    {{"<ud>671993d0fb650143c447ea28b4c60253461a93f1</ud>",admin},[[{[],all}]]}
      ./diag.log:    {rest_creds,{"<ud>671993d0fb650143c447ea28b4c60253461a93f1</ud>",
      ./diag.log:    {rest_creds,{"<ud>671993d0fb650143c447ea28b4c60253461a93f1</ud>",
      ./diag.log:          {"<ud>671993d0fb650143c447ea28b4c60253461a93f1</ud>",
      ./memcached.log:2018-06-20T10:07:24.109027Z INFO 40: Client 127.0.0.1:37916 authenticated as <ud>2ef9c4249c0d66dc957f03fa790777724f9e849b</ud>
      ./memcached.log:2018-06-20T10:07:24.320570Z INFO 41: Client 127.0.0.1:42457 authenticated as <ud>2ef9c4249c0d66dc957f03fa790777724f9e849b</ud>
      ./memcached.log:2018-06-20T10:07:24.320952Z INFO 41: Loading RBAC configuration from [/opt/couchbase/var/lib/couchbase/config/memcached.rbac] [ 127.0.0.1:42457 - 127.0.0.1:11209 (<ud>2ef9c4249c0d66dc957f03fa790777724f9e849b</ud>) ]
      ./memcached.log:2018-06-20T10:07:24.321115Z INFO 41: RBAC configuration updated [ 127.0.0.1:42457 - 127.0.0.1:11209 (<ud>2ef9c4249c0d66dc957f03fa790777724f9e849b</ud>) ]
      ./memcached.log:2018-06-20T10:07:27.701932Z INFO 41: Client 127.0.0.1:49843 authenticated as <ud>2ef9c4249c0d66dc957f03fa790777724f9e849b</ud>

       

       

       

      Attachments

        Activity

          People

            ajit.yagaty Ajit Yagaty [X] (Inactive)
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty