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

Add new container host path test. #320

Merged
merged 1 commit into from
Jun 7, 2018

Conversation

Random-Liu
Copy link
Contributor

Change CRI validation test to conform to kubernetes/kubernetes#61460.

Signed-off-by: Lantao Liu [email protected]

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 4, 2018
@Random-Liu
Copy link
Contributor Author

It seems that standalone dockershim doesn't work now. Will investigate later.

@feiskyer
Copy link
Member

feiskyer commented Jun 5, 2018

Yep, kubelet --experimental-dockershim will exit silently. Let me file a PR to fix that

Signed-off-by: Lantao Liu <[email protected]>
@Random-Liu Random-Liu force-pushed the add-new-volume-test branch from 21c65b0 to b5dda7e Compare June 5, 2018 08:15
@Random-Liu
Copy link
Contributor Author

Removed the non-existent host path test. Let's finalize kubernetes/kubernetes#61460 (comment) first.

k8s-github-robot pushed a commit to kubernetes/kubernetes that referenced this pull request Jun 6, 2018
Automatic merge from submit-queue (batch tested with PRs 64749, 64797). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix standalone dockershim.

Ref kubernetes-sigs/cri-tools#320 (comment).

This PR fixes a bug that standalone dockershim exits immediately.

This PR:
1) Changes standalone dockershim to wait on `stopCh`, so that it won't exit immediately.
2) Removes `stopCh` from dockershim internal. It doesn't help much for graceful stop, because kubelet will exit immediately anyway. https://github.com/kubernetes/kubernetes/blob/master/cmd/kubelet/app/server.go#L748

@kubernetes/sig-node-pr-reviews @yujuhong @feiskyer 

**Release note**:

```release-note
none
```
@Random-Liu
Copy link
Contributor Author

@feiskyer Please take a look. This PR only adds symlink host path test now.

Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 7, 2018
@feiskyer feiskyer merged commit 9da2549 into kubernetes-sigs:master Jun 7, 2018
@Random-Liu Random-Liu deleted the add-new-volume-test branch June 7, 2018 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants