Skip to content

Pods stuck in Terminating in 3.2.0.5 #8176

Closed

Description

@jeremyeder

Created a lot of pods (1000 across 2 nodes, approx 500 per node). Then deleted the namespace:

# oc delete ns clusterproject0

It started doing something because only 319 pods remain out of the 1000. But now it refuses to go further. Environment state and logs are below.

I haven't seen this before -- last similar run was on 3.2.0.1, though I only went to 250 pods per node at that code level (things worked ok).

# openshift version
openshift v3.2.0.5
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5

# oc get no
NAME                                       STATUS                     AGE
dell-r620-01.perf.lab.eng.rdu.redhat.com   Ready,SchedulingDisabled   19d
dell-r730-01.perf.lab.eng.rdu.redhat.com   Ready                      19d
dell-r730-02.perf.lab.eng.rdu.redhat.com   Ready                      19d

# oc get ns
NAME               STATUS        AGE
clusterproject0    Terminating   1d
default            Active        19d
management-infra   Active        19d
openshift          Active        19d
openshift-infra    Active        19d

# oc delete ns clusterproject0
Error from server: namespaces "clusterproject0" cannot be updated: The system is ensuring all content is removed from this namespace.  Upon completion, this namespace will automatically be purged by the system.

All of the stuck-in-terminating pods were scheduled and run on one of the nodes. The other node was able to successfully terminate all pods that were running there.

From the master:

Mar 21 12:18:36 dell-r620-01.perf.lab.eng.rdu.redhat.com atomic-openshift-master[6683]: E0321 12:18:36.451332    6683 namespace_controller.go:139] unexpected items still remain in namespace: clusterproject0 for gvr: { v1 pods}
Mar 21 12:18:37 dell-r620-01.perf.lab.eng.rdu.redhat.com atomic-openshift-master[6683]: W0321 12:18:37.223252    6683 reflector.go:289] /usr/lib/golang/src/runtime/asm_amd64.s:2232: watch of *api.ServiceAccount ended with: 401: The event in requested index is outdated and cleared (the requested history has been cleared [24072046/23943693]) [24073045]

From the node that can't terminate it's pods:

Mar 21 12:22:49 dell-r730-01.perf.lab.eng.rdu.redhat.com atomic-openshift-node[7438]: W0321 12:22:49.119784    7438 kubelet.go:1850] Unable to retrieve pull secret clusterproject0/default-dockercfg-woua1 for clusterproject0/hellopods505 due to secrets "default-dockercfg-woua1" not found.  The image pull may not succeed.

Activity

  1. jeremyeder commented on Mar 21, 2016

    @jeremyeder
    Author
  2. jeremyeder commented on Mar 21, 2016

    @jeremyeder
    Author

    Attached is a stacktrace taken from the wedged node, as requested by @ncdc

    # curl -o stack.txt http://localhost:6060/debug/pprof/goroutine?debug=2
    

    stack.txt

  3. derekwaynecarr commented on Mar 21, 2016

    @derekwaynecarr
    Member

    the nodes reported healthy as well, so node controller is not going to do anything...

  4. liggitt commented on Mar 21, 2016

    @liggitt
    Contributor

    what grace period is set for pods when deleting them as part of a namespace deletion?

  5. derekwaynecarr commented on Mar 21, 2016

    @derekwaynecarr
    Member

    @liggitt - none. we call delete collection, which in turn calls delete, which will pull the grace period from the strategy. https://github.com/kubernetes/kubernetes/blob/master/pkg/registry/generic/etcd/etcd.go#L398

  6. liggitt commented on Mar 21, 2016

    @liggitt
    Contributor

    so a stuck pod can block namespace deletion forever?

  7. ncdc commented on Mar 21, 2016

    @ncdc
    Contributor

    For more context, see the long discussion here: kubernetes/kubernetes#20497

  8. derekwaynecarr commented on Mar 21, 2016

    @derekwaynecarr
    Member

    @jeremyeder did the pod use a pvc with pv?

  9. jeremyeder commented on Mar 21, 2016

    @jeremyeder
    Author

    @derekwaynecarr no, there were no PVs in this environment at all. The pods simply run hello-openshift.

  10. jeremyeder commented on Mar 22, 2016

    @jeremyeder
    Author

    Had to stop docker on the node with all the stuck pods, dmsetup remove all the thin volumes there, reboot everything and then the namespace was able to clean itself up :/

  11. ncdc commented on Mar 22, 2016

    @ncdc
    Contributor

    @jeremyeder can you upload the logs for docker and the node somewhere (or maybe the entire journal from just before you deleted the project to a few minutes after)?

  12. assigned and unassigned on Mar 22, 2016
  13. 34 remaining items

  14. derekwaynecarr commented on Apr 1, 2016

    @derekwaynecarr
    Member

    Ha funny enough, I am not sure what caused it to unwedge, but now the pod that was hung for hours is disappeared along with namespace.

  15. derekwaynecarr commented on Apr 1, 2016

    @derekwaynecarr
    Member

    Basically, for this pod in question, after 4 hrs it finally unwedged:

    [root@kubernetes-node-1 vagrant]# journalctl -u kubelet -o cat --no-pager | grep "test-034xr"
    I0331 20:15:30.501759    3952 kubelet.go:2394] SyncLoop (ADD, "api"): "test-034xr_e2e-tests-nodestress-8e5yg(f03e60df-f77c-11e5-bed9-080027242396)"
    I0331 20:15:30.823634    3952 manager.go:1688] Need to restart pod infra container for "test-034xr_e2e-tests-nodestress-8e5yg(f03e60df-f77c-11e5-bed9-080027242396)" because it is not found
    I0331 20:16:59.570316    3952 kubelet.go:2420] SyncLoop (PLEG): "test-034xr_e2e-tests-nodestress-8e5yg(f03e60df-f77c-11e5-bed9-080027242396)", event: &pleg.PodLifecycleEvent{ID:"f03e60df-f77c-11e5-bed9-080027242396", Type:"ContainerStarted", Data:"4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f"}
    I0331 20:23:20.586986    3952 kubelet.go:2401] SyncLoop (UPDATE, "api"): "test-034xr_e2e-tests-nodestress-8e5yg(f03e60df-f77c-11e5-bed9-080027242396)"
    E0401 00:47:15.578764    3952 event.go:198] Server rejected event '&api.Event{TypeMeta:unversioned.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:api.ObjectMeta{Name:"test-034xr.144115b84e3de940", GenerateName:"", Namespace:"e2e-tests-nodestress-8e5yg", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:unversioned.Time{Time:time.Time{sec:0, nsec:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*unversioned.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil)}, InvolvedObject:api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-nodestress-8e5yg", Name:"test-034xr", UID:"f03e60df-f77c-11e5-bed9-080027242396", APIVersion:"v1", ResourceVersion:"19138", FieldPath:"spec.containers{test}"}, Reason:"Pulling", Message:"pulling image \"openshift/hello-openshift\"", Source:api.EventSource{Component:"kubelet", Host:"kubernetes-node-1"}, FirstTimestamp:unversioned.Time{Time:time.Time{sec:63595068435, nsec:575597376, loc:(*time.Location)(0x2e77fe0)}}, LastTimestamp:unversioned.Time{Time:time.Time{sec:63595068435, nsec:575597376, loc:(*time.Location)(0x2e77fe0)}}, Count:1, Type:"Normal"}': 'events "test-034xr.144115b84e3de940" is forbidden: Unable to create new content in namespace e2e-tests-nodestress-8e5yg because it is being terminated.' (will not retry!)
    E0401 00:47:50.605020    3952 event.go:198] Server rejected event '&api.Event{TypeMeta:unversioned.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:api.ObjectMeta{Name:"test-034xr.144115c075d4b533", GenerateName:"", Namespace:"e2e-tests-nodestress-8e5yg", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:unversioned.Time{Time:time.Time{sec:0, nsec:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*unversioned.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil)}, InvolvedObject:api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-nodestress-8e5yg", Name:"test-034xr", UID:"f03e60df-f77c-11e5-bed9-080027242396", APIVersion:"v1", ResourceVersion:"19138", FieldPath:"spec.containers{test}"}, Reason:"Failed", Message:"Failed to pull image \"openshift/hello-openshift\": Error while pulling image: Get https://index.docker.io/v1/repositories/openshift/hello-openshift/images: dial tcp: lookup index.docker.io: no such host", Source:api.EventSource{Component:"kubelet", Host:"kubernetes-node-1"}, FirstTimestamp:unversioned.Time{Time:time.Time{sec:63595068470, nsec:599529779, loc:(*time.Location)(0x2e77fe0)}}, LastTimestamp:unversioned.Time{Time:time.Time{sec:63595068470, nsec:599529779, loc:(*time.Location)(0x2e77fe0)}}, Count:1, Type:"Warning"}': 'events "test-034xr.144115c075d4b533" is forbidden: Unable to create new content in namespace e2e-tests-nodestress-8e5yg because it is being terminated.' (will not retry!)
    E0401 00:47:50.612585    3952 event.go:198] Server rejected event '&api.Event{TypeMeta:unversioned.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:api.ObjectMeta{Name:"test-034xr.144115c075d63dae", GenerateName:"", Namespace:"e2e-tests-nodestress-8e5yg", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:unversioned.Time{Time:time.Time{sec:0, nsec:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*unversioned.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil)}, InvolvedObject:api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-nodestress-8e5yg", Name:"test-034xr", UID:"f03e60df-f77c-11e5-bed9-080027242396", APIVersion:"v1", ResourceVersion:"19138", FieldPath:""}, Reason:"FailedSync", Message:"Error syncing pod, skipping: failed to \"StartContainer\" for \"test\" with ErrImagePull: \"Error while pulling image: Get https://index.docker.io/v1/repositories/openshift/hello-openshift/images: dial tcp: lookup index.docker.io: no such host\"\n", Source:api.EventSource{Component:"kubelet", Host:"kubernetes-node-1"}, FirstTimestamp:unversioned.Time{Time:time.Time{sec:63595068470, nsec:599630254, loc:(*time.Location)(0x2e77fe0)}}, LastTimestamp:unversioned.Time{Time:time.Time{sec:63595068470, nsec:599630254, loc:(*time.Location)(0x2e77fe0)}}, Count:1, Type:"Warning"}': 'events "test-034xr.144115c075d63dae" is forbidden: Unable to create new content in namespace e2e-tests-nodestress-8e5yg because it is being terminated.' (will not retry!)
    I0401 00:47:51.599122    3952 manager.go:1368] Killing container "4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f e2e-tests-nodestress-8e5yg/test-034xr" with 30 second grace period
    I0401 00:47:51.621944    3952 kubelet.go:2401] SyncLoop (UPDATE, "api"): "test-034xr_e2e-tests-nodestress-8e5yg(f03e60df-f77c-11e5-bed9-080027242396)"
    I0401 00:47:51.635796    3952 kubelet.go:2404] SyncLoop (REMOVE, "api"): "test-034xr_e2e-tests-nodestress-8e5yg(f03e60df-f77c-11e5-bed9-080027242396)"
    I0401 00:47:51.640217    3952 kubelet.go:2235] Killing unwanted pod "test-034xr"
    I0401 00:47:51.642503    3952 manager.go:1368] Killing container "4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f e2e-tests-nodestress-8e5yg/test-034xr" with 0 second grace period
    I0401 00:47:51.647741    3952 manager.go:1402] Container "4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f e2e-tests-nodestress-8e5yg/test-034xr" termination failed after 5.203603ms: API error (500): Cannot stop container 4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f: active container for 4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f does not exist
    E0401 00:47:51.647903    3952 kubelet.go:2238] Failed killing the pod "test-034xr": failed to "KillContainer" for "POD" with KillContainerError: "API error (500): Cannot stop container 4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f: active container for 4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f does not exist\n\n"
    I0401 00:47:51.827940    3952 manager.go:1400] Container "4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f e2e-tests-nodestress-8e5yg/test-034xr" exited after 228.768953ms
    W0401 00:47:51.827996    3952 manager.go:1406] No ref for pod '"4749d3890056803ec6d599cd82391d459d8d47246bead00764cb590f2ea2991f e2e-tests-nodestress-8e5yg/test-034xr"'
    I0401 00:47:53.015221    3952 kubelet.go:2235] Killing unwanted pod "test-034xr"
    

    Other pods on this node still remain wedged though.

  16. derekwaynecarr commented on Apr 1, 2016

    @derekwaynecarr
    Member

    So if a kubelet finds itself with a pod in this status:

    https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet.go#L3382

    This state is basically the kubelet saying i don't know what state i am in exactly, so I think I need to look at this more tomorrow to see if we can get a more targeted test scenario that reproduces that state which results in a stuck pod when docker is not able to speak to the hub.

  17. derekwaynecarr commented on Apr 1, 2016

    @derekwaynecarr
    Member

    I see no good reason for us to treat RegistryUnavailable differently than any other error since in some cases the registry will never become available. I have now decided this is the most likely source of the wedge, and we should report that as a normal image pull error so the container can properly terminate.

    Tomorrow, I will try to mock out an environment where we can simulate a pet image name whose pull always returns RegistryUnavailable to see if that can reproduce the scenario where the pod is not terminating as expected.

  18. derekwaynecarr commented on Apr 1, 2016

    @derekwaynecarr
    Member

    Great... so restarting docker unwedged the kubelet, and pods terminated as expected. Restarting docker again where it still no longer had network connectivity to the registry did not result in pods getting wedged when I created a handful on the node and then deleted the namespace. Creating 100 pods on the node where docker did not have connectivity to the registry did re-wedge the node and waiting 10 minutes before terminating the namespace did end up leaving 1 pod in a terminating state for what is now 18 minutes but I was an idiot and forgot to bump up the log level. So it looks like this is an issue if you have a kubelet at density that cannot contact the image registry and not just a kubelet running a few pods.

  19. derekwaynecarr commented on Apr 1, 2016

    @derekwaynecarr
    Member

    I can now reliably reproduce this error.

    Modified the kubelet to return RegistryUnavailable when pulling openshift/hello-openshift, launched a rc with 3 replicas, waited a minute or two for pods to appear hung in ContainerCreating state, delete the namespace, and voila! the pods never get deleted!

  20. derekwaynecarr commented on Apr 1, 2016

    @derekwaynecarr
    Member
  21. metal3d commented on Oct 16, 2016

    @metal3d

    and... any way to delete that pods ? I've got so much pod in that state...

  22. ncdc commented on Oct 17, 2016

    @ncdc
    Contributor

    @metal3d oc delete pod/<name of pod> --grace-period=0 will force deletion.

  23. metal3d commented on Oct 17, 2016

    @metal3d

    A Big thanks ! @ncdc

  24. anandbhaskaran commented on Mar 27, 2018

    @anandbhaskaran

    I have 3 pods in Terminating status. Even the command from @ncdc hangs forever :(

  25. anandbhaskaran commented on Mar 27, 2018

    @anandbhaskaran

    Here is the detailed info:

    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x1952993]
    
    goroutine 1 [running]:
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl.ReaperFor(0x0, 0x0, 0x3c2d039, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc421abe090)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/delete.go:82 +0x1373
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/util.(*ring1Factory).Reaper(0xc420c43590, 0xc4209caa10, 0x0, 0x0, 0xc421a9c001, 0x1)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/util/factory_object_mapping.go:302 +0x151
    github.com/openshift/origin/pkg/oc/cli/util/clientcmd.(*ring1Factory).Reaper(0xc42039d420, 0xc4209caa10, 0x0, 0xc42164d608, 0x4f204a, 0xc420082000)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/oc/cli/util/clientcmd/factory_object_mapping.go:287 +0x93d
    github.com/openshift/origin/pkg/oc/cli/util/clientcmd.(*Factory).Reaper(0xc420c435c0, 0xc4209caa10, 0x0, 0x0, 0x0, 0x0)
    	<autogenerated>:1 +0x47
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd.ReapResult.func1(0xc4209cac40, 0x0, 0x0, 0x79c17e0, 0x4c47a6a)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/delete.go:250 +0xe9
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.ContinueOnErrorVisitor.Visit.func1(0xc4209cac40, 0x0, 0x0, 0x0, 0x0)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:396 +0x164
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.DecoratedVisitor.Visit.func1(0xc4209cac40, 0x0, 0x0, 0x7, 0x1)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:372 +0xe7
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.FlattenListVisitor.Visit.func1(0xc4209cac40, 0x0, 0x0, 0xc421abba20, 0x7f10363e6228)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:433 +0x4fe
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.EagerVisitorList.Visit.func1(0xc4209cac40, 0x0, 0x0, 0x1, 0xc421abba20)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:255 +0x164
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.(*Info).Visit(0xc4209cac40, 0xc421abba20, 0x28, 0x464dba0)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:105 +0x42
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.EagerVisitorList.Visit(0xc421a9c1a0, 0x1, 0x1, 0xc421abe2a0, 0x1, 0xc421abe2a0)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:250 +0xea
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.(*EagerVisitorList).Visit(0xc421abb960, 0xc421abe2a0, 0x7f103654ad90, 0x0)
    	<autogenerated>:1 +0x58
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.FlattenListVisitor.Visit(0x79f65a0, 0xc421abb960, 0xc420cf0980, 0xc4213cc4c0, 0x60000000001, 0xc4213cc4c0)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:428 +0x9e
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.(*FlattenListVisitor).Visit(0xc421abb980, 0xc4213cc4c0, 0x28, 0xc420034700)
    	<autogenerated>:1 +0x58
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.DecoratedVisitor.Visit(0x79f6620, 0xc421abb980, 0xc421a9c1b0, 0x2, 0x2, 0xc421abb9e0, 0xc421a9c101, 0xc421abb9e0)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:363 +0x9b
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.(*DecoratedVisitor).Visit(0xc421abe270, 0xc421abb9e0, 0xc421a9c1c0, 0xc42164dbc8)
    	<autogenerated>:1 +0x62
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.ContinueOnErrorVisitor.Visit(0x79f6520, 0xc421abe270, 0xc4209cacb0, 0x0, 0x2)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/visitor.go:391 +0xe4
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.(*ContinueOnErrorVisitor).Visit(0xc421a9c1c0, 0xc4209cacb0, 0x415e18, 0x70)
    	<autogenerated>:1 +0x4f
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource.(*Result).Visit(0xc420463e80, 0xc4209cacb0, 0xc420cf6050, 0x7a36460)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/resource/result.go:98 +0x62
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd.ReapResult(0xc420463e80, 0x7a4a1e0, 0xc420c435c0, 0x79efaa0, 0xc42000e018, 0xc420250001, 0x0, 0x1, 0xc421300001, 0x7a36460, ...)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/delete.go:245 +0x16c
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd.(*DeleteOptions).RunDelete(0xc42126ae70, 0xc420473200, 0x0)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/delete.go:235 +0xd2
    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd.NewCmdDelete.func1(0xc420473200, 0xc42025ee00, 0x1, 0x2)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/delete.go:142 +0x178
    github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).execute(0xc420473200, 0xc42025ecc0, 0x2, 0x2, 0xc420473200, 0xc42025ecc0)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:603 +0x234
    github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc4203d4d80, 0x202c551, 0xc4203d4d80, 0xc420238270)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:689 +0x2fe
    github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).Execute(0xc4203d4d80, 0x2, 0xc4203d4d80)
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:648 +0x2b
    main.main()
    	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/oc/oc.go:41 +0x293
    
    
  26. patlachance commented on Apr 25, 2018

    @patlachance

    @anandbaskaran if command provided by @ncdc still hangs, you can try forcing it with --force. It gives:
    oc delete pod/ --grace-period=0 --force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions