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

open /dev/disk/by-uuid: no such file or directory #509

Closed
tkellen opened this issue Dec 18, 2017 · 10 comments
Closed

open /dev/disk/by-uuid: no such file or directory #509

tkellen opened this issue Dec 18, 2017 · 10 comments
Labels

Comments

@tkellen
Copy link
Contributor

tkellen commented Dec 18, 2017

Hello,

First, thanks for all your great work on this project!

I am attempting to run cri-containerd v1.0.0-beta.0 on Scaleway Ubuntu machines and I'm hitting this:

I1218 17:54:40.732642    5698 cri_containerd.go:100] Run cri-containerd &{Config:{ContainerdConfig:{RootDir:/var/lib/containerd Snapshotter:overlayfs Endpoint:/run/containerd/containerd.sock Runtime:io.containerd.runtime.v1.linux RuntimeEngine: RuntimeRoot:} CniConfig:{NetworkPluginBinDir:/opt/cni/bin NetworkPluginConfDir:/etc/cni/net.d} SocketPath:/var/run/cri-containerd.sock RootDir:/var/lib/cri-containerd StreamServerAddress: StreamServerPort:10010 CgroupPath: EnableSelinux:false SandboxImage:gcr.io/google_containers/pause:3.0 StatsCollectPeriod:10 SystemdCgroup:false OOMScore:-999 EnableProfiling:true ProfilingPort:10011 ProfilingAddress:127.0.0.1} ConfigFilePath:/etc/cri-containerd/config.toml}
Error: failed to create CRI containerd service: failed to get imagefs uuid of "/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs": open /dev/disk/by-uuid: no such file or directory

...any insight on how to proceed would be greatly appreciated!

@Random-Liu
Copy link
Member

Random-Liu commented Dec 18, 2017

Are you using udev or mdev? It seems that mdev doesn't have by-uuid. #292 (comment)

@Random-Liu
Copy link
Member

Random-Liu commented Dec 18, 2017

I filed #510 for now to unblock people from trying this out.

I'll work with @yujuhong and the other team members to figure out whether we should change CRI to make this more portable.

@Random-Liu
Copy link
Member

@tkellen Thanks for filing the issue. I've filed kubernetes/kubernetes#57356 to carry on the related api design discussion.

@tkellen
Copy link
Contributor Author

tkellen commented Dec 19, 2017

Thanks @Random-Liu! Apologies for not replying RE: mdev/udev, yet. This was my first time using Scaleway and I shut the instances down shortly after the failure and moved on to the next provider (I'm testing any with terraform support over at https://github.com/tkellen/kwm/tree/master/hack).

I'll spin up another machine tomorrow and check. If you give me some commands to run I'd be happy to share the output.

@Random-Liu
Copy link
Member

@tkellen Thanks! It seems that you can check /sbin/mdev, see https://stackoverflow.com/questions/22719005/how-to-know-if-udev-or-mdev-is-enabled.

@tkellen
Copy link
Contributor Author

tkellen commented Dec 20, 2017

root@scaleway-controlplane-0:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
root@scaleway-controlplane-0:~# which mdev
root@scaleway-controlplane-0:~# cat /proc/sys/kernel/hotplug
/sbin/hotplug
root@scaleway-controlplane-0:~# which hotplug
root@scaleway-controlplane-0:~#

@tkellen
Copy link
Contributor Author

tkellen commented Dec 20, 2017

Seems neither is available. Picking a random person from the scaleway organization to see if they can weigh in on this decision. Hi... @nlm?

@Random-Liu
Copy link
Member

@tkellen Thanks for investigating that.
@nlm, what device manager is scaleway Ubuntu using? Why isn't there /dev/disk/by-uuid?

@Random-Liu
Copy link
Member

@tkellen We added skip-imagefs-uuid flag, and will be included in v1.0.0-beta.1. If the current uuid based approach doesn't work, user could use that flag to skip that step. It should not prevent user from trying out this.

I'll close this issue. Further discussion will be carried on in the kubernetes issue kubernetes/kubernetes#57356.

@tkellen
Copy link
Contributor Author

tkellen commented Jan 8, 2018

Thanks @Random-Liu!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants