Console Service don't match: Service type doesn't match. Conciliating - cniackz/public GitHub Wiki

Objective:

Document how to reproduce this issue.

What is the issue:

Logs are repetitive and having the same logs many times is not useful. Please post this information only once even if it has to be repeated or only perform this action once if necessary:

I0123 20:41:27.923578       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:41:27.925515       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:41:47.946534       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:41:47.949680       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:41:52.972565       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:41:52.974367       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:41:57.995769       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:41:57.997610       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:03.018071       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:03.020154       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:08.046178       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:08.048551       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:13.078889       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:13.081825       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:18.111604       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:18.115453       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:23.155259       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:23.159111       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:28.193181       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:28.195669       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:33.236969       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:33.240531       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated

How to reproduce the issue:

  1. Create a cluster, if you use kind then expose the ports as you will use one of those ports:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  apiServerAddress: "127.0.0.1"
  apiServerPort: 6443
nodes:
  - role: control-plane
    extraPortMappings:
    - containerPort: 30080
      hostPort: 30080
      listenAddress: "127.0.0.1"
      protocol: TCP
  - role: worker
    extraPortMappings:
    - containerPort: 30081
      hostPort: 30081
      listenAddress: "127.0.0.1"
      protocol: TCP
  - role: worker
    extraPortMappings:
    - containerPort: 30082
      hostPort: 30082
      listenAddress: "127.0.0.1"
      protocol: TCP
  - role: worker
    extraPortMappings:
    - containerPort: 30083
      hostPort: 30083
      listenAddress: "127.0.0.1"
      protocol: TCP
  - role: worker
    extraPortMappings:
    - containerPort: 30084
      hostPort: 30084
      listenAddress: "127.0.0.1"
      protocol: TCP
  1. Install Operator
kubectl apply -k github.com/minio/operator/
  1. Install tenant:
kubectl apply -k ~/operator/examples/kustomization/tenant-lite
  1. Edit the service: storage-lite-console
spec:
  ports:
    - name: https-console
      protocol: TCP
      port: 9443
      targetPort: 9443
      nodePort: 30081 <------------------ Use this as nodePort
  selector:
    v1.min.io/tenant: storage-lite
  clusterIP: 10.96.5.80
  clusterIPs:
    - 10.96.5.80
  type: NodePort <------------------------ Use type as NodePort
  sessionAffinity: None
  externalTrafficPolicy: Cluster
  ipFamilies:
    - IPv4
  ipFamilyPolicy: SingleStack
  internalTrafficPolicy: Cluster
  1. Then you can access it via web page: https://localhost:30081/browser
  1. Now look at the operator log, is inundated of the same repetitive logs:
I0123 20:41:27.923578       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:41:27.925515       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:41:47.946534       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:41:47.949680       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:41:52.972565       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:41:52.974367       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:41:57.995769       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:41:57.997610       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:03.018071       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:03.020154       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:08.046178       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:08.048551       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:13.078889       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:13.081825       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:18.111604       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:18.115453       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:23.155259       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:23.159111       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:28.193181       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:28.195669       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
I0123 20:42:33.236969       1 console.go:75] Console Service don't match: Service type doesn't match. Conciliating
I0123 20:42:33.240531       1 event.go:285] Event(v1.ObjectReference{Kind:"Tenant", Namespace:"tenant-lite", Name:"storage-lite", UID:"196701e8-8be6-48ec-b745-1272a69e3647", APIVersion:"minio.min.io/v2", ResourceVersion:"2894", FieldPath:""}): type: 'Normal' reason: 'Updated' Console Service Updated
  1. Even when this is a harmless issue and we can still access the web page with no issue, it is not efficient and log is hard to read and cofusing to some users. Please fix it!