Bug 1827022
| Summary: | Failed to destroy network for pod when using crictl stop | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Praveen Kumar <prkumar> |
| Component: | Networking | Assignee: | Juan Luis de Sousa-Valadas <jdesousa> |
| Networking sub component: | openshift-sdn | QA Contact: | zhaozhanqi <zzhao> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | aos-bugs, cfergeau, jdesousa, jokerman, pehunt |
| Version: | 4.4 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-24 11:03:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Praveen Kumar
2020-04-23 04:52:07 UTC
On 4.4.0-rc.9 where it all worked without any issue have following packages. ``` $ rpm -qa | grep cri subscription-manager-rhsm-certificates-1.25.17-1.el8.x86_64 criu-3.12-9.el8.x86_64 initscripts-10.00.4-1.el8.x86_64 cri-o-1.17.3-1.rhaos4.4.el8.x86_64 cri-tools-1.17.0-2.el8.x86_64 ``` This error comes from openshift-sdn pod being stopped before the final container. If you want to do this, you'll need to order the shutdown of the pods (all but sdn first, then sdn). I do not know why it worked with rc9, but it may have been luck (the order crictl shut them down happened to work). Moving over to Networking to see if they have insight, but I'm inclined to think this is not a bug This isn't a case we can solve. By design the SDN pod to be running for CNI to work. Like Peter said, you can't delete the SDN pod before deleting the pods that are on the SDN. Pods with hostNetwork: true can be deleted without the SDN running. |