Skip to content

dqlite: Bad certificate #1864

Description

@tomoddershede

I am doing a plain installation on 3 brand new 20.04 vms. (k8w1, k8w2, k8w3)

ufw is disabled.

Installation:
sudo snap install microk8s --classic

k8w2$ sudo microk8s join 192.168.xx.15:25000/xxxxxxxxxxxxxxxxxxxxxxxxxxxx
k8w2$ sudo microk8s join 192.168.xx.15:25000/xxxxxxxxxxxxxxxxxxxxxxxxxxxx

k8w1$ microk8s status
microk8s is running
high-availability: yes
datastore master nodes: 192.168.xx.15:19001 192.168.xx.16:19001 192.168.xx.17:19001
datastore standby nodes: none
addons:
enabled:
ha-cluster # Configure high availability on the current node
disabled:
ambassador # Ambassador API Gateway and Ingress
cilium # SDN, fast with full network policy
dashboard # The Kubernetes dashboard
dns # CoreDNS
fluentd # Elasticsearch-Fluentd-Kibana logging and monitoring
gpu # Automatic enablement of Nvidia CUDA
helm # Helm 2 - the package manager for Kubernetes
helm3 # Helm 3 - Kubernetes package manager
host-access # Allow Pods connecting to Host services smoothly
ingress # Ingress controller for external access
istio # Core Istio service mesh services
jaeger # Kubernetes Jaeger operator with its simple config
keda # Kubernetes-based Event Driven Autoscaling
knative # The Knative framework on Kubernetes.
kubeflow # Kubeflow for easy ML deployments
linkerd # Linkerd is a service mesh for Kubernetes and other frameworks
metallb # Loadbalancer for your Kubernetes cluster
metrics-server # K8s Metrics Server for API access to service metrics
multus # Multus CNI enables attaching multiple network interfaces to pods
portainer # Portainer UI for your Kubernetes cluster
prometheus # Prometheus operator for monitoring and logging
rbac # Role-Based Access Control for authorisation
registry # Private image registry exposed on localhost:32000
storage # Storage class; allocates storage from host directory
traefik # traefik Ingress controller for external access

snap info microk8s
...
snap-id: EaXqgt1lyCaxKaQCU349mlodBkDCXRcg
tracking: 1.20/stable
refresh-date: today at 19:28 UTC
...

After the third node is joined the HA-Status is enabled. But I experience that the /var/log/syslog then get full of the following log entries:

Jan 3 19:47:13 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:13.830882 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:15 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:15.221227 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:15 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:15.226065 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:16 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:16.604562 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:16 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:16.618007 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:17 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:17.735550 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:18 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:18.025754 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:18 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:18.035640 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:19 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:19.435944 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:19 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:19.449481 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:20 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:20.834551 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:20 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:20.847067 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate
Jan 3 19:47:21 k8w1 microk8s.daemon-apiserver[41678]: I0103 19:47:21.265046 41678 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate

appreaciate your input

inspection-report-20210103_200737.tar.gz

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