Project

General

Profile

action #166628

Updated by JERiveraMoya about 2 months ago

#### Motivation 
 There If the agama s390x iso is a character limit of <=80 characters in s390x, for OSD we workaround this problem using a inside the extracted folder( ex: repo_999 ), it will have long url shortener, like http://s.qa.suse.de/ to be cut then can't download the iso. https://openqa.opensuse.org/tests/4466445#step/boot_agama/29, but if the iso is under repo/ at the moment we don't have anything equivalent for O3. Some colleagues recommended https://v.gd/ but some initial test showed that cannot shorten ftp urls. 
 A better solution is the one recommeded by any issue. 

 Suggestion from Matthias, https://suse.slack.com/archives/C02CLB2LB7Z/p1725951888976369, 'the parmfile can be stored somewhere in e.g. a ftp server and then be loaded with a command ยด(iirc parmfile=<some url> , this will also mitigate the character limit'. 
 A challenge with this solution would be that this file will have dynamic content and perhaps some os-autoinst functionality might 

 We need to be implemented to manipulate it, that might require investigation. 

 QE Yam encountered this problem when loading agama isos, because the way the iso is loaded: 
 `root=live:ftp://" . get_var('REPO_HOST', 'openqa') . '/' . get_var('REPO_999')` 

 Now `install=` parameter is not available for agama, so this make investigate it longer along with the the name if the iso itself (which is represented by REPO_999, as a trick for openQA to keep the asset the iso inside /repos/ folder in the server). 
 With names like this one, we pass then the avoid character limit of characters: 
 `root=live:ftp://10.150.1.11/agama-installer.s390x-10.0.0-openSUSE-Build25.31.iso` 

 The workaround right now is on s390x for agama test.  
 Refer to shorten the name of the iso manually (or perhaps we will get a small feature tests/installation/bootloader_s390.pm for changes in obs sync tool) to: 
 ``root=live:ftp://10.150.1.11/agama.s390x-10.0.0-Build25.31.iso` PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19972 for agama parmfile on s390x. 

 #### Acceptance criteria 
  **AC1**: Find some url shortener Load parmfile to avoid character limit on s390x for O3 or implement this loading of the parmfile. agama test.

Back