action #66685
closed[functional][y] Create automated test for "try" feature used in ifcfg option.
0%
Description
Here are the possible use cases to test:
Pre-conditions:
- Run installer with several Network Interfaces. Set link state to OFF for all of them except the last one (e.g. set OFF for eth0, eth1, but leave it ON for eth2). In Virtual Manager it could be done by unchecking "Link state" checkbox in NIC settings. So, for automating the condition it is required to find a way to do so programmatically.
- Virtual network is configured with DHCP (or without DHCP when static IP is used for testing
try
feature).
Tests:
Verify, that installation resource is available when try
is used with dhcp
.
NOTE: When using ifcfg with dhcp and with try
feature, Linuxrc tries to assign the DHCP configuration to the available Network Interfaces one by one to make the installation resource reachable. When using ifcfg without try
feature, Linuxrc will assign DHCP configuration to all of the interfaces at once.
- In bootloader options, enter
ifcfg=eth*=try,dhcp install=<path_to_resource>
(e.g. path_to_resource: ftp://openqa.suse.de/SLE-15-SP2-Online-x86_64-Build189.1-Media1); - Verify, that eth2 received IP address and the medium is reachable (e.g. check that installation is started).
- Additionally, check that each Network Interface is tried to be configured one by one (This check could be performed, because when using
ifcfg=eth*=dhcp
(withouttry
feature), DHCP configuration is assigned to all devices at once).
Verify, that installation resource is available when try
is used with static IP.
NOTE: When using ifcfg with static IP and with try
feature, Linuxrc tries to assign the IP configuration to the available Network Interfaces one by one to make the installation resource reachable. When using ifcfg without try
feature, Linuxrc will try to assign the IP to the first Network Interface (e.g. eth0) and for others it will assign dhcp configuration.
- In bootloader options, enter
ifcfg=eth*=IP_LIST,GATEWAY_LIST install=<path_to_resource>
(e.g.ifcfg=eth*=192.168.100.2/24,192.168.100.1 install=ftp://openqa.suse.de/SLE-15-SP2-Online-x86_64-Build189.1-Media1
); - Verify, that eth2 received IP address and the medium is reachable (e.g. check that installation is started).
Updated by riafarov over 4 years ago
- Category set to New test
- Priority changed from Normal to Low
- Target version set to future
Feature was requested by single customer, so lowering the priority.
Updated by riafarov about 4 years ago
- Project changed from openQA Tests (public) to qe-yam
- Category deleted (
New test)