-
Notifications
You must be signed in to change notification settings - Fork 1.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
nmcli error with "invalid or not allowed setting 'ipv4'" when running the playbook the 2nd time #8558
Comments
Files identified in the description: If these files are incorrect, please update the |
By `bond` connections being included in the `ip_conn_type` list, the resulting `nmcli` commands include references to `ipv4` and `ipv6` settings. These options are not available to `bond` connection types as stated by the error output in issue ansible-collections#8558. Closes ansible-collections#8558
By `bond` connections being included in the `ip_conn_type` list, the resulting `nmcli` commands include references to `ipv4` and `ipv6` settings. These options are not available to `bond` connection types as stated by the error output in issue ansible-collections#8558. Closes ansible-collections#8558
Hey @rabin-io, I've tracked this issue down to the
The issue here is that |
Hey @joey-grant, thank you for looking into it, and creating the PR. |
@rabin-io, actually the issue appears to be a bit different and my solution is 100% under-baked. Specifically, if we look at the
I'm sure someone who has a stronger understanding of your specific use-case may be able to shed light on this issue. [EDIT] Reran test and updated commands; left all calls in for additional context. Also, note that the IPs and interface names above are different due differences in my test environment. |
Summary
I can create a bond interface, with this example
It will run OK the first run, and I can also add the interfaces into it as well, but the 2nd time I run the playbook, I get this error message,
Issue Type
Bug Report
Component Name
nmcli
Ansible Version
OS / Environment
Fedora 40
Steps to Reproduce
Expected Results
No change for the 2nd run
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: