-
Notifications
You must be signed in to change notification settings - Fork 90
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
postgresql_ext does not support async #198
Comments
@astrumas hello, thank you for the PR! The
|
Thanks for your reply and your suggestions I haven't found anything on the postgres side, but I did try changing the task down to one database and one extension using Ill look into joining the channel and asking there, in the meantime I hope one of your colleagues has used |
Seems nobody has the experience. @astrumas whatever you'll find, please let us know the result here |
Hi, @astrumas. Is this still an issue for you? I've run the suggested repro and am able to use The playbook I used: The output file with The output file with The The Kindly let me know? We'll be happy to close this issue out for you insofar as it's no longer occurring. Thanks! |
@jchancojr I will be revisiting it this week and will let you know! |
@astrumas Perfect. Looking forward to your results. Also, nice to talk to you again ;) |
Hi, @astrumas Just reaching out to see if you've had time to revisit this. No sweat if not. Kindly let me know? Thanks! |
@jchancojr Nice to talk to you again as well!! I apologize, priorities got shifted and I was unable to visit it when I had initially planned to. You will hear back from me this week on this. |
@jchancojr I upgraded to ansible-core 2.12.5 (from 2.11), which also upgraded the community.postgresql collection to 1.7.4 and I am still experiencing this issue. I copied and used your tasks from your playbook example. I have also included task profiling so you can see how much slower it is with async on versus off. astrumas_198_playbook_async_off.txt |
hi Carey!
Can you try w/ 2.1.5 ? Just trying to see if it's an issue w/ the backport version or not. Thanks! |
@astrumas you can get the latest version with
UPDATE: Though i think this all relates to the ansible core #198 (comment) |
SUMMARY
The
community.postgresql.postgresql_ext
module doesn't appear to supportasync
. I have a task that installs many extensions on many databases which by default runs really slow so I thought it would benefit me to useasync
.This was originally brought up here and was told it would be worth raising an issue here.
ISSUE TYPE
COMPONENT NAME
community.postgresql.postgresql_ext
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 18.04 (ansible host)
Ubuntu 20.04 (target remote host)
STEPS TO REPRODUCE
EXPECTED RESULTS
async works as expected when using poll:0 resulting in the task "firing and forgeting"
ACTUAL RESULTS
The task takes longer to run than without async/poll used. Using async_status module results in
could not find job
error.Complete task code and result can be found here: https://gist.github.com/astrumas/87e54453d4a1021092e300fd9c6361b9
The text was updated successfully, but these errors were encountered: