Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-88456

ansible operator fails with error with current python-requests

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Undefined Undefined
    • None
    • rhel-8.10
    • python-requests
    • None
    • No
    • None
    • rhel-pt-python
    • ssg_platform_tools
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      When trying to run ansible operator with 2.20.0-5.el8_10 an error occurs that did not with 2.20.0-3.el8_8.

      Traceback (most recent call last):
        ...
        File "/usr/lib/python3.6/site-packages/urllib3/poolmanager.py", line 239, in connection_from_context
          pool_key_constructor = self.key_fn_by_scheme[scheme]
      KeyError: 'http+unix'error: open /tmp/ansible-operator/runner/migration.openshift.io/.../artifacts/.../stdout: no such file or directory 

       

      This was reported here by another user who encountered problems and has more information:

      https://github.com/operator-framework/operator-sdk/issues/6891

      What is the impact of this issue to you?

      It is necessary to downgrade the package in order to use ansible operator, losing fixes for CVEs.

      Please provide the package NVR for which the bug is seen:

      python3-requests-2.20.0-5.el8_10.noarch

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Build an ansible operator using python3-requests-2.20.0-5.el8_10.noarch
      2. Try to run it.

      Expected results

      Functioning ansible operator

      Actual results

      Error as described above

      Additional Information

      The last patch makes changes to poolmanager. It seems possible this has introduced a new bug.

              python-maint python-maint
              rhn-engineering-jmontleo Jason Montleon
              python-maint python-maint
              Lukas Zachar Lukas Zachar
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: