Pods fail to start with "Failed to start transient scope unit: Argument list too long" error
Issue
-
One or more pods are unable to start. The events display messages like the following:
11:00:00 AM Warning Failed Create Pod Container unable to ensure pod container exists: failed to create container for [kubepods burstable podafe18147-217c-11ea-b4c2-005056beab36] : Argument list too long 10:01:00 AM Warning Failed Mount MountVolume.SetUp failed for volume "foobar" : mount failed: exit status 1 Mounting command: systemd-run Mounting arguments: --description=Kubernetes transient mount for /var/lib/origin/openshift.local.volumes/pods/afe18147-217c-11ea-b4c2-005056beab36/volumes/kubernetes.io~secret/elasticsearch --scope -- mount -t tmpfs tmpfs /var/lib/origin/openshift.local.volumes/pods/afe18147-217c-11ea-b4c2-005056beab36/volumes/kubernetes.io~secret/elasticsearch Output: Failed to start transient scope unit: Argument list too long 10:02:00 AM Warning Failed Mount MountVolume.SetUp failed for volume "foobar-token-mrv69" : mount failed: exit status 1 Mounting command: systemd-run Mounting arguments: --description=Kubernetes transient mount for /var/lib/origin/openshift.local.volumes/pods/afe18147-217c-11ea-b4c2-005056beab36/volumes/kubernetes.io~secret/aggregated-logging-elasticsearch-token-mrv69 --scope -- mount -t tmpfs tmpfs /var/lib/origin/openshift.local.volumes/pods/afe18147-217c-11ea-b4c2-005056beab36/volumes/kubernetes.io~secret/aggregated-logging-elasticsearch-token-mrv69 Output: Failed to start transient scope unit: Argument list too long
Environment
- Red Hat OpenShift Container Platform (OCP) 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.