Skip to content

Instantly share code, notes, and snippets.

@llarsson
Last active December 2, 2015 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llarsson/cdc761efbd8c0c0230c8 to your computer and use it in GitHub Desktop.
Save llarsson/cdc761efbd8c0c0230c8 to your computer and use it in GitHub Desktop.

CoreOS: recover etcd2 if a service has started etcd

sudo systemctl stop fleet.service fleet.socket etcd
sudo systemctl start etcd2
sudo systemctl reset-failed
etcdctl rm --recursive /_coreos.com/fleet/job/my_failed_unit.service
sudo systemctl start fleet fleet.socket

Credit to @jessegonzalez in etcd-io/etcd#3211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment