Bug 1181461

Summary: Install discovery plugin and smart proxy plugin by default
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: InstallationAssignee: Jason Montleon <jmontleo>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, bkearney, cwelton, jmontleo, jsherril, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:21:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1190665    
Bug Blocks: 1193977    

Description Lukas Zapletal 2015-01-13 08:54:24 UTC
We need a change in the installer to install discovery by default.

Comment 2 Lukas Zapletal 2015-02-11 12:17:12 UTC
Regression in Satellite 6.1 due to:

commit d6b860ec12c775ed14572cd6ed4e7c01d5d6808c
Author:     Eric D. Helms <ericdhelms>
AuthorDate: Tue Feb 3 03:29:32 2015 -0500
Commit:     Eric D. Helms <ericdhelms>
CommitDate: Tue Feb 3 03:29:32 2015 -0500

    Refs #9200: Disable discovery for nightlies.
---
 config/answers.katello-installer.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/answers.katello-installer.yaml b/config/answers.katello-installer.yaml
index eb96bf9..3e6feaf 100644
--- a/config/answers.katello-installer.yaml
+++ b/config/answers.katello-installer.yaml
@@ -27,7 +27,7 @@ capsule:
   puppetca: true

 foreman::plugin::bootdisk: true
-foreman::plugin::discovery: true
+foreman::plugin::discovery: false #http://projects.theforeman.org/issues/9200
 foreman::plugin::hooks: true
 foreman::plugin::tasks: true
 foreman::plugin::chef: false

For proxy we need to add the package actually: https://bugzilla.redhat.com/show_bug.cgi?id=1190665

Comment 3 Justin Sherrill 2015-02-11 16:31:27 UTC
Note this will need to be a downstream only fix, upstream is no longer including discover by default (in fact we can't in nightly currently)

Comment 8 Sachin Ghai 2015-03-04 12:28:01 UTC
verified with:

sat6.1 beta snap4 compose2
Satellite-6.1.0-RHEL-7-20150225.0
Satellite-6.1.0-RHEL-6-20150225.0

Discovery plugin installed by default and related rpm is:

ruby193-rubygem-foreman_discovery-2.0.0.5-1.el6_6sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.5-1.el7sat.noarch

Please note that proxy plugin still needs to be installed manually as per comment 5.

Comment 9 Bryan Kearney 2015-08-11 13:28:47 UTC
This bug is slated to be released with Satellite 6.1.

Comment 10 errata-xmlrpc 2015-08-12 05:21:48 UTC
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-2015:1592