action #159414
Updated by tinita 6 months ago
https://progress.opensuse.org/issues/159414 Ensure that os-autoinst-setup-multi-machine reliably sets firewall zones not interfering with /etc/sysconfig/network/ifcfg-* size:S ## Motivation As observed in #157414 there is /etc/sysconfig/network/ifcfg-eth0 mentioning `ZONE=public` and the XML files of firewall mentioning either that or something different. We should ensure that os-autoinst-setup-multi-machine really works with wicked using and writing /etc/sysconfig/network/ifcfg-* and not against it. ## Acceptance criteria * **AC1:** os-autoinst-setup-multi-machine ensures that the correct firewall zone is used consistently also after reboot * **AC1:** os-autoinst-setup-multi-machine ensures that the correct firewall zone is used even if /etc/sysconfig/network/ifcfg-* already mentions another zone ## Suggestions * Try out current automated tests by looking at https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=openqa&flavor=dev&machine=64bit-4G&test=openqa_install_multimachine&version=Tumbleweed , potentially using the developer mode or cloning it locally * See how those tests call os-autoinst-setup-multi-machine already: https://github.com/os-autoinst/os-autoinst-distri-openQA/blob/4bc896ba039de2172e80f63f0d2d5d9dd0d7cc28//tests/install/openqa_worker.pm#L22 * Maybe wicked/networkmanager mode can be altered with a simple variable to call * Crosscheck what https://github.com/os-autoinst/os-autoinst/blob/master/script/os-autoinst-setup-multi-machine os-autoinst-setup-multi-machine expects and does regarding firewall zones * Ensure that /etc/sysconfig/network/ifcfg-* zone settings are read or updated accordingly by os-autoinst-setup-multi-machine * Look into what was already done as part of https://github.com/os-autoinst/os-autoinst/pull/2491 * In particular consider NetworkManager