Description of problem: Currently with sat6.2 snap3 installer installs only below package. ]# rpm -qa | grep discovery tfm-rubygem-foreman_discovery-5.0.0.1-1.el7sat.noarch However, following packages should be auto installed with installer rubygem-smart_proxy_discovery- rubygem-hammer_cli_foreman_discovery Version-Release number of selected component (if applicable): Sat6.2 snap3 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: sat6.2 snap3 installer installs only tfm-rubygem-foreman_discovery package. It doesn't install smart_proxy_discovery and cli_foreman_discovery Expected results: smart_proxy_discovery and cli_foreman_discovery should be installed with installer. Additional info:
This has always been issue downstream, hopefully scenarios will solve this forever.
I've added migration that enables optins for the discovery plugin to foreman proxy. This allows installer to install the plugin and its dependences. To test you should see the installer options: [root@sat-rhel7 ~]# satellite-installer --scenario satellite --help |grep discovery --[no-]enable-foreman-plugin-discovery Enable 'foreman_plugin_discovery' puppet module (default: true) --[no-]enable-foreman-proxy-plugin-discovery Enable 'foreman_proxy_plugin_discovery' puppet module (default: true) = Module foreman_plugin_discovery: --foreman-plugin-discovery-image-name tarball with images (default: "fdi-image-latest.tar") --foreman-plugin-discovery-install-images should the installer download and setup discovery images --foreman-plugin-discovery-source-url source URL to download from (default: "http://downloads.theforeman.org/discovery/releases/latest/") --foreman-plugin-discovery-tftp-root tftp root to install image into (default: "/var/lib/tftpboot") = Module foreman_proxy_plugin_discovery: --foreman-proxy-plugin-discovery-image-name tarball with images (default: "fdi-image-latest.tar") --foreman-proxy-plugin-discovery-install-images should the discovery image be downloaded and extracted (default: false) --foreman-proxy-plugin-discovery-source-url source URL to download from (default: "http://downloads.theforeman.org/discovery/releases/latest/") --foreman-proxy-plugin-discovery-tftp-root tftp root to install image into (default: "/var/lib/tftpboot") and installed dependences after the installer run: [root@sat-rhel7 ~]# rpm -qa|grep discovery tfm-rubygem-hammer_cli_foreman_discovery-0.0.2.3-1.el7sat.noarch tfm-rubygem-foreman_discovery-5.0.0.8-1.el7sat.noarch rubygem-smart_proxy_discovery-1.0.3-3.el7sat.noarch
Verified with satellite 6.2.2 Snap 1.0 I can see installed discovery packages with installer. ~]# satellite-installer --scenario satellite --foreman-admin-password changeme Installing Done [100%] [..................................................................] Success! * Satellite is running at https://qebladexx.xx.xx.redhat.com Initial credentials are admin / changeme * To install additional capsule on separate machine continue by running: capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar" The full log is at /var/log/foreman-installer/satellite.log [root@qeblade36 ~]# rpm -qa | grep discovery tfm-rubygem-foreman_discovery-5.0.0.9-1.el7sat.noarch tfm-rubygem-hammer_cli_foreman_discovery-0.0.2.3-1.el7sat.noarch rubygem-smart_proxy_discovery-1.0.3-3.el7sat.noarch ~]# satellite-installer --scenario satellite --help |grep discovery --[no-]enable-foreman-plugin-discovery Enable 'foreman_plugin_discovery' puppet module (default: true) --[no-]enable-foreman-proxy-plugin-discovery Enable 'foreman_proxy_plugin_discovery' puppet module (default: true) = Module foreman_plugin_discovery: --foreman-plugin-discovery-image-name tarball with images (default: "fdi-image-latest.tar") --foreman-plugin-discovery-install-images should the installer download and setup discovery images --foreman-plugin-discovery-source-url source URL to download from (default: "http://downloads.theforeman.org/discovery/releases/latest/") --foreman-plugin-discovery-tftp-root tftp root to install image into (default: "/var/lib/tftpboot") = Module foreman_proxy_plugin_discovery: --foreman-proxy-plugin-discovery-image-name tarball with images (default: "fdi-image-latest.tar") --foreman-proxy-plugin-discovery-install-images should the discovery image be downloaded and extracted (default: false) --foreman-proxy-plugin-discovery-source-url source URL to download from (default: "http://downloads.theforeman.org/discovery/releases/latest/") --foreman-proxy-plugin-discovery-tftp-root tftp root to install image into (default: "/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/RHBA-2016:1885