Skip to content
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

nmstate and edpm_network_config_update #820

Open
dudy-duce opened this issue Nov 17, 2024 · 4 comments
Open

nmstate and edpm_network_config_update #820

dudy-duce opened this issue Nov 17, 2024 · 4 comments

Comments

@dudy-duce
Copy link

dudy-duce commented Nov 17, 2024

Hello,

When using edpm_network_config_tool: nmstate, there is no trace of a potential previous execution as is done with os-net-config. Therefore, the variable edpm_network_config_update does not work when using nmstate and the network system role so network configuration is updated at every run.

Thanks

@slagle
Copy link
Contributor

slagle commented Nov 20, 2024

Thanks for reporting this issue. I've filed it here: https://issues.redhat.com/browse/OSPRH-11795

@rabi
Copy link
Contributor

rabi commented Nov 22, 2024

Did you try using the nmstate provider with os-net-config instead? i.e Don't change edpm_network_config_tool ansible var, but set edpm_network_config_nmstate: true. I think os-net-config has support for nmstate config and it's now the default provider[1]. Looks like os-net-config-18.0.1 ships with OSP18 and the feature may work.

[1] os-net-config/os-net-config@5d6a3ca

@dudy-duce
Copy link
Author

Thank you for your feedback. I know it works with os-net-config, and I'm not looking for a workaround. I opened this issue to highlight a problem when using nmstate, aiming to improve its usage through the RHEL system role network and potentially make it the default provider in the future. I don't believe this would require a significant development effort, and I’m willing to contribute if you’re interested.

@rabi
Copy link
Contributor

rabi commented Nov 25, 2024

OK. I think the current plan is to use os-net-config as the wrapper tool with different providers, for both native(os-net-config config) and nmstate config, though it would be good to support the same behavior with RHEL system role. Feel free to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants