Repository navigation
Closed
Description
Split out from #199 (comment):
It took quite a while for the MCC to create the MachineConfigs:
$ kubectl get machineconfigs
No resources found.
A few minutes later:
$ kubectl get machineconfigs
NAME AGE
00-master 1m
00-worker 1m
I'm sure 7f7366afead827ab5aa47ce67d5903c9 will show up if I wait a bit longer.
The MCC logs show the following:
I1129 23:24:23.120333 1 start.go:44] Version: 3.11.0-278-g628ad5d1-dirty
I1129 23:24:23.319527 1 leaderelection.go:185] attempting to acquire leader lease openshift-machine-config-operator/machine-config-controller...
E1129 23:26:19.915022 1 event.go:259] Could not construct reference to: '&v1.ConfigMap{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"machine-config-controller", GenerateName:"", Namespace:"openshift-machine-config-operator", SelfLink:"/api/v1/namespaces/openshift-machine-config-operator/configmaps/machine-config-controller", UID:"913656b5-f42d-11e8-9834-12202f72768c", ResourceVersion:"7816", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63679130518, loc:(*time.Location)(0x1c60aa0)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"control-plane.alpha.kubernetes.io/leader":"{\"holderIdentity\":\"machine-config-controller-5f644d794f-l55l5_e7aa2bc2-f42d-11e8-a035-0a580a800025\",\"leaseDurationSeconds\":90,\"acquireTime\":\"2018-11-29T23:26:19Z\",\"renewTime\":\"2018-11-29T23:26:19Z\",\"leaderTransitions\":1}"}, OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Data:map[string]string(nil), BinaryData:map[string][]uint8(nil)}'
due to: 'no kind is registered for the type v1.ConfigMap'. Will not report event: 'Normal' 'LeaderElection' 'machine-config-controller-5f644d794f-l55l5_e7aa2bc2-f42d-11e8-a035-0a580a800025 became leader'
I1129 23:26:19.922331 1 leaderelection.go:194] successfully acquired lease openshift-machine-config-operator/machine-config-controller
I1129 23:26:20.128953 1 template_controller.go:111] Starting MachineConfigController-TemplateController
I1129 23:26:20.221709 1 render_controller.go:103] Starting MachineConfigController-RenderController
I1129 23:26:20.323361 1 node_controller.go:117] Starting MachineConfigController-NodeController
I1129 23:26:21.319588 1 render.go:91] ignoring non-directory path ".gitkeep"
E1129 23:29:05.801651 1 node_controller.go:345] Empty CurrentMachineConfig
E1129 23:29:05.804675 1 node_controller.go:345] Empty CurrentMachineConfig
Metadata
Metadata
Assignees
Labels
No labels
Activity
ashcrow commentedon Nov 30, 2018
/cc @abhinavdahiya @crawford
Is it expected to take a few minutes to render machineconfigs? If so, do we need to take that into consideration and increase the wait time for retrieving them in the MCD?
ashcrow commentedon Nov 30, 2018
This is an issue, though I don't think this is the issue that's causing the bulk of problems in #199.
ashcrow commentedon Dec 4, 2018
MCD developers are still hitting timeout issues after upping the wait time to 5 minutes + retries. As part of @kikisdeliveryservice trying to get her SSH key work merged is going to try upping the timeout and retry to a bit above 20 minutes to see if that unblocks installation when MCC doesn't have content available.
sjenning commentedon Dec 4, 2018
I encountered this as well. 8m delay from user
MachineConfigcreation to MCC rendering the compositeMachineConfig.cgwalters commentedon Dec 5, 2018
I had all sorts of problems (including this one) but after starting to use openshift/installer#785 everything got a lot more reliable and faster. I had problems like
occommands timing out (which I think were the apiserver beingOOMKilledor similar).The cluster I just installed has the machineconfigs created just fine, and neither my master nor worker are degraded.
When we're having these discussions, let's all be clear about which platform we're installing on. I think everyone here is hacking using libvirt. If you are, please try out my PR!
ashcrow commentedon Dec 5, 2018
Thanks for the info @cgwalters!
jlebon commentedon Dec 21, 2018
Closing this one. Haven't seen it or heard anyone hit it since the 4G bump. (Please comment/reopen if that's not the case!)
kikisdeliveryservice commentedon Dec 21, 2018
FWIW, I haven't run into this since I switched over to AWS. :)