Alma Linux Katello 3.18 url mismatch

Problem:
Alma Linux can’t be deployed due to wrong repo url

Expected outcome:
Install Alma Linux via kickstart

Foreman and Proxy versions:
Foreman 2.3.5
Foreman-Proxy 2.3.5

Foreman and Proxy plugin versions:
Katello 3.18.5

Distribution and version:
CentOS 7 latest

Other relevant data:
We want to deploy Alma Linux and it failed in early stages of the minimal environment. The logs of the apache2 explain, why it is failing. Alma want to have access to /os instead of / of the url.

In the kickstart template, I tell to use http://foreman.example.com/pulp/repos/org/Library/custom/AlmaLinux/AlmaLinux-8_5-AppStream-kickstart/, but Alma want to use http://foreman.example.com/pulp/repos/org/Library/custom/AlmaLinux/AlmaLinux-8_5-AppStream-kickstart/os. This directory does not exist.

Thank you very much

@balu can you please share the rendered kickstart template? You should be able to grab it from the UI

Hi @Jonathon_Turel , sure this is what the provision template gives me for this host

url --url http://foreman.example.net/pulp/repos/org/Library/custom/AlmaLinux/AlmaLinux-8_5-BaseOS/
repo --name AlmaLinux_8_for_x86_64_-_AppStream_Kickstart_8 --baseurl http://foreman.example.net/pulp/repos/org/Library/custom/AlmaLinux/AlmaLinux-8_5-AppStream-kickstart/


lang en_US.UTF-8
selinux --permissive
keyboard de
skipx

  
network --bootproto static --ip=10.0.230.169 --netmask=255.255.248.0 --gateway=10.0.224.1 --nameserver=10.0.2.166,10.0.23.159 --hostname testerver.example.net --device=00:50:56:a8:2b:82

rootpw --iscrypted $5$01klgaV7xfNM0Rwj$d9acCTEY.jDKvt3wyp5D44af4P7ebFasH4sC2BEZmo2
firewall --disabled
timezone --utc UTC

bootloader --location=mbr

#Dynamic - this line tells Foreman this is a script rather then a static layout

zerombr
...

I think, the rest is not interesting, isn’t it? The installation breaks on receiving packages due to a wrong url.

Thank you!

1 Like

I solved it. Problem was .treeinfo with a relative url to AppStream in BaseOS repo. Removed these lines - it is working now.