File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,18 @@ coreos:
2020 units:
2121 - name: etcd.service
2222 command: start
23+ content: |
24+ [Unit]
25+ Description=etcd
26+ [Service]
27+ User=etcd
28+ PermissionsStartOnly=true
29+ Environment=ETCD_DATA_DIR=/var/lib/etcd
30+ Environment=ETCD_NAME=%m
31+ ExecStart=/usr/bin/etcd
32+ Restart=always
33+ RestartSec=10s
34+ LimitNOFILE=40000
2335 - name: fleet.service
2436 command: start
2537 - name: stop-update-engine.service
Original file line number Diff line number Diff line change @@ -134,6 +134,14 @@ function dump_logs {
134134 get_logs deis-router@3 deis-store-volume deis-store-volume-3
135135 get_logs deis-store-gateway
136136
137+ # get debug-etcd logs
138+ fleetctl -strict-host-key-checking=false ssh deis-router@1 journalctl --no-pager -u etcd \
139+ > $FAILED_LOGS_DIR /debug-etcd-1.log
140+ fleetctl -strict-host-key-checking=false ssh deis-router@2 journalctl --no-pager -u etcd \
141+ > $FAILED_LOGS_DIR /debug-etcd-2.log
142+ fleetctl -strict-host-key-checking=false ssh deis-router@3 journalctl --no-pager -u etcd \
143+ > $FAILED_LOGS_DIR /debug-etcd-3.log
144+
137145 # tarball logs
138146 BUCKET=jenkins-failure-logs
139147 FILENAME=deis-test-failure-$TIMESTAMP .tar.gz
You can’t perform that action at this time.
0 commit comments