Skip to content

Instantly share code, notes, and snippets.

@v-thomp4
v-thomp4 / gist:253a8ad3f9355e3c32a6b25727b062cc
Created May 4, 2017 10:21
State [purged] is not valid for process rancher
This should give you a list of the services that are stuck in service purgatory:
select id, state from service_expose_map where removed is null and instance_id in (select id from instance where state='purged');
update service_expose_map set removed=now(), state='removed' where id in ( SERVICE, ID's, HERE);