-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fedora 37 fails to update via salt. #7891
Fedora 37 fails to update via salt. #7891
Comments
Related to #7807 |
Salt upstream bug: saltstack/salt#62676 |
It should be rather easy to avoid using |
This salt state is (currently) rather important for qubes to work, so besides basic salt tests, verify this one explicitly too. This allows detecting bugs like QubesOS/qubes-issues#7891
This salt state is (currently) rather important for qubes to work, so besides basic salt tests, verify this one explicitly too. This allows detecting bugs like QubesOS/qubes-issues#7891
It also failes for Edit: Fedora update did throw an exception, but it worked when I tried again. Now *only dom0 can't update. |
Here's the relevant log of Note that this happens to me in all qubes used for update, both Whonix based and Fedora 36 based. Edit: I forgot to share the command I ran: |
Check |
I ran
|
Hmm, that's weird. Anyway, does adding |
It may be because I use the onion addresses. But through Whonix it should work. I'll try. |
To which part of the command do I add it? I forgot it's |
Ah, right. For this, try calling |
It spits its usual "Unable to detect release version (use --releasever to specify release version)". Then it proceeded to download packages as usual. And it fact it looks like it skipped over a good chunk of already downloaded ones. I'll share the results when it finishes. As a side note, that warning is why I switched to a dedicated static dispvm qube for |
How is this done? B |
@marmarek Ah, I see the issue. It says this:
It may be a connection issue over tor 😅 It threw the error partway into downloading it. @brendanhoar this is the tl;dr. I'd share more, but I'd rather this be continued in a separate discussion (or issue?) to not clog this issue for the devs more than I already have 😅 If you find any relevant place, and have questions, just ping me there and link this message or issue 😄
The pros:
The cons:
Edit 2: salt still knows to start said qube up. It simply doesn't shut it down. I wager that the relevant system (salt) files were made for sys-firewall and sys-whonix, hence the need to keep them running. |
Yep, it's the connection speed. It's just super slow. So the package manager disconnects, tries another mirror, sees it is slow as well, repeats until its out of mirrors, then inevitably fails. So it wasn't salt after all, just the usual connection issues. Thanks for helping me figure it out. It would be helpful if salt could tell me if an update failed owing to connection speed or some other issue. Is it possible to add it to Qubes in the future? |
This is going to be very difficult. It would require using the DNF API instead of the CLI, for one. That said, @marmarek this is a good reason for users to be able to view (properly sanitized!) log messages in the future non-interactive updater, which would make this obvious. |
This salt state is (currently) rather important for qubes to work, so besides basic salt tests, verify this one explicitly too. This allows detecting bugs like QubesOS/qubes-issues#7891 (cherry picked from commit 79e3ddb)
Automated announcement from builder-github The component
Or update dom0 via Qubes Manager. |
Add patched salt package with backported patch for Python 3.11. QubesOS/qubes-issues#7891 QubesOS/qubes-issues#6982
Carry the patch locally, until upstream does new release. For reference: saltstack/salt#62676 Fixes QubesOS/qubes-issues#7891
Add patched salt package with backported patch for Python 3.11. QubesOS/qubes-issues#7891 QubesOS/qubes-issues#6982
While salt in dom0 is not affects, it is in Fedora 37. While waiting for new upstream release (and have it packaged in Fedora), push update with the patch directly. saltstack/salt#62676 saltstack/salt#63631 QubesOS/qubes-issues#7891
As #8784 was closed as duplicate of this one, please re-open this one. |
That ticket says using debian-11 mgmt qube for managing debian-12 fails. I don't think that's supportable configuration - mgmt qube (default-mgmt-dvm by default) should be at least the version of the target qube (regarding salt version). So, using debian-12 to manage debian-12 can work. Using sufficiently new fedora to manage debian-12 should also work. But not the other way around. That's why several of Fedora template announcements reminds to switch default-mgmt-dvm too, and why it's explicitly reminded at https://www.qubes-os.org/doc/templates/#switching |
sudo qubesctl --skip-dom0 --targets=fedora-37 --show-output state.sls update.qubes-vm
Originally posted by @noskb in QubesOS/updates-status#3189 (comment)
The text was updated successfully, but these errors were encountered: