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.

Microk8s clustering (join command) error caused by missing SSL Module

See original GitHub issue

Hi all,

Microk8s v1.16.0 rev 921 doesn’t seem to start on arm64. The main issue I am seeing is related to a missing SSL library within the snap:

Oct 13 22:59:55 battleship systemd[1]: Started Service for snap application microk8s.daemon-cluster-agent.
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]: Traceback (most recent call last):
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/bin/gunicorn3", line 9, in <module>
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     load_entry_point('gunicorn==19.4.5', 'console_scripts', 'gunicorn')()
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     return get_distribution(dist).load_entry_point(group, name)
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     return ep.load()
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     return self.resolve()
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     module = __import__(self.module_name, fromlist=['__name__'], level=0)
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/lib/python3/dist-packages/gunicorn/app/wsgiapp.py", line 10, in <module>
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     from gunicorn.app.base import Application
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 14, in <module>
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     from gunicorn.config import Config, get_default_config_file
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/lib/python3/dist-packages/gunicorn/config.py", line 17, in <module>
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     import ssl
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:   File "/snap/microk8s/921/usr/lib/python3.5/ssl.py", line 98, in <module>
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]:     import _ssl             # if we can't import it, let the error propagate
Oct 13 22:59:57 battleship microk8s.daemon-cluster-agent[20195]: ImportError: libssl.so.1.0.0: cannot open shared object file: No such file or directory

I have attached the inspection report.

inspection-report-20191013_230126.tar.gz

Cheers,

  • Calvin

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
balchuacommented, Oct 14, 2019

I think there’s already a fix for this ssl thingy. Can you try the 1.16/edge release?

0reactions
CalvinHartwellcommented, Oct 15, 2019

Thanks for the help, fix is confirmed to work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microk8s clustering (join command) error caused by missing ...
Hi all, Microk8s v1.16.0 rev 921 doesn't seem to start on arm64. The main issue I am seeing is related to a missing...
Read more >
Troubleshooting - MicroK8s
You may experience the API server being slow, crashing or forming an unstable multi node cluster. Such problems are often traced to low...
Read more >
Troubleshooting Multicluster - Istio
This page describes how to troubleshoot issues with Istio deployed to multiple clusters and/or networks. Before reading this, you should take the steps...
Read more >
can't connect to https url because the ssl - You.com - You.com
Requests (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.") Error in PyCharm requesting website.
Read more >
Ubuntu Server Documentation
deploy an OpenStack cloud, a Kubernetes cluster or a 50,000-node render farm, ... SSL/TLS. Backup and Restore. Samba. Introduction. Joining Active Directory.
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