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

notary-server failed to start on K8s 1.10 #4886

Closed
shayulei opened this issue May 9, 2018 · 3 comments
Closed

notary-server failed to start on K8s 1.10 #4886

shayulei opened this issue May 9, 2018 · 3 comments
Labels
area/helm-chart The issues about helm chart of Harbor community

Comments

@shayulei
Copy link

shayulei commented May 9, 2018

Error: failed to start container "notary-server": Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:364: container init caused "rootfs_linux.go:54: mounting \"/var/lib/kubelet/pods/7981c0e7-5351-11e8-8197-00505688f21e/volume-subpaths/root-certificate/notary-server/1\" to rootfs \"/var/lib/docker/overlay2/7f7af74be5dbd6e31fd3561da7ea3e9e7609426b0b412580a9a3dd7d5ccaf1c1/merged\" at \"/var/lib/docker/overlay2/7f7af74be5dbd6e31fd3561da7ea3e9e7609426b0b412580a9a3dd7d5ccaf1c1/merged/config/root.crt\" caused \"not a directory\""" : Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Back-off restarting failed container

@reasonerjt reasonerjt added community area/helm-chart The issues about helm chart of Harbor labels May 9, 2018
@jessehu
Copy link
Contributor

jessehu commented May 9, 2018

@shayulei what's your kubernetes server version ? e.g. the output of kubectl version. It works on my kubernetes server 1.9.0.

@shayulei
Copy link
Author

@jessehu kubernetes server version 1.10

@jessehu jessehu changed the title root.crt change root-crt notary-server failed to start on K8s 1.10 May 10, 2018
jessehu added a commit to jessehu/harbor that referenced this issue May 10, 2018
K8s 1.10 throws error when mounting a file into the directory which
is also mounted from a ConfigMap.
Fix issue goharbor#4886
@jessehu
Copy link
Contributor

jessehu commented May 11, 2018

Fixed in master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm-chart The issues about helm chart of Harbor community
Projects
None yet
Development

No branches or pull requests

3 participants