Satellite cannot provisioning CentOS 8 Server

Not sure if this will help anyone else but I am too impatient to wait for a real fix so here’s what I did:

I was getting the “…/…/…/AppStream/” error just like everyone else.
I read the googles.
Came up with bunk.
Impatience commenced.

Created /etc/httpd/conf.d/pulp_aliases.conf on my foreman server with the following contents:

Alias /pulp/repos/home/Library/BaseOS/x86_64/os /var/www/pub/yum/http/repos/home/Library/CentOS_8/custom/CentOS_8/CentOS_8_-_Base-x86_64
Alias /pulp/repos/home/Library/AppStream/x86_64/os /var/www/pub/yum/http/repos/home/Library/CentOS_8/custom/CentOS_8/CentOS_8
-AppStream-x86_64
Alias /pulp/repos/home/Library/centosplus/x86_64/os /var/www/pub/yum/http/repos/home/Library/CentOS_8/custom/CentOS_8/CentOS_8
-_centosplus-x86_64
Alias /pulp/repos/home/Library/Extras/x86_64/os /var/www/pub/yum/http/repos/home/Library/CentOS_8/custom/CentOS_8/CentOS_8
-_Extras-x86_64
Alias /pulp/repos/home/Library/PowerTools/x86_64/os /var/www/pub/yum/http/repos/home/Library/CentOS_8/custom/CentOS_8/CentOS_8
-_PowerTools-_x86_64

restorecon, chmod and chown the new file:

chown root: /etc/httpd/conf.d/pulp_aliases.conf
chmod 640 /etc/httpd/conf.d/pulp_aliases.conf
restorecon -vF /etc/httpd/conf.d/pulp_aliases.conf

restarted foreman stuffs:

foreman-maintain service restart

Partied on.

Note: you may have to tweak the aliases to match the names of your repositories. Once this is all fixed by whomever, you can delete the pulp_aliases.conf file but it shouldn’t hurt anything even after it is fixed.

3 Likes