-
-
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
Applying Salt states does not apply them to targets other than dom0 #7742
Comments
Update triggering this issue: https://bodhi.fedoraproject.org/updates/FEDORA-2022-2060a6228d |
Given the severity, do you have recommendations on how we should advise our users until this issue is resolved upstream? For example, we could instruct folks to downgrade |
Thank you @marmarek for the blazing fast answer! I can confirm that downgrading the Salt package in the # fedora-36
sudo dnf downgrade salt
# Then shut down the template and wait for a couple of minutes before applying the Salt state again. Command output. Summary: the package salt and salt-ssh were downgraded to version 3004.
|
The Salt update doesn't seem to be a security update at least:
|
This seems to be (still) related to saltstack/salt#60003. We have workaround for it, but 3005 includes a (apparently only partial) fix, so the workaround is not applied anymore. I'll adjust the workaround to apply for 3005 too. Since this bug may prevent installing updates in fedora-36 template, I'll make dom0 apply it, so installing dom0 updates will be enough. |
This makes it work even if the bug prevents installing template updates. QubesOS/qubes-issues#7742
@eloquence @gonzalo-bulnes see linked PR, can you confirm it fixes the issue on your side too? Just applying dom0 change ( If that works, I can push it to current-testing repo today, and possibly have accelerated path for moving it to the "current" repo. |
Thanks Marek for the quick turnaround. As noted on the PR, a couple of us have verified the fix - if it's possible to accelerate the transition to stable, that would be super helpful given the magnitude of the impact. |
I put wrong issue number in the commit message, so notifications are not posted here, but the fix is in the current-testing repository already. |
Uploaded to the "current" repo. |
I don't see it in https://yum.qubes-os.org/r4.1/current/dom0/fc32/rpm/ yet, is that expected or did things get stuck somewhere? |
@eloquence : not yet in the current repo but in the current-testing ( https://yum.qubes-os.org/r4.1/current-testing/dom0/fc32/rpm/ ). Also, you can follow the progress of the package (from current-testing to stable) with QubesOS/updates-status#3042 . |
Now should be really there. |
How to file a helpful issue
Qubes OS release
R4.1.1 Fully up-to-date.
I also know of a system that was last updated early July that did not present this behavior. Once updated, it does. (Props: @nathandyer!)
Brief summary
When applying Salt states, they are not applied to targets other than dom0. Instead a single generic state is applied:
Relevant states are applied to dom0 as expected.
Steps to reproduce
ssh-vault
)/var/log/qubes/mgmt-ssh-vault.log
)Expected behavior
In my example, the expected log output is the following:
(The timestamps are real, I ran this same command a few weeks ago.)
Actual behavior
Today, the same command results in the following log:
The text was updated successfully, but these errors were encountered: