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.
Updated by JERiveraMoya about 2 months ago
- Subject changed from [Research] Load parmfile to avoid character limit on s390x for agama test to Avoid character limit on s390x in O3
- Description updated (diff)
Updated by JERiveraMoya about 1 month ago
For now we need to do manually for devel (tumbleweed) in O3 like this for each build we want to try:
cd /var/lib/openqa/factory/repo/
mv agama-installer.s390x-10.0.0-openSUSE-Build<version>.iso agama.s390x-10.0.0-Build<version>.iso
and for Leap probably doesn't even worth to try because there is not desktop/FF yet and with the additional repo in kernel boot params it will not fit and cannot be shortened.
Updated by JERiveraMoya about 1 month ago
- Related to action #167093: Detect end of agama auto-installation in s390x using for example logs added