action #166628
openAvoid character limit on s390x in O3
0%
Description
Motivation¶
There is a character limit of <=80 characters in s390x, for OSD we workaround this problem using a url shortener, like http://s.qa.suse.de/ but 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 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= , 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 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 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 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 to shorten the name of the iso manually (or perhaps we will get a small feature in obs sync tool) to:
`root=live:ftp://10.150.1.11/agama.s390x-10.0.0-Build25.31.iso
But this doesn't really scale, because then we have other parameters like the repos to install in Leap, which are not going to fit either:
agama.install_url=https://openqa.opensuse.org/assets/repo/Leap-16.0-aarch64-ppc64le-s390x-x86_64-Build39.1
Acceptance criteria¶
AC1: Find some url shortener for O3 or implement this loading of the parmfile.