Bug 1965972
| Summary: | kube-scheduler, fatal error: concurrent map writes | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Frederic Giloux <fgiloux> | ||||||||||
| Component: | kube-scheduler | Assignee: | Maciej Szulik <maszulik> | ||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | RamaKasturi <knarra> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | high | ||||||||||||
| Version: | 4.6 | CC: | aos-bugs, jnordell, maszulik, mfojtik, prubenda, sdodson, snetting | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | 4.6.z | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2022-01-17 14:57:24 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: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Frederic Giloux
2021-05-31 09:47:04 UTC
Created attachment 1788195 [details]
stack trace node 169
Created attachment 1788196 [details]
stack trace node 170
Created attachment 1788197 [details]
stack trace node 170
For what it's worth: on OCP 4.6.27 kube-scheduler version is 1.19.4. It does not say about potential patches that may have been cherry picked. I'm currently looking into possible bumps of k8s dependencies for both ocp 4.7 and 4.6, but it will take a few more days to sort this out. Thanks @maszulik. It is already good information to know that you are looking at it. I will wait for an update from you in a few more days Mike, I'm sending this one your way, this will be for delivering the 4.6/1,19 k8s bump. I am still working on the 4.6/1.19 k8s bump to address this, but got occupied with other high priority bugs, apologies for the delay @Steve, sorry, the 4.6 rebase we were thinking would fix this did merge (https://github.com/openshift/kubernetes/pull/962) but it wasn't linked to this BZ, so it looks like this never got moved to QA. Setting to Modified so that QE can pick it up and verify that the rebase fixed the issue Hello Frederic, Could you please let us know the steps for reproducing the issue ? Thanks kasturi Hi Kasturi, this is a pretty old bugzilla. I don't remember more than what is in the description: "It occurred during a stress test, which involved spawning thousands of namespaces, volumes and pods in batches so that the control plane does not get overloaded. It happens at a time where the dynamic creation of volumes seems not to cope well with the demand: I0527 16:40:54.352168 1 factory.go:445] "Unable to schedule pod; no fit; waiting" pod="xxxxxxxxxx/test-kbqqz" err="0/110 nodes are available: 110 pod has unbound immediate PersistentVolumeClaims." @snetting, who is now the contact person for the customer may be able to get additional information if they still face the issue. Regards, Frédéric I reran this test on a 4.6.49 cluster with 110 nodes and was able to create 1200 projects each with 10 pods and 10 pvc's with no issues. Not sure how many namespaces or pods were created during the test where the issue first occurred. Going to rerun on 3 nodes and try to get the number of pods per node up Again, reran on a 4.6.49 cluster with only 3 nodes. I did not see any concurrent mapping issues or other kube-scheduler errors in the logs even when pods were not able to get scheduled when there was no more space on the node. Got issue but this was expected with size of noded: "AttachVolume.Attach failed for volume "pvc-81afea20-501f-4fef-ae13-4d6046d77788" : too many EBS volumes attached to node ip-10-0-173-82.us-east-2.compute.internal" Everything looks good to me here; functionality seems to be working as expected Since we're attributing this to the fixes from Bug 2008266 which included the Kube 1.19.14 bump lets go ahead and mark this as a dupe of that bug. If we allow this to go through the normal flow it would show in the next errata and someone may presume they need to update to that version rather than 4.6.48 where the bump was delivered. *** This bug has been marked as a duplicate of bug 2008266 *** |