Centos 7.4: microk8s.join throws openssl error
See original GitHub issueRunning microk8s.join on Centos 7.4 version, getting the following error:
microk8s.join 192.168.1.33:25000/oAnOGKxcsBCfkRybcDudVCdWkGamOsOf openssl: relocation error: /snap/core/current/lib/x86_64-linux-gnu/libresolv.so.2: symbol __h_errno, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference Traceback (most recent call last): File "/snap/microk8s/1253/scripts/cluster/join.py", line 387, in <module> update_flannel(info["etcd"], master_ip, master_port, token) File "/snap/microk8s/1253/scripts/cluster/join.py", line 132, in update_flannel get_etcd_client_cert(master_ip, master_port, token) File "/snap/microk8s/1253/scripts/cluster/join.py", line 107, in get_etcd_client_cert subprocess.check_call(cmd_cert.split()) File "/snap/microk8s/1253/usr/lib/python3.5/subprocess.py", line 581, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['openssl', 'req', '-new', '-key', '/var/snap/microk8s/1253/certs/server.key', '-out', '/var/snap/microk8s/1253/certs/server.remote.csr', '-config', '/var/snap/microk8s/1253/certs/csr.conf']' returned non-zero exit status 127
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
The following code change in
join.py
seems to work:@ktsakalozos Thanks for the credit. But can you submit the PR instead? I don’t have the environment setup to do it. Thanks.