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

Enable PVC pre-create subpaths property by default. #1232

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

amisevsk
Copy link
Collaborator

@amisevsk amisevsk commented Feb 5, 2019

What does this PR do?

Enable CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS by default.

What issues does this PR fix or reference?

See #1195 and eclipse-che/che#12445 (comment)

How have you tested this PR?

Tried to test on dev-cluster/2a, but ran into Failed to start Kubernetes runtime of workspace workspacepq096rpun47m7x48. Cause: Server 'theia' in machine 'ws/theia-ide' not available.. However, workspace pods are created successfully (pre-creation happens before that) and workspace is deleted without issue.

Housekeeping PRs

https://gitlab.cee.redhat.com/dtsd/housekeeping/issues/2541 for enabling on staging only

Due to an issue with how Kubernetes creates paths in PVCs, enabling the
precreate option is required. Otherwise, the cleanup job on workspace
deletion fails to remove directories (files are removed correctly)

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@centos-ci
Copy link
Collaborator

@amisevsk The che server [build 1130] failed.

Link URL
console https://ci.centos.org/view/Devtools/job/devtools-rh-che-rh-che-prcheck-dev.rdu2c.fabric8.io/1130/console
artifacts http://artifacts.ci.centos.org/devtools/che-functional-tests/devtools-rh-che-rh-che-prcheck-dev.rdu2c.fabric8.io/1130/

If the build or deployment fails, the artifacts will not be present. Don't panic, just grab a towel.

@amisevsk amisevsk merged commit e1b75d3 into redhat-developer:master Feb 5, 2019
@amisevsk amisevsk deleted the issue-1195 branch February 5, 2019 15:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants