Bug #27570
closedRebuild RHEL8 with Appstream kickstart repo fails to install redhat-lsb-core and wget packages
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1720668
Description of problem:
When rebuild RHEL8 again after the first build , it fails to install redhat-lsb-core and wget packages.
Version-Release number of selected component (if applicable):
Satellite 6.5
How reproducible:
100%
Steps to Reproduce:
1. Add the following repositories to the used content-view for provisioning and publish/promote it
Red Hat Enterprise Linux 8 for x86_64 - AppStream Kickstart x86_64 8
Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs x86_64 8
Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs x86_64 8
Red Hat Satellite Tools 6.5 for RHEL 8 x86_64 RPMs x86_64
2.Build the RHEL8 machine.
This will add the following line to the provisioning template:
repo --name Red_Hat_Enterprise_Linux_8_for_x86_64_-_AppStream_Kickstart_x86_64_8 --baseurl http://[SAT-NAME]/pulp/repos/Dorganization/Library/RHEL8-Provisioning/content/dist/rhel8/8/x86_64/appstream/kickstart/
3. After the rebuild is finished, try to rebuild the machine again.
Actual results:
1. The following line is now added to the provisioning template :
repo --name Red_Hat_Enterprise_Linux_8_for_x86_64_-_AppStream_Kickstart_x86_64_8 --baseurl http://[SAT-NAME]/pulp/repos/Dorganization/Library/RHEL8-Provisioning/content/dist/rhel8/8/x86_64/appstream/kickstart/
2. Fails on redhat-lsb-core and wget packages installation
Expected results:
Not to fail
Additional info:
Workaround has been applied by the customer by cloning the original template and hard-coded the missing line on it and use it instead of the original template.