-
Notifications
You must be signed in to change notification settings - Fork 23
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
fix: disable proxy when connecting to pcsd local socket #265
fix: disable proxy when connecting to pcsd local socket #265
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #265 +/- ##
=======================================
Coverage 82.88% 82.88%
=======================================
Files 6 6
Lines 479 479
=======================================
Hits 397 397
Misses 82 82 ☔ View full report in Codecov by Sentry. |
[citest] |
I don't get why all tests are suddenly failing with |
@spetrosi some problem with support for vault? The hacluster password comes from the vault file |
[citest] |
Should be fixed in linux-system-roles/tft-tests#70 |
@@ -214,6 +214,8 @@ def call_api_raw( | |||
""" | |||
response, info = fetch_url( | |||
module, | |||
# never use a proxy when connecting to a local unix socket (RHEL-81918) | |||
use_proxy=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok - since this will only ever be a local unix socket (and not a TCP/IP socket), proxies should never be used.
Enhancement:
Do not use proxy when connecting to local pcsd via unix socket on managed nodes.
Reason:
When a proxy is defined, it disrupts communication towards the local pcsd unix socket. This makes the role fail.
Result:
Role works even if a proxy is defined.
Issue Tracker Tickets (Jira or BZ if any):
https://issues.redhat.com/browse/RHEL-81918