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

DHCP timeout will cause software interface deleted in libnmstate.show(). #775

Closed
cathay4t opened this issue Feb 12, 2020 · 5 comments
Closed

Comments

@cathay4t
Copy link
Member

The NM will delete the device if DHCP timeout on software interface(like bond).

nmstate is using NM.Client.get_devices() for the interface list.

@cathay4t
Copy link
Member Author

@cathay4t
Copy link
Member Author

@ffmancera @tyll @EdDev I recall you guys talk about this issue in a meeting. Can anyone of you input anything valuable here before I consult with NM guys?

@EdDev
Copy link
Member

EdDev commented Feb 12, 2020

This is what we do in VDSM to make sure the devices are not deleted:
https://github.com/oVirt/vdsm/blob/2ce23206ab39f2a6a8f6d236fb44200fd950268d/static/etc/NetworkManager/conf.d/vdsm.conf#L12

We need to add this in nmstate as this seems to make more sense as the default.
There is however another issue with RA infinite timeout, which NM does not support yet and we need to probably use sysfs to set.

@ffmancera
Copy link
Member

Could we closed this? @cathay4t

@cathay4t
Copy link
Member Author

Fix has been included in master and v0.2.6.

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