Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save v-thomp4/253a8ad3f9355e3c32a6b25727b062cc to your computer and use it in GitHub Desktop.
Save v-thomp4/253a8ad3f9355e3c32a6b25727b062cc to your computer and use it in GitHub Desktop.
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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment