Bug 2005108
| Summary: | removing and recreating static pod manifest leaves pod in error state | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
| Component: | Node | Assignee: | Ryan Phillips <rphillips> |
| Node sub component: | Kubelet | QA Contact: | Sunil Choudhary <schoudha> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | unspecified | CC: | aos-bugs, miabbott, nagrawal, wking |
| Version: | 4.9 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:51:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1999133 | ||
| Bug Blocks: | 1981999 | ||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 |
Verified on 4.9.0-0.nightly-2021-09-20-203004 Created a static pod yaml in /etc/kubernetes/manifests on the node, deleted and recreated the pod. sh-4.4# pwd /etc/kubernetes/manifests sh-4.4# cat mypod.yaml kind: Pod apiVersion: v1 metadata: name: mypod spec: terminationGracePeriodSeconds: 1 containers: - name: busybox image: busybox command: ["sh", "-c", "echo $RANDOM; sleep 100000"] $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.9.0-0.nightly-2021-09-20-203004 True False 175m Cluster version is 4.9.0-0.nightly-2021-09-20-203004 $ oc get pods -o wide -n default NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES ip-10-0-158-20ap-south-1computeinternal-debug 1/1 Running 0 4m13s 10.0.158.20 ip-10-0-158-20.ap-south-1.compute.internal <none> <none> mypod-ip-10-0-158-20.ap-south-1.compute.internal 1/1 Running 0 35s 10.129.2.59 ip-10-0-158-20.ap-south-1.compute.internal <none> <none> $ oc get pods -o wide -n default NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES ip-10-0-158-20ap-south-1computeinternal-debug 1/1 Running 0 5m53s 10.0.158.20 ip-10-0-158-20.ap-south-1.compute.internal <none> <none> $ oc get pods -o wide -n default NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES ip-10-0-158-20ap-south-1computeinternal-debug 1/1 Running 0 6m37s 10.0.158.20 ip-10-0-158-20.ap-south-1.compute.internal <none> <none> mypod-ip-10-0-158-20.ap-south-1.compute.internal 1/1 Running 1 (57s ago) 33s 10.129.2.60 ip-10-0-158-20.ap-south-1.compute.internal <none> <none>