Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Error with operator leader lease message on startup #172

Open
jpds opened this issue Feb 5, 2018 · 0 comments
Open

Error with operator leader lease message on startup #172

jpds opened this issue Feb 5, 2018 · 0 comments

Comments

@jpds
Copy link

jpds commented Feb 5, 2018

This error comes up when update-operator starts:

I0205 11:43:43.274698       1 main.go:78] /bin/update-operator running
I0205 11:43:43.274827       1 leaderelection.go:174] attempting to acquire leader lease...
E0205 11:45:38.947857       1 event.go:260] Could not construct reference to: '&v1.ConfigMap{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"container-linux-update-operator-lock", GenerateName:"", Namespace:"reboot-coordinator", SelfLink:"/api/v1/namespaces/reboot-coordinator/configmaps/container-linux-update-operator-lock", UID:"a726971d-0a69-11e8-a6c9-c81f66c9ecc4", ResourceVersion:"6659904", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{sec:63653427752, nsec:0, loc:(*time.Location)(0x1ce72c0)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"control-plane.alpha.kubernetes.io/leader":"{\"holderIdentity\":\"container-linux-update-operator-85fdbbfb86-745qs\",\"leaseDurationSeconds\":90,\"acquireTime\":\"2018-02-05T11:45:38Z\",\"renewTime\":\"2018-02-05T11:45:38Z\",\"leaderTransitions\":1}"}, OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Data:map[string]string(nil)}' due to: 'no kind is registered for the type v1.ConfigMap'. Will not report event: 'Normal' 'LeaderElection' 'container-linux-update-operator-85fdbbfb86-745qs became leader'
I0205 11:45:38.947986       1 leaderelection.go:184] successfully acquired lease reboot-coordinator/container-linux-update-operator-lock
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant