Skip to content

1.34.1 fails to start #5280

@khteh

Description

@khteh

Summary

$ m start
warning: preserving the entire environment is not supported, `-E` is ignored
error: snapctl: cannot invoke snapctl operation commands (here "start") from outside of a snap
Failed to start microk8s services. Check snapd logs with "journalctl -u snapd.service"
$ m version
MicroK8s v1.34.1 revision 8491
$ m inspect
warning: preserving the entire environment is not supported, `-E` is ignored
/snap/microk8s/8491/inspect.sh: line 7: /actions/common/utils.sh: No such file or directory
/snap/microk8s/8491/inspect.sh: line 480: exit_if_not_root: command not found
Inspecting system
Inspecting Certificates
Could not open file or uri for loading certificate from /certs/ca.crt
40F729A46C780000:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:../crypto/store/store_register.c:237:scheme=file
40F729A46C780000:error:80000002:system library:file_open:No such file or directory:../providers/implementations/storemgmt/file_store.c:267:calling stat(/certs/ca.crt)
Unable to load certificate
WARNING:  This deployments certificates will expire in $days days. 
Either redeploy MicroK8s or attempt a refresh with "microk8s refresh-certs"
Inspecting services
/snap/microk8s/8491/inspect.sh: line 503: is_strict: command not found
/snap/microk8s/8491/inspect.sh: line 23: is_strict: command not found
 FAIL:  Service snap.microk8s.daemon-cluster-agent is not running
For more details look at: sudo journalctl -u snap.microk8s.daemon-cluster-agent
/snap/microk8s/8491/inspect.sh: line 23: is_strict: command not found
 FAIL:  Service snap.microk8s.daemon-containerd is not running
For more details look at: sudo journalctl -u snap.microk8s.daemon-containerd
/snap/microk8s/8491/inspect.sh: line 23: is_strict: command not found
 FAIL:  Service snap.microk8s.daemon-kubelite is not running
For more details look at: sudo journalctl -u snap.microk8s.daemon-kubelite
/snap/microk8s/8491/inspect.sh: line 23: is_strict: command not found
 FAIL:  Service snap.microk8s.daemon-flanneld is not running
For more details look at: sudo journalctl -u snap.microk8s.daemon-flanneld
/snap/microk8s/8491/inspect.sh: line 23: is_strict: command not found
 FAIL:  Service snap.microk8s.daemon-etcd is not running
For more details look at: sudo journalctl -u snap.microk8s.daemon-etcd
/snap/microk8s/8491/inspect.sh: line 23: is_strict: command not found
 FAIL:  Service snap.microk8s.daemon-apiserver-proxy is not running
For more details look at: sudo journalctl -u snap.microk8s.daemon-apiserver-proxy
/snap/microk8s/8491/inspect.sh: line 23: is_strict: command not found
 FAIL:  Service snap.microk8s.daemon-apiserver-kicker is not running
For more details look at: sudo journalctl -u snap.microk8s.daemon-apiserver-kicker
  Copy service arguments to the final report tarball
cp: cannot stat '/args': No such file or directory
Inspecting AppArmor configuration
/snap/microk8s/8491/inspect.sh: line 54: is_strict: command not found
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
/snap/microk8s/8491/inspect.sh: line 109: is_strict: command not found
  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
/snap/microk8s/8491/inspect.sh: line 84: is_strict: command not found
Inspecting kubernetes cluster
  Inspect kubernetes cluster
/snap/microk8s/8491/inspect.sh: line 137: is_strict: command not found
cp: cannot stat '/bom.json': No such file or directory

/snap/microk8s/8491/inspect.sh: line 195: is_strict: command not found
/snap/microk8s/8491/inspect.sh: line 223: is_strict: command not found
/snap/microk8s/8491/inspect.sh: line 291: is_strict: command not found
/snap/microk8s/8491/inspect.sh: line 311: is_strict: command not found
/snap/microk8s/8491/inspect.sh: line 325: is_strict: command not found
WARNING:  Please ensure br_netfilter kernel module is loaded on the host. 
/snap/microk8s/8491/inspect.sh: line 369: is_strict: command not found
WARNING:  Maximum number of inotify user watches is less than the recommended value of 1048576. 
	  Increase the limit with: 
	  	 echo fs.inotify.max_user_watches=1048576 | sudo tee -a /etc/sysctl.conf
	  	 sudo sysctl --system
Building the report tarball
gzip: /inspection-report-20251030_203322.tar: No such file or directory
  Report tarball is at /inspection-report-20251030_203322.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