c4: Fix SSM connection hanging when no terminal was attached
Details
| Detail name | Value |
|---|---|
| Changelog Number | 22079 |
| Type | Bug |
| Status | Resolved |
| Affected Versions | Exasol 8.0.0 |
| Fix Versions | Exasol 8.33.0, Exasol 8.29.6 |
| Resolution Date | 2025-01-14 |
Description
For AWS deployments it is possible to instruct c4 to use AWS Systems Manager to connect to database nodes (see AWS Systems Manager in Exasol documentation). It is done by setting the parameter CCC_USER_TRANSPORT.
When the user used CCC_USER_TRANSPORT=ssm and had no terminal attached (e.g., redirected stdout/stderr to a file and disowned the process), the SSM connection would hang indefinitely after transmitting certain number of bytes. The c4 commands that would utilize the SSM transport such as c4 connect and c4 update cluster, were affected.
Workaround
There is no workaround.
Fix
This bug has been fixed now and c4 commands that would utilize the SSM transport don’t hang anymore in this setup.