0

I installed microk8s on rocky linux version 9.5. To do that I did the following.

# installing snapd sudo dnf install epel-release -y sudo dnf install snapd -y sudo systemctl enable --now snapd.socket sudo ln -s /var/lib/snapd/snap /snap snap install microk8s --classic --channel=1.32/stable 

And when I run below to get the status of my deployment,

microk8s inspect 

I get below

Inspecting system Inspecting Certificates Inspecting services Service snap.microk8s.daemon-cluster-agent is running Service snap.microk8s.daemon-containerd is running Service snap.microk8s.daemon-kubelite is running Service snap.microk8s.daemon-k8s-dqlite is running Service snap.microk8s.daemon-apiserver-kicker is running Copy service arguments to the final report tarball Inspecting AppArmor configuration Gathering system information Copy processes list to the final report tarball Copy disk usage information to the final report tarball Copy memory usage information to the final report tarball Copy server uptime to the final report tarball Copy openSSL information to the final report tarball Copy snap list to the final report tarball Copy VM name (or none) to the final report tarball Copy current linux distribution to the final report tarball Copy asnycio usage and limits to the final report tarball Copy inotify max_user_instances and max_user_watches to the final report tarball Copy network configuration to the final report tarball Inspecting kubernetes cluster Inspect kubernetes cluster Inspecting dqlite Inspect dqlite cp: cannot stat '/var/snap/microk8s/8148/var/kubernetes/backend/localnode.yaml': No such file or directory Building the report tarball Report tarball is at /var/snap/microk8s/8148/inspection-report-20250519_194506.tar.gz 

What is the problem? Is it the OS? I need the OS to be Rocky Linux.

1 Answer 1

0

The issue is the following:

localnode.yaml is a file that was used in an older version of dqlite (the data store microk8s uses instead of etcd). It's completely safe to ignore this error. We simply forgot to remove the cp of this file from the inspection script.

Taken from canonical issue tracker.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.