Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

fix(controller): kill processes removed from procfile #3068

Conversation

bacongobbler
Copy link
Member

When a process type is removed in a new build, the old containers are
not killed, and there's no way for the user to stop them. This change
will destroy the containers that no longer exist in the procfile.

closes #2930

@carmstrong carmstrong added this to the v1.4 milestone Feb 12, 2015
@carmstrong
Copy link
Contributor

I like the clean implementation. Code LGTM!

@mboersma
Copy link
Member

Great to have this fixed. Code LGTM.

@bacongobbler bacongobbler force-pushed the 2930-kill-processes-removed-from-procfile branch from 453ae8c to c49a15c Compare February 12, 2015 21:48
@aledbf
Copy link
Contributor

aledbf commented Feb 20, 2015

@bacongobbler with this PR I see this error in the controller:
ERROR example: aborting, failed to destroy some containers
the build is ok but and version is not incremented

@bacongobbler
Copy link
Member Author

The unit tests are failing so there's bound to be issues :)

When a process type is removed in a new build, the old containers are
not killed, and there's no way for the user to stop them. This change
will destroy the containers that no longer exist in the procfile.
@bacongobbler bacongobbler force-pushed the 2930-kill-processes-removed-from-procfile branch from c49a15c to 05c322c Compare February 23, 2015 17:27
@bacongobbler
Copy link
Member Author

fixed and tests passing, PTAL when you have time :)

@carmstrong
Copy link
Contributor

Code LGTM.

@mboersma
Copy link
Member

Code LGTM still. 😄

bacongobbler pushed a commit that referenced this pull request Feb 23, 2015
…d-from-procfile

fix(controller): kill processes removed from procfile
@bacongobbler bacongobbler merged commit dc5a3a5 into deis:master Feb 23, 2015
@bacongobbler bacongobbler deleted the 2930-kill-processes-removed-from-procfile branch February 23, 2015 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

processes removed from Profile cannot be stopped
4 participants