You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regression in ExecProvider for AWS EKS Token Retrieval
Summary
After commit 2dfa782, our AWS EKS token retrieval command fails when running in a Docker container using Python 3.11. Previously, the same command executed without errors. The regression appears linked to using shell=True for Windows compatibility.
Details
What happened:
We run the following command arguments for the exec provider:
Under commit 2dfa782, the command fails. Debugging shows that when recreated without shell=True, it works as expected. When allowed to run as is (with shell=True), the stderr output indicates a failure.
Screenshot from the debugger (showing stderr, the recreation of the process, and the JSON output) is included below:
What you expected to happen:
The token retrieval command should run successfully, as in previous versions of the Python client.
The issue appears tied to the introduction of shell=True in the code, presumably for Windows support. Removing or bypassing shell=True resolves the problem in a Linux-based environment.
The text was updated successfully, but these errors were encountered:
HaimLC
changed the title
AWS EKS Token Retrieval Fails after shell=True in exec_provider introduced in commit 2dfa782
Regression in ExecProvider for AWS EKS Token Retrieval after adding shell=True in exec_provider introduced in commit 2dfa782
Feb 18, 2025
Regression in ExecProvider for AWS EKS Token Retrieval
Summary
After commit 2dfa782, our AWS EKS token retrieval command fails when running in a Docker container using Python 3.11. Previously, the same command executed without errors. The regression appears linked to using
shell=True
for Windows compatibility.Details
What happened:
We run the following command arguments for the exec provider:
Under commit
2dfa782
, the command fails. Debugging shows that when recreated withoutshell=True
, it works as expected. When allowed to run as is (withshell=True
), the stderr output indicates a failure.Screenshot from the debugger (showing stderr, the recreation of the process, and the JSON output) is included below:
What you expected to happen:
How to reproduce it:
self.args
to:shell=True
.Environment:
python:3.11
Additional Information
shell=True
in the code, presumably for Windows support. Removing or bypassingshell=True
resolves the problem in a Linux-based environment.The text was updated successfully, but these errors were encountered: