[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: container_manager_linux.go:272] [ContainerManager] Failed to ensure state of "/docker-daemon": failed to move PID 20499 (in "/system.slice/docker.service") to "/docker-daemon"



Those errors usually indicate -v /sys:/sys is missing

On Tue, Feb 9, 2016 at 1:07 PM, Stéphane Klein
<contact stephane-klein info> wrote:
> Hi,
>
> I've installed OpenShift with Docker method (
> https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container
> ) on CentOS Linux release 7.2.1511 (Core)
>
> After installation, I've this :
>
> ```
>
> E0209 17:33:57.492089   20834 kubelet.go:863] Image garbage collection
> failed: unable to find data for container /
> I0209 17:33:57.492103   20834 server.go:103] Starting to listen on
> 0.0.0.0:10250
> W0209 17:33:57.673340   20834 kubelet.go:891] Failed to move Kubelet to
> container "/kubelet": mkdir /sys/fs/cgroup/cpuacct,cpu: read-only file
> system
> I0209 17:33:57.673400   20834 kubelet.go:893] Running in container
> "/kubelet"
> I0209 17:33:57.678639   20834 manager.go:124] Starting to sync pod status
> with apiserver
> I0209 17:33:57.678677   20834 kubelet.go:2299] Starting kubelet main sync
> loop.
> I0209 17:33:57.687318   20834 factory.go:203] System is using systemd
> I0209 17:33:57.785603   20834 factory.go:245] Registering Docker factory
> I0209 17:33:57.788723   20834 factory.go:94] Registering Raw factory
> I0209 17:33:57.829322   20834 kubelet.go:1087] Successfully registered node
> localhost.localdomain
> I0209 17:33:57.914526   20834 manager.go:1005] Started watching for new ooms
> in manager
> I0209 17:33:57.918669   20834 oomparser.go:182] oomparser using systemd
> I0209 17:33:57.919128   20834 manager.go:249] Starting recovery of all
> containers
> I0209 17:33:57.983381   20834 manager.go:254] Recovery completed
> W0209 17:33:58.058390   20834 container_manager_linux.go:272]
> [ContainerManager] Failed to ensure state of "/docker-daemon": [failed to
> move PID 20848 (in "/") to "/docker-daemon", failed to move PID 20499 (in
> "/system.slice/docker.service") to "/docker-daemon"]
> W0209 17:33:59.462068   20834 nodecontroller.go:585] Missing timestamp for
> Node localhost.localdomain. Assuming now as a timestamp.
> I0209 17:33:59.462108   20834 event.go:210]
> Event(api.ObjectReference{Kind:"Node", Namespace:"",
> Name:"localhost.localdomain", UID:"localhost.localdomain", APIVersion:"",
> ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'RegisteredNode'
> Node localhost.localdomain event: Registered Node localhost.localdomain in
> NodeController
> W0209 17:34:58.456869   20834 container_manager_linux.go:272]
> [ContainerManager] Failed to ensure state of "/docker-daemon": [failed to
> move PID 20848 (in "/") to "/docker-daemon", failed to move PID 20499 (in
> "/system.slice/docker.service") to "/docker-daemon"]
> E0209 17:35:51.607402   20834 nsenter_mount.go:179] Failed to nsenter mount,
> return file doesn't exist: exit status 1
> E0209 17:35:51.633646   20834 nsenter_mount.go:179] Failed to nsenter mount,
> return file doesn't exist: exit status 1
> I0209 17:35:51.809000   20834 provider.go:91] Refreshing cache for provider:
> *credentialprovider.defaultDockerConfigProvider
> W0209 17:35:58.806107   20834 container_manager_linux.go:272]
> [ContainerManager] Failed to ensure state of "/docker-daemon": [failed to
> move PID 20848 (in "/") to "/docker-daemon", failed to move PID 20499 (in
> "/system.slice/docker.service") to "/docker-daemon"]
> W0209 17:36:59.138225   20834 container_manager_linux.go:272]
> [ContainerManager] Failed to ensure state of "/docker-daemon": [failed to
> move PID 20848 (in "/") to "/docker-daemon", failed to move PID 20499 (in
> "/system.slice/docker.service") to "/docker-daemon"]
> W0209 17:37:59.313136   20834 container_manager_linux.go:272]
> [ContainerManager] Failed to ensure state of "/docker-daemon": failed to
> move PID 20499 (in "/system.slice/docker.service") to "/docker-daemon"
>
> ```
>
> Complete log : https://gist.github.com/harobed/efde57bcde77c473d3be
>
> How can I fix this error ?
>
> Best regards,
> Stéphane
> --
> Stéphane Klein <contact stephane-klein info>
> blog: http://stephane-klein.info
> cv : http://cv.stephane-klein.info
> Twitter: http://twitter.com/klein_stephane
>
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]