Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-5359 Ansible fixes for Dev Spaces
  3. CRW-4872

[jenkins VM nodes] No module named 'OpenSSL' when building dynamic node snapshot

XMLWordPrintable

    • False
    • None
    • False

      https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/system/job/jenkins-node-setup/862/console

      17:55:49  TASK [openstack-snapshot : instance: crw-rhel8, image: crw-rhel8] **************
      17:55:49  An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'OpenSSL'
      17:55:49  fatal: [10.0.213.68]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/home/hudson/.ansible/tmp/ansible-tmp-1695675337.4753623-8404-173201087369137/AnsiballZ_openstack.py\", line 100, in <module>\n    _ansiballz_main()\n  File \"/home/hudson/.ansible/tmp/ansible-tmp-1695675337.4753623-8404-173201087369137/AnsiballZ_openstack.py\", line 92, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/hudson/.ansible/tmp/ansible-tmp-1695675337.4753623-8404-173201087369137/AnsiballZ_openstack.py\", line 41, in invoke_module\n    run_name='__main__', alter_sys=True)\n  File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\n    mod_name, mod_spec, pkg_name, script_name)\n  File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_openstack_payload_z4pfs28f/ansible_openstack_payload.zip/ansible/modules/openstack.py\", line 88, in <module>\n  File \"/tmp/ansible_openstack_payload_z4pfs28f/ansible_openstack_payload.zip/ansible/modules/openstack.py\", line 84, in main\n  File \"/tmp/ansible_openstack_payload_z4pfs28f/ansible_openstack_payload.zip/ansible/modules/openstack.py\", line 50, in create_image\n  File \"/tmp/ansible_openstack_payload_z4pfs28f/ansible_openstack_payload.zip/ansible/modules/openstack.py\", line 32, in get_glance_client\n  File \"/usr/local/lib/python3.6/site-packages/glanceclient/client.py\", line 62, in Client\n    'client')\n  File \"/usr/local/lib/python3.6/site-packages/oslo_utils/importutils.py\", line 97, in import_versioned_module\n    return import_module(module_str)\n  File \"/usr/local/lib/python3.6/site-packages/oslo_utils/importutils.py\", line 73, in import_module\n    __import__(import_str)\n  File \"/usr/local/lib/python3.6/site-packages/glanceclient/v2/__init__.py\", line 15, in <module>\n    from glanceclient.v2.client import Client      # noqa\n  File \"/usr/local/lib/python3.6/site-packages/glanceclient/v2/client.py\", line 17, in <module>\n    from glanceclient.common import http\n  File \"/usr/local/lib/python3.6/site-packages/glanceclient/common/http.py\", line 23, in <module>\n    import OpenSSL\nModuleNotFoundError: No module named 'OpenSSL'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

              sdawley@redhat.com Samantha Dawley
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: