You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converging a recipe with 3 or more windows_security_policy resources that require changes, one or more resources will converge correctly, and apply the proper changes, but show in the log as (up to date). The final report line also does not include the resources as having updated. Which resources report incorrectly is inconsistent between runs.
Chef Version
18.3.0
Platform Version
Observed on Windows 10
Replication Case
Using the Security Policy MMC snap-in (secpol.msc) or net accounts, set the following values:
Again using net accounts or the Security Policy snap-in, examine the three settings. Note that all three have updated.
NB these resources are not specific triggers of the bug and only just examples. In testing, the bug has been observed with any setting.
Client Output
Recipe: windows_secpol_test::default
* windows_security_policy[MinimumPasswordAge] action set[2023-12-01T09:43:30-08:00] INFO: Processing windows_security_policy[MinimumPasswordAge] action set (windows_secpol_test::default line 7)
- update MinimumPasswordAge
- set secvalue to "1" (was "2")
* windows_security_policy[LockoutBadCount] action set[2023-12-01T09:43:32-08:00] INFO: Processing windows_security_policy[LockoutBadCount] action set (windows_secpol_test::default line 11)
- update LockoutBadCount
- set secvalue to "10" (was "4")
* windows_security_policy[PasswordComplexity] action set[2023-12-01T09:43:33-08:00] INFO: Processing windows_security_policy[PasswordComplexity] action set (windows_secpol_test::default line 15)
(up to date)
[2023-12-01T09:43:34-08:00] WARN: Skipping final node save because override_runlist was given
[2023-12-01T09:43:34-08:00] INFO: Chef Infra Client Run complete in 10.2564524 seconds
[2023-12-01T09:43:34-08:00] INFO: Skipping removal of unused files from the cache
Running handlers:
[2023-12-01T09:43:34-08:00] INFO: Running report handlers
Running handlers complete
[2023-12-01T09:43:34-08:00] INFO: Report handlers complete
Infra Phase complete, 2/3 resources updated in 25 seconds
Stacktrace
N/A
The text was updated successfully, but these errors were encountered:
Description
When converging a recipe with 3 or more
windows_security_policy
resources that require changes, one or more resources will converge correctly, and apply the proper changes, but show in the log as(up to date)
. The final report line also does not include the resources as having updated. Which resources report incorrectly is inconsistent between runs.Chef Version
18.3.0
Platform Version
Observed on Windows 10
Replication Case
Using the Security Policy MMC snap-in (secpol.msc) or
net accounts
, set the following values:Converge the following resources:
Again using
net accounts
or the Security Policy snap-in, examine the three settings. Note that all three have updated.NB these resources are not specific triggers of the bug and only just examples. In testing, the bug has been observed with any setting.
Client Output
Stacktrace
N/A
The text was updated successfully, but these errors were encountered: