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 1673414 - [RFE] Allow setting of 6Server/7Server tag for 3rd party repositories
Summary: [RFE] Allow setting of 6Server/7Server tag for 3rd party repositories
Keywords:
Status: CLOSED DUPLICATE of bug 1526564
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.4
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-07 13:22 UTC by Stefan Meyer
Modified: 2024-10-01 16:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-15 13:37:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stefan Meyer 2019-02-07 13:22:57 UTC
1. Proposed title of this feature request
Allow setting of 6Server/7Server tag for 3rd party repositories via Satellite GUI and hammer


3. What is the nature and description of the request?
The customer is using docker base images for RHEL 6 and 7 to build images on a RHEL 7 host.
To allow the builds to succeed the assigned CV contains all required repositories for RHEL 6 and 7.
For Red Hat provided repositories they have a proper tag set for the OS and only the repos for correct
OS is visible inside the container build. For 3rd party repositories (like EPEL) this tag is not set
and both repositories for EPEL 6 and 7 can be enabled when building the container image.

There is already a "Restrict to architecture" in Sat 6.4 GUI but no option to limit the use on the RHEL release.


4. Why does the customer need this? (List the business requirements here)
- To prevent the installation of the wrong software in containers.
- It would also make it easier to create one CV for EPEL 6 and 7 that can be released at the same time.


5. How would the customer like to achieve this? (List the functional requirements here)
It is already possible to set the requiredtags flag in the candlepin database to achieve this:

candlepin=# update cp2_content set requiredtags='rhel-7-server' where label='org_Extra_Packages_for_Enterprise_Linux_Extra_Packages_for_Enterprise_Linux_7_x86_64';
candlepin=# update cp2_content set requiredtags='rhel-6-server' where label='org_Extra_Packages_for_Enterprise_Linux_Extra_Packages_for_Enterprise_Linux_6_x86_64';

There should be an option in the GUI and hammer commandline tool to set the "requiredtags" flag.


6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
- For GUI it should be presented as an option in the repository configuration.
- For hammer an option to the "hammer repository update" command can be added like this
  # hammer repository update --release=7Server
  

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No


8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
A future release of Satellite server


9. Is the sales team involved in this request and do they have any additional input?
No


10. List any affected packages or components.
- candlepin
- katello
- hammer
- possibly pulp too


11. Would the customer be able to assist in testing this functionality if implemented?
Yes, they have a test environment for Satellite beta releases.

Comment 5 Rich Jerrido 2019-02-15 13:37:54 UTC

*** This bug has been marked as a duplicate of bug 1526564 ***


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