aboutsummaryrefslogtreecommitdiff
path: root/script/jepsen.garage/src/jepsen/garage/daemon.clj
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-19 16:45:24 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-19 16:45:24 +0200
commitda8b1707489b70c25395ee49383ecbbd8c9f9404 (patch)
treebf98e65cc59ea91394825f9c6ab663085bfe36ba /script/jepsen.garage/src/jepsen/garage/daemon.clj
parent74e50eddddf319ce1a32a9b57b3825ea40db3a6c (diff)
downloadgarage-da8b1707489b70c25395ee49383ecbbd8c9f9404.tar.gz
garage-da8b1707489b70c25395ee49383ecbbd8c9f9404.zip
jepsen: investigating listobjects error
Diffstat (limited to 'script/jepsen.garage/src/jepsen/garage/daemon.clj')
-rw-r--r--script/jepsen.garage/src/jepsen/garage/daemon.clj7
1 files changed, 5 insertions, 2 deletions
diff --git a/script/jepsen.garage/src/jepsen/garage/daemon.clj b/script/jepsen.garage/src/jepsen/garage/daemon.clj
index f924dcd6..7c581ba1 100644
--- a/script/jepsen.garage/src/jepsen/garage/daemon.clj
+++ b/script/jepsen.garage/src/jepsen/garage/daemon.clj
@@ -53,7 +53,8 @@
"api_bind_addr = \"0.0.0.0:3902\"\n"
"[admin]\n"
"api_bind_addr = \"0.0.0.0:3903\"\n"
- "admin_token = \"" admin-token "\"\n")
+ "admin_token = \"" admin-token "\"\n"
+ "trace_sink = \"http://192.168.56.1:4317\"\n")
"/etc/garage.toml"))))
(defn connect-node!
@@ -94,7 +95,8 @@
(cu/start-daemon!
{:logfile logfile
:pidfile pidfile
- :chdir base-dir}
+ :chdir base-dir
+ :env {:RUST_LOG "garage=debug,garage_api=trace"}}
binary
:server)
(c/exec :sleep 3)
@@ -113,6 +115,7 @@
(info node "tearing down garage" version)
(c/su
(cu/stop-daemon! binary pidfile)
+ (c/exec :rm :-rf logfile)
(c/exec :rm :-rf data-dir)
(c/exec :rm :-rf meta-dir)))