Closed fegmorte closed 2 years ago
I finally retry with the latest build (28 april, 02:17 UTC+2) and that works again. Do we have to use a pinned version of the AWX-EE, e.g 0.6.0 or is it better to use the latest version ?
it seems the issue comes from cryptography 37.0.0 Not Compatible with pyOpenSSL
I retried with the latest build and it works again for me
ansible-inventory [core 2.12.5.post0] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /home/runner/.ansible/collections:/usr/share/ansible/collections:/usr/share/automation-controller/collections executable location = /usr/local/bin/ansible-inventory python version = 3.8.12 (default, Sep 21 2021, 00:10:52) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 libyaml = True No config file found; using defaults redirecting (type: inventory) ansible.builtin.aws_ec2 to amazon.aws.aws_ec2 [WARNING]: Failed to parse /runner/inventory/aws_ec2.yml with auto plugin: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' File "/usr/local/lib/python3.8/site-packages/ansible/inventory/manager.py", line 290, in parse_source plugin.parse(self._inventory, self._loader, source, cache=cache) File "/usr/local/lib/python3.8/site-packages/ansible/plugins/inventory/auto.py", line 50, in parse plugin = inventory_loader.get(plugin_name) File "/usr/local/lib/python3.8/site-packages/ansible/plugins/loader.py", line 807, in get return self.get_with_context(name, args, **kwargs).object File "/usr/local/lib/python3.8/site-packages/ansible/plugins/loader.py", line 827, in get_with_context self._module_cache[path] = self._load_module_source(name, path) File "/usr/local/lib/python3.8/site-packages/ansible/plugins/loader.py", line 791, in _load_module_source spec.loader.exec_module(module) File "", line 843, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/share/ansible/collections/ansible_collections/amazon/aws/plugins/inventory/aws_ec2.py", line 229, in
import boto3
File "/usr/local/lib/python3.8/site-packages/boto3/init.py", line 17, in
from boto3.session import Session
File "/usr/local/lib/python3.8/site-packages/boto3/session.py", line 17, in
import botocore.session
File "/usr/local/lib/python3.8/site-packages/botocore/session.py", line 26, in
import botocore.client
File "/usr/local/lib/python3.8/site-packages/botocore/client.py", line 15, in
from botocore import waiter, xform_name
File "/usr/local/lib/python3.8/site-packages/botocore/waiter.py", line 18, in
from botocore.docs.docstring import WaiterDocstring
File "/usr/local/lib/python3.8/site-packages/botocore/docs/init.py", line 15, in
from botocore.docs.service import ServiceDocumenter
File "/usr/local/lib/python3.8/site-packages/botocore/docs/service.py", line 14, in
from botocore.docs.client import ClientDocumenter, ClientExceptionsDocumenter
File "/usr/local/lib/python3.8/site-packages/botocore/docs/client.py", line 14, in
from botocore.docs.example import ResponseExampleDocumenter
File "/usr/local/lib/python3.8/site-packages/botocore/docs/example.py", line 13, in
from botocore.docs.shape import ShapeDocumenter
File "/usr/local/lib/python3.8/site-packages/botocore/docs/shape.py", line 19, in
from botocore.utils import is_json_value_header
File "/usr/local/lib/python3.8/site-packages/botocore/utils.py", line 34, in
import botocore.httpsession
File "/usr/local/lib/python3.8/site-packages/botocore/httpsession.py", line 41, in
from urllib3.contrib.pyopenssl import orig_util_SSLContext as SSLContext
File "/usr/lib/python3.8/site-packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/local/lib/python3.8/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/local/lib/python3.8/site-packages/OpenSSL/crypto.py", line 1517, in
class X509StoreFlags(object):
File "/usr/local/lib/python3.8/site-packages/OpenSSL/crypto.py", line 1537, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
[WARNING]: Unable to parse /runner/inventory/aws_ec2.yml as an inventory source
ERROR! No inventory was parsed, please check your configuration and options.