Description of problem: Version-Release number of selected component (if applicable): Build: Satellite 6.4.0 snap19 and BETA How reproducible: Always Steps to Reproduce: 1. Have a External Capsule, configured with provisioning setup 2. Create a host on the Capsule on any CR 3. Actual results: Host is created but, unattended url of the capsule is HTTPS , so it is not able to fetch required files Expected results: Host should be created and provisioned Additional info: Pxelinux template rendered for the given host provisioned on capsule # This file was deployed via 'Kickstart default PXELinux' template TIMEOUT 10 DEFAULT Kickstart default PXELinux LABEL Kickstart default PXELinux KERNEL boot/RedHat-7.5-x86_64-vmlinuz APPEND initrd=boot/RedHat-7.5-x86_64-initrd.img ks=https://Capsule:9090/unattended/provision?token=12a89e4d-80a3-4437-b952-c96e9141bc3b network ksdevice=bootif ks.device=bootif BOOTIF=00-00-1a-4a-16-01-b2 kssendmac ks.sendmac inst.ks.sendmac IPAPPEND 2
I can confirm, the feature actually does not work correctly, unit tests are incorrect. You can reproduce by setting Templates Capsule and then rendering PXELinux. It returns Capsule URL instead of Capsule HTTP port (8000) and in logs there is this error message: [W|tem|] unable to obtain template url set by proxy https://next.nat.lan:9090/unattended. falling back on proxy url
*** Bug 1626833 has been marked as a duplicate of this bug. ***
Build: Satellite 6.4.0 snap24 The Host was successfully provisioned through external Capsule and Template was rendered successfully with external capsule URL and port ks=http://ext-cap:8000/unattended/provision
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927