OpenShift master-controllers crash with "fatal error: concurrent map writes"

Solution Unverified - Updated -

Issue

  • After upgrading from OpenShift 3.5 to 3.6, the OpenShift Master Controllers panic and crash repeatedly with the following error during StatefulSets processing:
atomic-openshift-master-controllers[29121]: fatal error: concurrent map writes
atomic-openshift-master-controllers[29121]: goroutine 29472 [running]:
atomic-openshift-master-controllers[29121]: runtime.throw(0x511810e, 0x15)
atomic-openshift-master-controllers[29121]: /usr/lib/golang/src/runtime/panic.go:566 +0x95 fp=0xc424387048 sp=0xc424387028
atomic-openshift-master-controllers[29121]: runtime.mapassign1(0x4850280, 0xc42205a1b0, 0xc424387228, 0xc424387218)
atomic-openshift-master-controllers[29121]: /usr/lib/golang/src/runtime/hashmap.go:458 +0x8ef fp=0xc424387130 sp=0xc424387048
atomic-openshift-master-controllers[29121]: github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/api/v1.Convert_v1_Pod_To_api_Pod(0xc4235b9e40, 0xc4211c4600, 0x0, 0x0, 0x6400000, 0x0)
atomic-openshift-master-controllers[29121]: /builddir/build/BUILD/atomic-openshift-git-0.0b9377a/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/api/v1/conversion.go:617 +0x679 fp=0xc4243872c8 sp=0xc424387130

Environment

  • OpenShift Container Platform 3.6, 3.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content