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 1813005 - Prevent --tuning option to be applied in Capsule servers
Summary: Prevent --tuning option to be applied in Capsule servers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-12 17:27 UTC by sthirugn@redhat.com
Modified: 2020-10-27 13:01 UTC (History)
2 users (show)

Fixed In Version: foreman-installer-2.1.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:00:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29339 0 Normal Closed Do not show --tuning option for non-katello scenarios 2020-10-28 17:26:38 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:01:07 UTC

Description sthirugn@redhat.com 2020-03-12 17:27:49 UTC
Description of problem:
Prevent --tuning option to be applied in Capsule servers

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

How reproducible:
Always

Steps to Reproduce:
1. Satellite 6.7 introduces predefined tuning profiles --tuning option in the installer.
2. Currently --tuning option is shown for Capsule as well, but the way it is implemented - it is currently applicable for Satellite only and may cause user confusion and unwanted Capsule configuration if the user applies it to Capsule by mistake.

Actual results:
# satellite-installer --scenario capsule --help | grep 'tuning'
    --tuning INSTALLATION_SIZE    Tune for an installation size. Choices: default, medium, large, extra-large, extra-extra-large (default: "default")

Expected results:
# satellite-installer --scenario capsule --help | grep 'tuning'
<no output>

Additional info:

Comment 5 Bryan Kearney 2020-03-19 22:03:02 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29339 has been resolved.

Comment 7 Devendra Singh 2020-06-05 10:31:31 UTC
Build Version: 6.8 Snap3

Verified point(On Capsule Server):
1- foreman installer version: foreman-installer-2.1.0-0.3.rc2.el7sat.noarch
2- There is no helper available in satellite-installer

#  satellite-installer --scenario capsule --help | grep 'tuning'
#

3- Check the satellite-installer with the tuning parameter on the capsule and it failed as expected.
# satellite-installer --tuning large
ERROR: Unrecognised option '--tuning'

See: 'satellite-installer --help'


@sthirugn
Tuning size(extra-extra-large.yaml  extra-large.yaml etc) are still available in /usr/share/foreman-installer/config/foreman.hiera/tuning/sizes directory, will it make any impact on the fix?

Comment 8 sthirugn@redhat.com 2020-06-05 13:11:50 UTC
(In reply to Devendra Singh from comment #7)
> Build Version: 6.8 Snap3
> 
> Verified point(On Capsule Server):
> 1- foreman installer version: foreman-installer-2.1.0-0.3.rc2.el7sat.noarch
> 2- There is no helper available in satellite-installer
> 
> #  satellite-installer --scenario capsule --help | grep 'tuning'
> #
> 
> 3- Check the satellite-installer with the tuning parameter on the capsule
> and it failed as expected.
> # satellite-installer --tuning large
> ERROR: Unrecognised option '--tuning'
> 
> See: 'satellite-installer --help'

This is how it is expected to work.
 
> 
> @sthirugn
> Tuning size(extra-extra-large.yaml  extra-large.yaml etc) are still
> available in /usr/share/foreman-installer/config/foreman.hiera/tuning/sizes
> directory, will it make any impact on the fix?

nope, the definitions themselves will still be present in the capsule server. The installer identifies this as a capsule server and blocks tuning related features. In other words - no impact.

Comment 9 Devendra Singh 2020-06-05 13:33:09 UTC
Verified on 6.8 Snap3.

Comment 12 errata-xmlrpc 2020-10-27 13:00:52 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 (Important: Satellite 6.8 release), 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-2020:4366


Note You need to log in before you can comment on or make changes to this bug.