Muehlenhoff has submitted this change and it was merged.
Change subject: Add some debugging notes
......................................................................
Add some debugging notes
Change-Id: Ic7b68f808479e52688bed0c7d51dd215902c98d8
---
A docs/DEBUGGING
1 file changed, 42 insertions(+), 0 deletions(-)
Approvals:
Muehlenhoff: Verified; Looks good to me, approved
diff --git a/docs/DEBUGGING b/docs/DEBUGGING
new file mode 100644
index 0000000..016ba04
--- /dev/null
+++ b/docs/DEBUGGING
@@ -0,0 +1,42 @@
+
+
+Running the Salt minion with higher debug level
+-----------------------------------------------
+
+Add
+
+ log_level: info
+
+or
+
+ log_level: debug
+
+to /etc/salt/minion (note the space after log_level, otherwise Salt runs into
a traceback!)
+and run
+
+ service salt-minion restart
+
+Additional debug output will be written to /var/log/salt/minion (or a distinct
path
+configurable through the log_file directive)
+
+
+Debugging a failed job:
+----------------------
+
+Query the internal Salt job id:
+
+ sqlite3 /var/lib/debdeploy/jobdb.sqlite .dump
+
+Display the salt return values:
+
+ salt-run jobs.print_job 20150924135252805392
+
+
+
+Trigerring a manual run of the Salt module:
+-------------------------------------------
+
+ salt server.foo.bar debdeploy-minion.deploy source=expat update_type=library
versions='{"jessie": "2.1.0-6+deb8u1"}'
+
+
+
--
To view, visit https://gerrit.wikimedia.org/r/241039
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic7b68f808479e52688bed0c7d51dd215902c98d8
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/debdeploy
Gerrit-Branch: master
Gerrit-Owner: Muehlenhoff <[email protected]>
Gerrit-Reviewer: Muehlenhoff <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits