Skip to content

Commit

Permalink
MB-48941 Stop collecting raw chronicle files.
Browse files Browse the repository at this point in the history
They may contain customer's private data.

Change-Id: I02e3d252b3d8c645db9c0d8f916fd61d46c90c7c
Reviewed-on: https://review.couchbase.org/c/ns_server/+/165845
Tested-by: Aliaksey Artamonau <aliaksey.artamonau@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Timofey Barmin <timofey.barmin@couchbase.com>
  • Loading branch information
aartamonau authored and Aliaksey Artamonau committed Nov 16, 2021
1 parent f0545dc commit 809157a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions cbcollect_info
Expand Up @@ -1215,12 +1215,7 @@ def make_product_task(guts, initargs_path, memcached_pass, options):
AllOsTask("Chronicle dump",
[escript, chronicle_dump_path, "snapshot"] + files,
timeout=600,
log_file="couchbase.log"),
CollectDirectory("Chronicle snapshot directory: "
f"{chronicle_snapshot_dir}",
chronicle_snapshot_dir,
os.path.join("chronicle",
"exported_snapshot"))]
log_file="couchbase.log")]

lookup_cmd = None
for cmd in ["dig", "nslookup", "host"]:
Expand Down Expand Up @@ -2219,13 +2214,6 @@ def main():
else:
log("Error: unable to retrieve statistics")

# Collect the contents of the chronicle directory
chronicle_dir_path = read_guts(guts, "chronicle_dir")
if chronicle_dir_path is not None:
runner.collect_dir(chronicle_dir_path, "./chronicle")
else:
log("Error: unable to gather chronicle files")

fts_port = read_guts(guts, "fts_http_port")
if fts_port:
idx_dir = read_guts(guts, "idx_dir")
Expand Down

0 comments on commit 809157a

Please sign in to comment.