Hi, I have a working microk8s but the deployment of mysql-operator installed according to the official documentation(using manifest files) is failing.
My microk8s is installed on 3 lxd containers based on ubuntu 22.04 images. The host is a laptop running on ubuntu 22.04.
Below is output of events:
> root@microk8s-10 ~# microk8s kubectl get events --namespace mysql-operator
> LAST SEEN TYPE REASON OBJECT MESSAGE
> 4m52s Normal ScalingReplicaSet deployment/mysql-operator Scaled up replica set mysql-operator-9897675fc to 1
> 4m52s Normal SuccessfulCreate replicaset/mysql-operator-9897675fc Created pod: mysql-operator-9897675fc-sgjp4
> 4m51s Normal Scheduled pod/mysql-operator-9897675fc-sgjp4 Successfully assigned mysql-operator/mysql-operator-9897675fc-sgjp4 to microk8s-11
> 3m26s Warning Failed pod/mysql-operator-9897675fc-sgjp4 Failed to pull image "mysql/mysql-operator:8.0.32-2.0.8": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/mysql/mysql-operator:8.0.32-2.0.8": failed to prepare extraction snapshot "extract-526889209-fqev sha256:1268f711a90d8888fb2e852828374b03e1403a55c50289d136bfcaab7a4dfe79": copying of parent failed: unsupported mode prw-------: %!w(<nil>)
> 91s Warning Failed pod/mysql-operator-9897675fc-sgjp4 Failed to pull image "mysql/mysql-operator:8.0.32-2.0.8": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/mysql/mysql-operator:8.0.32-2.0.8": failed to prepare extraction snapshot "extract-839791297-wgp- sha256:1268f711a90d8888fb2e852828374b03e1403a55c50289d136bfcaab7a4dfe79": copying of parent failed: unsupported mode prw-------: %!w(<nil>)
> 91s Warning Failed pod/mysql-operator-9897675fc-sgjp4 Error: ErrImagePull
> 76s Normal BackOff pod/mysql-operator-9897675fc-sgjp4 Back-off pulling image "mysql/mysql-operator:8.0.32-2.0.8"
> 76s Warning Failed pod/mysql-operator-9897675fc-sgjp4 Error: ImagePullBackOff
> 65s Normal Pulling pod/mysql-operator-9897675fc-sgjp4 Pulling image "mysql/mysql-operator:8.0.32-2.0.8"
And below is the output of microk8s.status:
root@microk8s-10 ~# microk8s.status
microk8s is running
high-availability: yes
datastore master nodes: 192.168.2.10:19001 192.168.2.11:19001 192.168.2.12:19001
datastore standby nodes: none
addons:
enabled:
community # (core) The community addons repository
dns # (core) CoreDNS
ha-cluster # (core) Configure high availability on the current node
helm # (core) Helm - the package manager for Kubernetes
helm3 # (core) Helm 3 - the package manager for Kubernetes
hostpath-storage # (core) Storage class; allocates storage from host directory
ingress # (core) Ingress controller for external access
storage # (core) Alias to hostpath-storage add-on, deprecated
disabled:
argocd # (community) Argo CD is a declarative continuous deployment for Kubernetes.
cilium # (community) SDN, fast with full network policy
dashboard-ingress # (community) Ingress definition for Kubernetes dashboard
fluentd # (community) Elasticsearch-Fluentd-Kibana logging and monitoring
gopaddle-lite # (community) Cheapest, fastest and simplest way to modernize your applications
inaccel # (community) Simplifying FPGA management in Kubernetes
istio # (community) Core Istio service mesh services
jaeger # (community) Kubernetes Jaeger operator with its simple config
kata # (community) Kata Containers is a secure runtime with lightweight VMS
keda # (community) Kubernetes-based Event Driven Autoscaling
knative # (community) Knative Serverless and Event Driven Applications
kwasm # (community) WebAssembly support for WasmEdge (Docker Wasm) and Spin (Azure AKS WASI)
linkerd # (community) Linkerd is a service mesh for Kubernetes and other frameworks
multus # (community) Multus CNI enables attaching multiple network interfaces to pods
nfs # (community) NFS Server Provisioner
ondat # (community) Ondat is a software-defined, cloud native storage platform for Kubernetes.
openebs # (community) OpenEBS is the open-source storage solution for Kubernetes
openfaas # (community) OpenFaaS serverless framework
osm-edge # (community) osm-edge is a lightweight SMI compatible service mesh for the edge-computing.
portainer # (community) Portainer UI for your Kubernetes cluster
sosivio # (community) Kubernetes Predictive Troubleshooting, Observability, and Resource Optimization
traefik # (community) traefik Ingress controller
trivy # (community) Kubernetes-native security scanner
cert-manager # (core) Cloud native certificate management
dashboard # (core) The Kubernetes dashboard
gpu # (core) Automatic enablement of Nvidia CUDA
host-access # (core) Allow Pods connecting to Host services smoothly
kube-ovn # (core) An advanced network fabric for Kubernetes
mayastor # (core) OpenEBS MayaStor
metallb # (core) Loadbalancer for your Kubernetes cluster
metrics-server # (core) K8s Metrics Server for API access to service metrics
minio # (core) MinIO object storage
observability # (core) A lightweight observability stack for logs, traces and metrics
prometheus # (core) Prometheus operator for monitoring and logging
rbac # (core) Role-Based Access Control for authorisation
registry # (core) Private image registry exposed on localhost:32000
I tried docker pull on the image:mysql/mysql-operator:8.0.32-2.0.8. It completed successfully.
I had earlier tried to delete and reinstall the deployment but the output is still the same. I had even tried recreating the containers but no change.
What could be the cause of issue and how can this be resolved?