With the out-of-box configuration of Satellite 6 (`katello-installer` with no options), the only method available for the end user to provision a new system is via foreman_bootdisk. This RFE requests setting '--capsule-tftp true' by default , i.e. (when katello-installer is invoked with no options).
For end users who wish to provision via PXE, this has been an additional step that needed to be done post installation.
Adding TFTP (by default) will allow:
* The end user to provision using a method other than the bootdisk options
with no further configuration (in the installer)
* An out-of-box experience more similar to Satellite 5.x
* behavior consistent with upstream Foreman, which does ship with TFTP enabled.
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
This is ON_QA and marked for 6.3?
Anyway, it fails on 6.2. Not sure why it's not working, tftp is default 'true' on the foreman-proxy module.
A clean install gives me:
[root@sat-snap-rhel7 scenarios.d]# hammer -u admin -p changeme capsule info --id 1
updated PR https://github.com/Katello/katello-installer/pull/377
I think this needs changes in satellite-installer, tftp is not enabled on embedded capsule after a fresh install.
6.3.0 snap 13
Fixed downstream here:
Works upstream fine, flipping back to on QA.
[root@centos7-katello-nightly ~]# cat /etc/foreman-installer/scenarios.d/katello-answers.yaml | grep tftp
Build: Satellite 6.3.0 snap 33
[root@ibm-x3650m4-02-vm-02 ~]# satellite-installer --scenario satellite
Installing Done [100%] [................................................................................................................................]
* Satellite is running at https://sat-host
Initial credentials are admin / kXG8LMK8fvzL7Bcg
* To install an additional Capsule on separate machine continue by running:
capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" --certs-tar "/root/$CAPSULE-certs.tar"
* To upgrade an existing 6.2 Capsule to 6.3:
Please see official documentation for steps and parameters to use when upgrading a 6.2 Capsule to 6.3.
The full log is at /var/log/foreman-installer/satellite.log
[root@ibm-x3650m4-02-vm-02 ~]# hammer capsule info --id 1
Created at: 2018/01/29 07:46:14
Updated at: 2018/01/29 07:46:15
[root@ibm-x3650m4-02-vm-02 ~]# satellite-installer --help | grep tftp
--foreman-plugin-discovery-tftp-root TFTP root to install image into (current: "/var/lib/tftpboot")
--foreman-proxy-tftp Enable TFTP feature (current: true)
--foreman-proxy-tftp-dirs Directories to be create in $tftp_root (current: ["/var/lib/tftpboot/pxelinux.cfg", "/var/lib/tftpboot/grub", "/var/lib/tftpboot/grub2", "/var/lib/tftpboot/boot", "/var/lib/tftpboot/ztp.cfg", "/var/lib/tftpboot/poap.cfg"])
--foreman-proxy-tftp-listen-on TFTP proxy to listen on https, http, or both (current: "https")
--foreman-proxy-tftp-manage-wget If enabled will install the wget package (current: true)
--foreman-proxy-tftp-managed TFTP is managed by Foreman proxy (current: true)
--foreman-proxy-tftp-root TFTP root directory (current: "/var/lib/tftpboot")
--foreman-proxy-tftp-servername Defines the TFTP Servername to use, overrides the name in the subnet declaration (current: UNDEF)
--foreman-proxy-tftp-syslinux-filenames Syslinux files to install on TFTP (full paths) (current: ["/usr/share/syslinux/chain.c32", "/usr/share/syslinux/mboot.c32", "/usr/share/syslinux/menu.c32", "/usr/share/syslinux/memdisk", "/usr/share/syslinux/pxelinux.0"])
--foreman-proxy-plugin-discovery-tftp-root tftp root to install image into (current: "/var/lib/tftpboot")
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:0336