Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Cannot start container with error “Invalid slice name /mesos” #807

Open
RedCornerR opened this issue Aug 8, 2016 · 2 comments
Open

Comments

@RedCornerR
Copy link

when creating pod, the following error occrured, anyone could help? (k8s on mesos)

[root@k8s-69 kubernetes]# kubectl describe pod busybox
Name: busybox
Namespace: default
Node: 192.168.1.137/192.168.1.137
Start Time: Mon, 08 Aug 2016 10:22:09 +0800
Labels:
Status: Pending
IP:
Controllers:
Containers:
busybox:
Container ID:
Image: docker.io/busybox
Image ID:
Port:
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Volume Mounts:
Environment Variables:
Conditions:
Type Status
Initialized True
Ready False
PodScheduled True
No volumes.
QoS Class: BestEffort
Events:
FirstSeen LastSeen Count From SubobjectPath Type ReasoMessage


15s 15s 1 {default-scheduler } Normal Scheduled Successfully assigned busybox to 192.168.1.137
5s 5s 1 {kubelet 192.168.1.137} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with RunContainerError: "runContainer: Error response from daemon: Cannot start container acbae7cb4990fd529260218202cb277d8cdbcceb00c6387ed32e4caf212a330d: [8] System error: Invalid slice name /mesos/f84ae810-fd9b-4cb2-a90b-8ae7d5b9669c"

@RedCornerR
Copy link
Author

new error message after changed to a new mesos master

[root@k8s-69 kubernetes]# kubectl describe pod nginx1
Name: nginx1
Namespace: default
Node: k8s-mesos-100.test.com/192.168.1.70
Start Time: Mon, 08 Aug 2016 13:42:53 +0800
Labels:
Status: Pending
IP:
Controllers:
Containers:
nginx1:
Container ID:
Image: 192.168.1.151:5000/nginx
Image ID:
Port: 80/TCP
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Volume Mounts:
Environment Variables:
Conditions:
Type Status
Initialized True
Ready False
PodScheduled True
No volumes.
QoS Class: BestEffort
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message


21s 21s 1 {default-scheduler } NormaScheduled Successfully assigned nginx1 to k8s-mesos-100.test.com
21s 9s 2 {kubelet k8s-mesos-100.test.com} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with RunContainerError: "runContainer: Error response from daemon: cgroup-parent for systemd cgroup should be a valid slice named as "xxx.slice""

@RedCornerR
Copy link
Author

RedCornerR commented Aug 8, 2016

solved by upgrading to the latest docker version

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

No branches or pull requests

1 participant