Bug 1661170 - sdn/ovs pods should always be the first to start before app pods during an incident
Summary: sdn/ovs pods should always be the first to start before app pods during an i...
Keywords:
Status: CLOSED DUPLICATE of bug 1654044
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.1.0
Assignee: Casey Callendrello
QA Contact: Meng Bo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-20 09:19 UTC by wangzhida
Modified: 2019-03-28 14:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-28 14:59:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description wangzhida 2018-12-20 09:19:29 UTC
When abnormal reboot or crash happened to openshift-node or docker. All of the pods will be recreated after openshift backing online. And after OCP3.10, ovs and sdn had been placed into pod instead of local services.

Do we have any mechanism to let ovs/sdn pods always stared before app pods ? If the app pods started at first, it can not assign network settings due to openvswitch is not running. It will get below error until we recreate it after ovs/sdn pods is running.

Warning  FailedCreatePodSandBox  4m                 kubelet, 311master.example.com        Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" network for pod "xxxxxxxxxxxxxxxxxx": NetworkPlugin cni failed to set up pod xxxxxxxxxxxxxxxxxx" network: OpenShift SDN network process is not (yet?) available
Warning  FailedCreatePodSandBox  4m                 kubelet, 311master.example.com        Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" network for pod "webconsole-6889b6c96b-m82nw": NetworkPlugin cni failed to set up pod "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" network: OpenShift SDN network process is not (yet?) available
Normal   SandboxChanged          4m (x3 over 4m)    kubelet, 311master.example.com        Pod sandbox changed, it will be killed and re-created.
Warning  NetworkFailed           4m                 openshift-sdn, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  The pod's network interface has been lost and the pod will be stopped. 


The customer and I think that this should be avoided in any of situations and environments.

Looking forward to your reply, thank you.

Comment 4 Ben Bennett 2019-03-28 14:59:43 UTC

*** This bug has been marked as a duplicate of bug 1654044 ***


Note You need to log in before you can comment on or make changes to this bug.