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
Command Module: Unexpected failure during module execution. #41630
Comments
Files identified in the description: If these files are inaccurate, please update the |
This appears to be a bug in some vendor'ed third party code and not related to any particular module. |
This is indeed a bug in the upstream code that we have vendored and has been resolved upstream in sethmlarson/selectors2@f0c2c6c However, that fix is in the 2.0.1 release, and we have vendored 1.1.0 We would need to evaluate whether updating our vendored copy to this version is safe. I'd recommend against us trying to backport any changes into our vendored copy. cc @abadger |
I've taken a look at the 2.0.1 release. I'm a little conflicted as upstream's 2.x series looks like it's no longer a backport of the python stdlib selectors module.
My evaluation of the changes selectors2 2.x has made is that the present changes are good, adding some additional support for more platform select/poll implementations but I'm not infallible, the code could be introducing more bugs or abusing the stdlib architecture. |
The bundled selectors library which is used by the local and ssh connection plugins had a bug which caused a traceback in a cornercase. If selectors were in use and a syscall was interrupted, selectors would attempt to restart the syscall after the interrupt was processed. if the attempt determined that the timeout for running the syscall had already expired, the code attempted to raise OSError. The raise was using a Python3-ism and needed to be ported to work on Python2. Fixes ansible#41630
The bundled selectors library which is used by the local and ssh connection plugins had a bug which caused a traceback in a cornercase. If selectors were in use and a syscall was interrupted, selectors would attempt to restart the syscall after the interrupt was processed. if the attempt determined that the timeout for running the syscall had already expired, the code attempted to raise OSError. The raise was using a Python3-ism and needed to be ported to work on Python2. Fixes ansible#41630
…a syscall The bundled selectors library which is used by the local and ssh connection plugins had a bug which caused a traceback in a cornercase. If selectors were in use and a syscall was interrupted, selectors would attempt to restart the syscall after the interrupt was processed. if the attempt determined that the timeout for running the syscall had already expired, the code attempted to raise OSError. The raise was using a Python3-ism and needed to be ported to work on Python2. Fixes ansible#41630 (cherry picked from commit e2e44f8) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
…a syscall The bundled selectors library which is used by the local and ssh connection plugins had a bug which caused a traceback in a cornercase. If selectors were in use and a syscall was interrupted, selectors would attempt to restart the syscall after the interrupt was processed. if the attempt determined that the timeout for running the syscall had already expired, the code attempted to raise OSError. The raise was using a Python3-ism and needed to be ported to work on Python2. Fixes ansible#41630 (cherry picked from commit e2e44f8) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
…a syscall The bundled selectors library which is used by the local and ssh connection plugins had a bug which caused a traceback in a cornercase. If selectors were in use and a syscall was interrupted, selectors would attempt to restart the syscall after the interrupt was processed. if the attempt determined that the timeout for running the syscall had already expired, the code attempted to raise OSError. The raise was using a Python3-ism and needed to be ported to work on Python2. Fixes #41630 (cherry picked from commit e2e44f8) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
…a syscall (#44074) The bundled selectors library which is used by the local and ssh connection plugins had a bug which caused a traceback in a cornercase. If selectors were in use and a syscall was interrupted, selectors would attempt to restart the syscall after the interrupt was processed. if the attempt determined that the timeout for running the syscall had already expired, the code attempted to raise OSError. The raise was using a Python3-ism and needed to be ported to work on Python2. Fixes #41630 (cherry picked from commit e2e44f8) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
SUMMARY
Encountered a python error with stack trace when running a playbook via vagrant from a Ubuntu 16.04 host to a Ubuntu 18.04 guest
ISSUE TYPE
COMPONENT NAME
command
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
running a playbook via vagrant 2.1.1 from a Ubuntu 16.04 host to a Ubuntu 18.04 guest
STEPS TO REPRODUCE
I cannot reproduce the issue, re-running the playbook with no changes does not reproduce the error.
EXPECTED RESULTS
Expected to see the task complete successfully or fail.
ACTUAL RESULTS
Instead got a python error and stack trace
The text was updated successfully, but these errors were encountered: