-
Notifications
You must be signed in to change notification settings - Fork 459
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
libvirt_volume.main_disk: Can't retrieve volume xxx #88
Comments
To all: Resuming this issue N 88: this issue was about retrieve volumes by id error race condition As user we get the error: As @dmacvicar stated in his PR comment, at the end ( so that PR on latest plugin should fix) Since this issue was a race condition we cannot test with evidence. I'm an optimistic person, so i will close this issue. To all sumaform users @moio @ktsamis @Bischoff : until we don't update and merge this https://github.com/SUSE/spacewalk/issues/5475 is clear that you will continue to have or experiment this issues. If you have again the error after update, and i mean the error cannot retrieve volume that i post above, feel free to reopen this issue. For every new issue, optimal would be that you run I will thnk if we can maybe enable TF_LOG=DEBUG in production and saving maybe only the debug info in a special file |
This is actually confirmed to be a core libvirt issue fixed from version 4.3.0 on. Specifically by this patch, that can be applied back to 4.0.0 without issues: |
Reported against Ubuntu as: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1789659 openSUSE Tumbleweed is not affected |
thx @moio |
How-to-reproduce:
clone sumaform
Take the main.tf-libvirt-testing example.
run it 3/4 times. ( 2 times will fail with error :
This issue block the provissioning and for production or dayly work is annoyng, because we have to reapply terraform apply.
I cannot sadly determine the cause of this issue, the disk created is there but terraform fails to retrieve it.
It's a race condition. I'm quite sure that the sumaform is not the root cause of the problem.
For additional logs, info, ping me
The text was updated successfully, but these errors were encountered: