-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] [RC1 Sodium] Windows - traceback on grain pending_reboot.pending_reboot #57628
Comments
I see "Access is denied" which indicates that the process running your salt-minion, salt-call, whomever in this case doesn't have privledges to launch a "SystemInfo" instance. Basically, the grain that loads up at startup has to get through this block of code and it clearly isnt:
Two things should happen on our part:
@cmcmarrow @twangboy any thoughts on that? |
@dafenko When you had this failure, what user was running salt? |
Hi, this is in a Kitchen test environment, so in this case the user is These commands are called over winrm, so I have a feeling that this has to do with the fact that Win Update commands can't be called remotely. |
To my knowledge we have passing tests for this and our tests run in kitchen env's so I'm still wondering about that, I personally haven't experienced issues calling COM related win32 stuff remotely. It could be something else (COM object is already initialized and running under a different security context) and in this case, that is throwing both errors "Access is denied" and "Operation unavailable"... Trying to repro this |
I also see the minion isn't failing, and the CI pipeline continues just fine. Maybe we'll make this grain optional in some capacity. |
ci: avoid `init_environment` failing due to saltstack/salt#57628
@dafyddj Are you still seeing this error? |
Yes, we are. It still affects our test environment. |
@twangboy, do you have a workaround for disabling the "pending reboot" grain on a salt-minion 3001? salt-call test.version During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Looks like this has been addressed by this PR: #58495 |
Closing this issue unless you're still experiencing @dafyddj |
Description
Sodium RC1 generates a traceback while loading the grain
pending_reboot.pending_reboot
.Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info).
See
dafyddj/openvpn-formula
for test setup.Steps to Reproduce the behavior
(Include debug logs if possible and relevant)
This happens during testing of
openvpn-formula
using either Vagrant locally or can be seen in GitHub Actions CI.See here
Expected behavior
No traceback.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: