Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not scale down deployment before resource deletion. Removing watch pod logic (seems to be also broken after 3.6 osio update) #6017

Merged
merged 1 commit into from Aug 16, 2017

Conversation

ibuziuk
Copy link
Member

@ibuziuk ibuziuk commented Aug 16, 2017

What does this PR do?

Do not scale down deployment before resource deletion
deployment.scale(0, true); hangs on osio after update to 3.6 version. Watching pods also seem to hang till timeout occurs.

Changelog

(bugfix, update to support OpenShift 3.6+)

Release Notes

N / A

Docs PR

N / A

… pod logic (seems to be also broken after 3.6 osio update)

Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
@codenvy-ci
Copy link

Can one of the admins verify this patch?

1 similar comment
@codenvy-ci
Copy link

Can one of the admins verify this patch?

@@ -41,26 +32,14 @@
public class OpenShiftDeploymentCleaner {
private static final Logger LOG = LoggerFactory.getLogger(OpenShiftDeploymentCleaner.class);
private static final int OPENSHIFT_POD_DELETION_TIMEOUT = 120;
private static final int OPENSHIFT_WAIT_POD_DELAY = 1000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we make this parameter configurable?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is hot-fix. We will not this ugly delays in future

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ок

@ibuziuk ibuziuk merged commit 52b878e into eclipse-che:master Aug 16, 2017
@benoitf benoitf added this to the 5.17.0 milestone Aug 16, 2017
@benoitf benoitf added the kind/bug Outline of a bug - must adhere to the bug report template. label Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants