question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get status, inspect stuck

See original GitHub issue

microk8s status doesn’t show anything. It says, microk8s isn’t running. I stopped and started microk8s but it didn’t work. And, I can’t run microk8s inspect either.

(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s status
microk8s is not running. Use microk8s inspect for a deeper inspection.
(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s stop
Stopped.
(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s start
Started.
(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s status
microk8s is not running. Use microk8s inspect for a deeper inspection.

(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s inspect
Inspecting Certificates
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-apiserver is running
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-control-plane-kicker is running
  Service snap.microk8s.daemon-proxy is running
  Service snap.microk8s.daemon-kubelet is running
  Service snap.microk8s.daemon-scheduler is running
  Service snap.microk8s.daemon-controller-manager 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 snap list to the final report tarball
  Copy VM name (or none) 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 current linux distribution to the final report tarball
  Copy openSSL information to the final report tarball
  Copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster
Inspecting juju
  Inspect Juju

It stucks more than 10 minutes.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

2reactions
RaghuMedacommented, Jul 16, 2021

I have run into something similar and I get inconsistent results…

Basically, a low powered (1 cpu 1 gb ram) Azure VM with ubuntu server 20 lts never returns a value for microk8s status or microk8s inspect… and instead hangs.

Is that behavior expected?

It’s the same issue for me. I am using Raspberry Pi3 with 2 cpu and 1 GB ram and microk8s status and microk8s inspect always hangs out. Its pure luck when it works. I did replicate the same issue happens in AWS EC2 with 2 cpu and 1 GB ARM64 system. I beleieve Microk8s is not tested throughly yet for ARM64 systems with low power. Although it says it works for low power devices thats not true.

2reactions
balchuacommented, Apr 13, 2021

@betsegaw my guess is that the kernel is killing the apiserver due to memory pressure. You may want to try enabling swap. But that is highly discouraged by kubernetes. Imho 1GB is too small for kubernetes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git Commands Stuck Forever · Issue #1640 · ish-app ... - GitHub
I tried to run git fsck to check the status and there are no hints. I also tried to run GIT_TRACE2_PERF prefix set...
Read more >
Git: How to revert 2 files that are stubbornly stuck at "Changed ...
I had a couple of stubborn files and ran this command, git status now shoes no changes, but when I try to change...
Read more >
Browser stuck at "Waiting for Endpoint Inspection status" when ...
When accessing the virtual server of BIG-IP APM, the browser maybe stuck and the screen like below: "Waiting for Endpoint Inspection status".
Read more >
How to Fix Microsoft Teams Status Stuck - Technipages
Go to Settings → Update & Security → Windows Update and hit the Check for updates button.
Read more >
Xcode 13.2 update is stuck | Apple Developer Forums
I am trying to update XCode to 13.2 on Monterey. It's stuck at "Installing 7.49GB of 7.49GB" (been for a while...). I tried...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found