Description
Audit write failure when a vulcan node is added to 4.0.0 node with auditing disabled.
The audit.json file doesn't contain log_path and therefore fails in memcached which is expecting it.
From memcached log
2018-03-06T19:59:51.190279Z WARNING (default) warmup completed in 1609 usec
|
2018-03-06T20:00:41.870219Z WARNING Audit: error reading config
|
2018-03-06T20:00:41.870269Z WARNING Audit: error performing configuration
|
2018-03-06T20:00:41.870480Z WARNING configuration of audit daemon failed with config file: /opt/couchbase/var/lib/couchbase/config/audit.json
|
From debug log of ns_server
[user:info,2018-03-06T20:00:41.849Z,ns_1@10.142.100.101:ns_config_rep<0.15684.0>:ns_config:merge_values_using_timestamps:1215]Conflicting configuration changes to field audit:
|
[{auditd_enabled,false},
|
{rotate_interval,86400},
|
{rotate_size,20971520},
|
{disabled,[]},
|
{sync,[]}] and
|
[{auditd_enabled,false},
|
{rotate_interval,86400},
|
{rotate_size,20971520},
|
{disabled,[]},
|
{sync,[]},
|
{log_path,"/opt/couchbase/var/lib/couchbase/logs"}], choosing the former.
|