By: Marlon Martínez user 10 Feb 2021 at 9:30 a.m. CST

1 Response
Marlon Martínez gravatar
We are trying to install Gluu Cloud Native Edition using the AWS Elastic Kubernetes Service by following the instructions provided in the documentation. We already created our cluster with worker nodes, to be specific our nodes consist on two Amazon Linux 2 t3.medium instances (only for testing, our production environment will consist on a different instance type according to the services we'll use). Following the installation instructions using Kustomize, we downloaded the v1.4.0 pygluu-kubernetes-linux.pyz file and we executed the following command: ./pygluu-kubernetes-linux.pyz install. After we executed this command, we got the following error: Traceback (most recent call last): File "./pygluu-kubernetes-linux.pyz/_bootstrap/__init__.py", line 74, in import_string File "/Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/pygluu/kubernetes/create.py", line 17, in <module> from pygluu.kubernetes.couchbase import Couchbase File "/Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/pygluu/kubernetes/couchbase.py", line 14, in <module> from pygluu.kubernetes.pycert import setup_crts File "/Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/pygluu/kubernetes/pycert.py", line 11, in <module> import OpenSSL.crypto File "/Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import crypto, SSL File "/Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/OpenSSL/crypto.py", line 17, in <module> from OpenSSL._util import ( File "/Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/OpenSSL/_util.py", line 6, in <module> from cryptography.hazmat.bindings.openssl.binding import Binding File "/Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module> from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: dlopen(/Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so, 2): no suitable image found. Did find: /Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 /Users/tergar/.shiv/pygluu-kubernetes-linux_1d92c34243644d938ab3f3b0090b83f4b0b44ba809574d1c6aa23fae61694e91/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./pygluu-kubernetes-linux.pyz/_bootstrap/__init__.py", line 82, in import_string AttributeError: module 'pygluu.kubernetes' has no attribute 'create' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "./pygluu-kubernetes-linux.pyz/__main__.py", line 3, in <module> File "./pygluu-kubernetes-linux.pyz/_bootstrap/__init__.py", line 241, in bootstrap File "./pygluu-kubernetes-linux.pyz/_bootstrap/__init__.py", line 79, in import_string File "./pygluu-kubernetes-linux.pyz/_bootstrap/__init__.py", line 85, in import_string ImportError: module 'pygluu.kubernetes' has no attribute 'create' Maybe it's important to mention we are using the 3.7.5 python version and 19.3.1 pip3 version. We looked at for more information but the error seems to be not common. Could you please guide us through a solution or some alternatives? We really appreciate your support! Thank you Marlon

By Mohammad Abudayyeh staff 10 Feb 2021 at 9:54 a.m. CST

Mohammad Abudayyeh gravatar
Hey Marlon, Please use python 3.6 on ubuntu 20. We have no problems currently. We do not support community tickets on cloud native. Please contact our sales sales@gluu.org. Thanks,