-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: dellemc.openmanage 8.2.0 ignores NO_PROXY
#554
Comments
@sbeyermann, thanks for submitting the issue. We are analyzing this one and accordingly pick it up for a fix in future release. |
@sbeyermann Can you please help me verifying a changes.
Attached the file for a reference. |
@sachin-apa Thank you for picking up this issue. I replaced the original dellemc.openmanage 8.2.0's
|
Bug Description
In our environment we need to use a proxy to access public internet resources. Our Dell OpenManage Enterprise installation however can be reached directly and not via the proxy server. Therefore on our machines we have the
http_proxy
,HTTP_PROXY
,https_proxy
,HTTPS_PROXY
,no_proxy
andNO_PROXY
environment variables defined.http_proxy
,HTTP_PROXY
,https_proxy
andHTTPS_PROXY
point to our proxy server whileno_proxy
andNO_PROXY
contains proxy bypass exceptions for internal resources in the format.company.com
With
dellemc.openmanage
modules 8.0.0 and 8.1.0 this worked fine and our ansible host was able to communicate with our Dell OpenManage Enterprise installation. Unfortunately withdellemc.openmanage
8.2.0 we receive the following error message:<urlopen error _ssl.c:975: The handshake operation timed out>
I did some troubleshooting and for me it looks like the
ome.py
in version 8.2.0 does a DNS lookup of the URL first and then connects to the IP address of the Dell OpenManage installation instead of the DNS FQDN. Therefore our proxy bypass exceptions do not match anymore and thedellemc.openmanage
tries to contact our OME through our proxy which fails.As a workaround I added the IP address of our OME installation to the NO_PROXY environment variable as well and afterwards
dellemc.openmanage
is able to contact OME again.Component or Module Name
dellemc.openmanage.ome_device_info
Ansible Version
Ansible core 2.15.4
Python Version
Pyhton 3.11.2
iDRAC/OME/OME-M version
OME 3.10.2
dellemc.openmanage 8.2.0
Operating System
Debian 11
Playbook Used
Logs
Steps to Reproduce
no_proxy
orNO_PROXY
environment variables, e.g..company.com
Expected Behavior
Connections to the domain name of the OME installation will honor proxy bypass exceptions and be created directly (as in
dellemc.openmanage
8.0.0
or8.1.0
Actual Behavior
dellemc.openmanage
8.2.0
tries to access the OME system through proxy because IP addresses proxy bypass exceptions are not set inno_proxy
orNO_PROXY
environment variablesScreenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: