Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1324766

Summary: Installer create upstream openscap repo file by default
Product: Red Hat Satellite Reporter: Marek Hulan <mhulan>
Component: InstallationAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, cwelton, ehelms, kbidarka, oprazak, rplevka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14520
Whiteboard:
Fixed In Version: foreman-installer-1.11.0.2-1,foreman-installer-1.11.0.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:08:26 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:

Description Marek Hulan 2016-04-07 08:57:09 UTC
Description of problem:

When I run

    foreman-installer --enable-foreman-plugin-openscap

it automatically adds upstream isimluk-openscap repo.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. foreman-installer --enable-foreman-plugin-openscap
2. ls /etc/yum.repos.d/isimluk-openscap.repo

Actual results:

File is present

Expected results:

File is not present

Additional info:

Easy workaround is to call 

    foreman-installer --enable-foreman-plugin-openscap --foreman-plugin-openscap-configure-openscap-repo false

Comment 1 Marek Hulan 2016-04-07 09:08:43 UTC
Created redmine issue http://projects.theforeman.org/issues/14520 from this bug

Comment 3 Bryan Kearney 2016-04-07 10:05:58 UTC
Upstream bug assigned to mhulan

Comment 4 Bryan Kearney 2016-04-07 10:06:00 UTC
Upstream bug component is Installer

Comment 5 Bryan Kearney 2016-04-07 10:06:01 UTC
Upstream bug assigned to mhulan

Comment 6 Bryan Kearney 2016-04-08 10:06:00 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14520 has been closed
-------------
Marek Hulán
Applied in changeset commit:puppet-foreman|361136edfec01f2cba9b1d00c927133e952c7ed9.

Comment 7 Roman Plevka 2016-04-19 09:32:30 UTC
Failed QA.
Sat 6.2.0 Snap 8.2

the repo is still being created and endabled:

# foreman-installer --enable-foreman-plugin-openscap --scenario katello
...
# ll | grep isimluk
-rw-r--r--. 1 root root   130 Apr 19 04:58 isimluk-openscap.repo


# grep openscap_repo foreman-installer/scenarios.d/katello-answers.yaml
    configure_openscap_repo: true

Not sure whether the fix made it to the Snap

Comment 9 Kedar Bidarkar 2016-04-21 11:24:28 UTC
Let me work on this bug as the installer options are very confusing and I need to raise couple of bugs related to it.

Comment 10 Kedar Bidarkar 2016-04-21 12:20:16 UTC
VERIFIED with sat62-snap9.0

This issue is no longer seen and no such repo isimluk-openscap.repo is now created in /etc/yum.repos.d/

Comment 13 Marek Hulan 2016-05-20 11:43:21 UTC
I verified this works as expected with GA snap 12.1, code is in place now, moving to ON_QA to double-check.

Comment 14 Ondřej Pražák 2016-05-27 11:46:50 UTC
satellite-installer --enable-foreman-plugin-openscap
ls /etc/yum.repos.d/ | grep isimluk

The file is not present, verified with snap 13.1

Comment 16 errata-xmlrpc 2016-07-27 09:08:26 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/RHBA-2016:1500