Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microk8s status --wait-ready hangs forever - Fedora 35 #2944

Closed
pacostas opened this issue Feb 23, 2022 · 5 comments
Closed

microk8s status --wait-ready hangs forever - Fedora 35 #2944

pacostas opened this issue Feb 23, 2022 · 5 comments
Labels

Comments

@pacostas
Copy link

pacostas commented Feb 23, 2022

I'm following below steps as mentioned on the installation https://microk8s.io/

sudo snap install microk8s --classic
microk8s status --wait-ready

And the command microk8s status --wait-ready hangs.

While is hanging, by hitting crtl+c I get below output:

Traceback (most recent call last):
  File "/snap/microk8s/2948/scripts/wrappers/status.py", line 223, in <module>
    isReady = wait_for_ready(timeout)
  File "/var/lib/snapd/snap/microk8s/2948/scripts/wrappers/common/utils.py", line 125, in wait_for_ready
    if is_cluster_ready():
  File "/var/lib/snapd/snap/microk8s/2948/scripts/wrappers/common/utils.py", line 54, in is_cluster_ready
    service_output = kubectl_get("all")
  File "/var/lib/snapd/snap/microk8s/2948/scripts/wrappers/common/utils.py", line 169, in kubectl_get
    return run("kubectl", kubeconfig, "get", cmd, "--all-namespaces", die=False)
  File "/var/lib/snapd/snap/microk8s/2948/scripts/wrappers/common/utils.py", line 35, in run
    args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env
  File "/snap/microk8s/2948/usr/lib/python3.6/subprocess.py", line 425, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/snap/microk8s/2948/usr/lib/python3.6/subprocess.py", line 863, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/snap/microk8s/2948/usr/lib/python3.6/subprocess.py", line 1534, in _communicate
    ready = selector.select(timeout)
  File "/snap/microk8s/2948/usr/lib/python3.6/selectors.py", line 376, in select
    fd_event_list = self._poll.poll(timeout)
KeyboardInterrupt

Details of the OS:

  • Fedora 35 (Workstation Edition)
  • 64-bit
  • Gnome version 41.3
  • Windowing System X11

I'm also attaching the tarball from the microk8s inspect command

inspection-report-20220223_133744.tar.gz

Relevant PRs (where I didnt manage to solve my problem)
#1246
#2574

@ktsakalozos
Copy link
Member

Hi @pacostas can you please attach the inspection tarball one more time?

@pacostas
Copy link
Author

Hi @pacostas can you please attach the inspection tarball one more time?

updated, thank you :)

@balchua
Copy link
Collaborator

balchua commented Feb 26, 2022

I was checking the logs.
K8sdqlite isnt starting due to this.

Feb 23 13:34:00 192.168.1.51 microk8s.daemon-k8s-dqlite[479837]: I0223 13:34:00.205408  479837 log.go:181] [ERROR] dqlite: proxy: first: remote -> local: remote error: tls: bad certificate

Was wondering what happened to the certificates being used by dqlite.

The cluster.yaml and info.yaml ID are not the same.

Info.yaml

Address: 127.0.0.1:19001
ID: 3297041220608546238
Role: 0

Cluster.yaml

- Address: 127.0.0.1:19001
  ID: 0
  Role: 0

@stale
Copy link

stale bot commented Jan 22, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

1 similar comment
Copy link

stale bot commented Dec 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Dec 18, 2023
@stale stale bot closed this as completed Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants