NBardelot commented on PR #60009: URL: https://github.com/apache/airflow/pull/60009#issuecomment-4923511592
@ ftakelait & @potiuk hello, FYI this introduced a breaking change in Airflow 2.11, since before that PR the default conn_type for WinRM connections was "ssh" (as per "ssh_conn_id" being the attribute, still now, in the WinRMHook), by making the conn_type = "winrm" the default value. I know it's too late, but the compatibility would have been preserved with conn_type = "ssh" (and a migration warning, before changing conn_type to "winrm"). For anyone searching for the root cause of their issue, this explains error messages with HTTP error 500 using WinRMHook in Airflow 2.11. I think the best option is to migrate SSH connections to WinRM connections, and let the conn_type default to "winrm". Another option is to force conn_type = "ssh" in DAGs for preexisting SSH connections. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
