Skip to content

Instantly share code, notes, and snippets.

View scole-scea's full-sized avatar

Steven Cole scole-scea

View GitHub Profile
@scole-scea
scole-scea / gist:b5341370f3e9e958c53b2e42117f2056
Created October 28, 2016 19:25
Timer + associated service desynchronization on reboot
-- Reboot --
systemd[1]: Started fleet daemon.
fleetd[1221]: INFO fleetd.go:64: Starting fleetd version 0.11.7
fleetd[1221]: INFO fleetd.go:168: No provided or default config file found - proceeding without
fleetd[1221]: INFO server.go:157: Establishing etcd connectivity
fleetd[1221]: INFO server.go:168: Starting server components
fleetd[1221]: INFO engine.go:79: Engine leader is 2b784eb3cdc58dfb5cca7d4064176e95
fleetd[1221]: INFO manager.go:246: Writing systemd unit logspout.service (3131b)
fleetd[1221]: INFO manager.go:246: Writing systemd unit systemd-reload.service (1717b)
fleetd[1221]: INFO manager.go:182: Instructing systemd to reload units
@scole-scea
scole-scea / gist:0ce8b283c21f237a5c0e67b278866224
Created June 6, 2016 19:07
Log of systemd-sysusers failing
integ-mongo-1 run # journalctl -u systemd-sysusers.service
-- Logs begin at Fri 2016-03-18 14:36:39 UTC, end at Mon 2016-06-06 19:02:15 UTC. --
Apr 13 20:14:27 integ-mongo-1.c.ace-ripsaw-671.internal systemd[1]: Stopped Create System Users.
-- Reboot --
May 04 09:49:58 integ-mongo-1.c.ace-ripsaw-671.internal systemd[1]: Stopped Create System Users.
-- Reboot --
May 04 09:50:12 localhost systemd-coredump[794]: Process 786 (systemd-sysuser) of user 0 dumped core.
-- Reboot --
Jun 01 18:23:36 localhost systemd-sysusers[785]: Creating group rkt with gid 251.
Jun 01 18:23:36 localhost systemd-sysusers[785]: Creating group fleet with gid 253.
@scole-scea
scole-scea / systemd-reload.service
Last active August 29, 2015 14:17
Systemd reload hack for fleet
[Unit]
Description=Systemd Reload Hack for coreos fleet
After=fleet.service
# So: comments outside the script part itself, so I don't exceed
# command line length.
#
# The point here is to detect services which are stuck in "not-found"
# state when they shouldn't be. This failure originates from
# fleet-submitted unit files, so we try hard not to affect units
-- Logs begin at Tue 2015-03-24 16:50:50 UTC, end at Tue 2015-03-24 16:57:23 UTC. --
Mar 24 16:51:01 ci8-host-b.c.ace-ripsaw-671.internal systemd[1]: Starting fleet daemon...
Mar 24 16:51:01 ci8-host-b.c.ace-ripsaw-671.internal systemd[1]: Started fleet daemon.
Mar 24 16:51:02 ci8-host-b.c.ace-ripsaw-671.internal fleetd[566]: INFO fleet.go:58: Starting fleetd version 0.9.1
Mar 24 16:51:02 ci8-host-b.c.ace-ripsaw-671.internal fleetd[566]: INFO fleet.go:162: No provided or default config file found - proceeding without
Mar 24 16:51:02 ci8-host-b.c.ace-ripsaw-671.internal fleetd[566]: INFO server.go:153: Establishing etcd connectivity
Mar 24 16:51:02 ci8-host-b.c.ace-ripsaw-671.internal fleetd[566]: INFO client.go:291: Failed getting response from http://localhost:4001/: dial tcp 127.0.0.1:4001: connection refused
Mar 24 16:51:02 ci8-host-b.c.ace-ripsaw-671.internal fleetd[566]: ERROR client.go:213: Unable to get result for {Update /_coreos.com/fleet/machines/56a6ed5c934f6918ef73028966fac3f7/object}, retrying in