-
Notifications
You must be signed in to change notification settings - Fork 43
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
Switch to fedora-33 for sys-* VMs #695
Conversation
You're absolutely right! I pushed a commit that resolves on my end. Can you take it for a spin? You'll have to undo all the fedora-33-related changes from your system, and |
With your fix, I was able to re-create a I think at this point it would be good for someone else to take it for a spin, for either the update or fresh install scenario, so I added a test plan and am declaring it ready for review. |
I'm not seeing the libxenlight error (64GB RAM on this machine, so I don't expect to see it), and I'm able to migrate F32 -> F33 separately, manually resetting in between. That much is exactly as we'd expect. However, these changes introduce a concerning regression in the salt logic:
I made sure to compare with latest main, and the exception messages are not printed there. Even though the changes in this PR do what they say on the tin, and successfully migrate the Fedora-based VMs, I'd like to understand that new warning message and hopefully address it prior to merge. I volunteer to look into this a bit more, @eloquence. |
I don't see these errors in my logs, but that may be partially because I launched the updater from the GUI. That was intentional - to capture all Salt output in #690 should give us more reliable and complete logs -- the combination of running the updater from the CLI and looking at |
#690 is merged. Now that I've spent more time with those changes, I'm no longer convinced the warnings shown above will make it into the detailed log, but still glad to have them in. I haven't investigated the warning changes here further, but will do so this sprint. |
When installing a new Fedora template, we must update the default-mgmt-dvm template setting to be the new package, even before updating the new template itself. That requirement is documented in the release notes, e.g. https://www.qubes-os.org/news/2021/02/25/fedora-33-templates-available/
Took a closer look at this today. Turns out it's not a problem with the provisioning logic we're changing here, but rather a known error caused by using One thing we can do near-term is enable the testing repos and confirm that the patch presented there resolves the problem in conjunction with these changes. Let's keep a close on the stable repos, since we're currently blocked on the transition until that's resolved. |
Specifically, we want |
After manually pulling in the salt fixes from the Qubes testing channels, highstate functionality is restored, and subsequent updater runs work as expected, using F33 across the board. It's important to note that after installing the F33 image, it must be updated in order to get the salt fixes, before it can be used to update other machines. Fortunately the logic here is already doing just that, so we're covered. That's enough for us to approve these changes and merge in. Judging by past experience, we can expect the packages to land in stable sometime early next week. That gives us time to work on the keyring updates such as #697 before the next release of the There's one remaining concern with merging here: once this PR lands in main, running |
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.
Approving. We're still waiting on stable packages, due next week, and until then make dev
will break highstate functionality. Merging despite that shortcoming to continue with other work.
Noting that |
Status
Ready for review
Description of Changes
Fixes #691 (co-authored with @conorsch).
Test plan
Update scenario
main
, or enforce the state of an existing, up-to-date staging environment viasdw-admin --apply
.fedora-33
template present on your system from prior runs or a manual update. If necessary, remove the template withsudo dnf remove qubes-template-fedora-33
.make clone
this branch intodom0
andsudo dnf reinstall
the freshly built RPM fromrpm-build/RPMS/noarch
./opt/securedrop/launcher/sdw-launcher.py --skip-delta 0
.fedora-33
template is now installedqvm-ls | grep fedora
shows that sys-net, sys-usb, and sys-firewall are all based onfedora-33
.qvm-prefs default-mgmt-dvm template
showsfedora-33
dom0
tests are passing (ensure thatconfig.json
andsd-journalist.sec
are present).Fresh install scenario
sdw-admin --uninstall
fedora-33
template present on your system from prior runs or a manual update. If necessary, remove the template withsudo dnf remove qubes-template-fedora-33
.make clone
this branch intodom0
and runmake staging
fedora-33
template is now installedqvm-ls | grep fedora
shows that sys-net, sys-usb, and sys-firewall are all based onfedora-33
.qvm-prefs default-mgmt-dvm template
showsfedora-33
dom0
tests are passing (ensure thatconfig.json
andsd-journalist.sec
are present).