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

Error with operator leader lease message on startup #172

@jpds

Description

@jpds

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions