-
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
Global network settings always report changes when test=True #56361
Comments
im having a hard time replicating this. can you paste a sanitized version of what is
|
I'm not sure that this information is relevant, but there are tons of Debian network fixes that were merged to the old Neon branch but weren't backported: #56353 |
@Ch3LL Here is it. old:
new:
The value of The issue seems to be in the salt/salt/modules/debian_ip.py Lines 2024 to 2029 in b4dd235
BTW the content of
AFAIK there's no need to update this file (
|
hmmm if both old and new are identical it should be returning no changes according to the code. Thats what its returning when you run with |
You asked me to log the output of old (ip.get_network_settings):
new (ip.build_network_settings):
|
oh your totally right. i asked for the wrong log output for |
FYI this issue is also present in version 3000.3. |
Description of Issue
When a state containing
network.system
is applied in test mode, Salt always return changes to apply even if the current configuration is up-to-date.Setup
Steps to Reproduce Issue
Execute the state file bellow in test mode:
Salt return changes to be made.
Then run the same state without test mode enabled:
Versions Report
The text was updated successfully, but these errors were encountered: