-
Notifications
You must be signed in to change notification settings - Fork 686
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
Add upgrade boxes for SecureDrop 1.1.0 #4950
Conversation
My Vagrant + libvirt + molecule setup decided not to play together :( |
hey @kushaldas - can you explain what problem(s) you encountered so that we can try to resolve them? |
Just regular odd molecule + vagrant + libvirt errors. For example:
Everytime for a different VM in the molecule run, means again trying to clean up first and then trying to re-run the whole scenario (make upgrade-start). |
can you provide steps to reproduce for getting to either of those error messages? I think it's worth identifying if the challenge here is insufficient documentation, upstream issues, or shortcomings of our development environments that we should resolve. |
@kushaldas I've had the same sort of trouble with Vagrant, though I'm not sure if libvirt shares any of the blame. I'm pretty sure I saw this back when I was using Vagrant and Virtualbox. As the error message suggests, I can usually get the Molecule commands to complete after killing those stuck processes. And sometimes cleaning up in virt-manager or virsh. |
Yes, I generally managed to fix those following the similar commands as you suggested and also using reboot. This time I tried for around 2 hours and just gave up for today. I will try to fix this in morning when my brain is fresh :) |
I don't see any proper reproducer, sometimes it happens with any |
OK. I'll try to review this. |
The Ansible version bump in SD 1.1.0 didn't include required changes to the "upgrade" scenario. Updated in order to test the 1.1.0 upgrade boxes. The scenario now completes without issue.
Ran through the test plan here to evaluate libvirt behavior. Encountered no problems running the VM tooling. Further changes appear to be required, however. Results of testing:
There was a small tweak required for Ansible 2.7 compatibility, specifically within the Regarding the libvirt problems reported above, that's most likely related to Molecule's use of an "ephemeral" directory for tracking VM state. During "create/converge" actions, Molecule writes YAML files containing VM information to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Status
Ready for review
Description of Changes
Closes #4887
Add upgrade boxes for SecureDrop 1.1.0
Testing
Deployment
Dev env only
If you made non-trivial code changes: