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

[RFE] Move to nmcli or nmstate to replace shell hacking #696

Open
e-minguez opened this issue Jul 25, 2019 · 3 comments
Open

[RFE] Move to nmcli or nmstate to replace shell hacking #696

e-minguez opened this issue Jul 25, 2019 · 3 comments

Comments

@e-minguez
Copy link
Contributor

Describe the bug
Currently there are ifcfg-* files all around and it seems they are deprecated in RHEL8. Instead we should move to a more declarative way of doing it (like using nmstate) or at least NetworkManager stuff

To Reproduce
Try to setup the network in the RHEL8 way.

Expected/observed behavior
Currently ifcfg-* files are used and the legacy network service.

Additional context
Related to #688 and #689

@celebdor
Copy link
Collaborator

can you provide some example of those ifcfg files?

@e-minguez
Copy link
Contributor Author

can you provide some example of those ifcfg files?

As in #688 comments, network scripts has been deprecated in RHEL8 so if you don't enable the deprecated network service and reboot the helper node, the ifcfg-baremetal and ifcfg-provisioning files are not processed, hence not reachable.

@hardys
Copy link

hardys commented Jul 26, 2019

can you provide some example of those ifcfg files?

They're here:

https://github.com/openshift-metal3/dev-scripts/blob/master/02_configure_host.sh#L83..L109

The issue is that we should probably stop inlining the now-deprecated ifcfg files, and instead either use nmcli in those scripts, or perhaps nmstate to configure things declaratively.

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