-
Notifications
You must be signed in to change notification settings - Fork 106
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
s390x z/vm qeth support #489
Comments
the what playbook did you use to test this? Since the role does not support s390 options, I don't understand what you tested to get above output. |
We installed a z/vm fedora 35 instance. It was configured to have the needed s390x config and worked fine. We are using rhel-system-roles-1.7.3-2.el8.noarch
and the following vars:
Running that all seemed fine. Then we later rebooted and had no network device. So, the 3 additional lines needed for s390x were gone. So, I suppose this is just a case of us not knowing that s390x wasn't supported, but perhaps a check could be added if removing those options to warn the user that it may result in problems on s390x if they were set in old confirg but not new? Are there any plans for s390x support? |
when you run the role, it updates the ifcfg file. It does not merge it or try to preserve existing settings (except the These s390x parameters are almost not used by NetworkManager itself (except to restrict the profile to a certain device). They are mostly honored by udev rules, which read the ifcfg file (or since recently the keyfile) and apply setting when the device appears. Those udev rules only run when the device appears, so it's expected that you wouldn't notice a change until reboot.
I think not. Things get done when somebody sends a patch, or when somebody convinces somebody else to write a patch. A bug report or discussion might achieve the latter. The main problem is just how ugly this scheme is, where udev would read configuration files of NetworkManager and that it can only apply changes once. It would be nicer to have a scheme for configuring udev rules, then at least it's clear who does what. Printing a warning when the role overwrites s390x parameters seems sensible, in particular, because it possibly means udev will behave differently on next boot. |
Using the "zdev" (https://github.com/ibm-s390-linux/s390-tools/tree/master/zdev) mechanism it is possible to separate udev and networking configs. It works even now (on any recent Fedora and RHEL >= 8) , but it's still missing support in the installer. |
yes, either warning or keeping any settingsproperties that the role does not understand might be a good idea. What would be needed for s390 support in the role? It needs to expose the three properties s390-subchannels, s390-options and s390-nettype? Another option might be to introduce a network_s390 dictionary that uses the zdev mechanisms. @nirik would you prefer to have support for this in the network role or use the mechanism that @sharkcz described? |
Well, either one would work I guess... having them here would be a tad nicer if the installer doesn't support zdev, since you could then install and run linux-system-roles/networking to configure it. Thanks for looking into this! |
Greetings.
We have some s390x z/vm instances running Fedora 35.
They need:
In order to see/use their network adapter. If we simply add this to the ifcfg-enc900, things work, but linux-system-roles/network says:
So I guess we need a way to pass this configuration as options?
Happy to provide more info, etc.
The text was updated successfully, but these errors were encountered: