action #15740
closedhostname.pm: Network setup won't persist on Xen
0%
Description
https://openqa.suse.de/tests/692200#step/yast2_lan/12
On qemu backend as well as KVM via svirt backend hostname and domain name are set to 'susetest' and '', respectively. However, on Xen HVM via svirt backend it's '1c137' and 'qa.suse.de', respectively.
The difference between qemu/KVM and Xen via svirt is that the former use user-mode networking and the latter bridged.
tests/console/hostname.pm
:
script_run "systemctl status network.service";
save_screenshot;
assert_script_run "if systemctl -q is-active network.service; then systemctl reload-or-restart network.service; fi";
After the systemctl reload-or-restart network.service
the hostmane/domain name is re-set on Xen.
Updated by michalnowak over 8 years ago
- Status changed from New to Feedback
Updated by michalnowak over 8 years ago
- Status changed from Feedback to In Progress
Taking different approach.
Updated by michalnowak over 8 years ago
- Status changed from In Progress to Feedback
Updated by michalnowak over 8 years ago
Strangely once redefine_svirt_domain.pm
is not used, network behaves as we are used to. Reverting those code changes and needle:
https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/288
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2328
Updated by michalnowak over 8 years ago
- Status changed from Feedback to Resolved