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 1599345

Summary: Failure to enable a repository presents an incomplete error message.
Product: Red Hat Satellite Reporter: Andy MacMurray <amacmurr>
Component: Hammer - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Roman Plevka <rplevka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.2CC: amacmurr
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-03 18:58:34 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:
Attachments:
Description Flags
Foreman production log output. none

Description Andy MacMurray 2018-07-09 14:47:36 UTC
DescriptThe following hammer command was issued to enable a repository in a test Satellite instance:

hammer repository-set enable --product "JBoss Enterprise Application Platform" --basearch x86_64 --releasever 7Server --name "JBoss Enterprise Application Platform 7 (RHEL 7 Server) (RPMs)"

This was working quite well up until a week or so ago. Now we're presented with the following error message, which is incomplete:

Could not enable repository:
   cannot be specified for  as that information is not substitutable in

The repository structure has likely changed, as this was working previously and we are able to enable the repo by omitting the --releasever.
The error message needs to be more informative.ion of problem:


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

Satellite 6.3.2

How reproducible:

100%

Steps to Reproduce:

Configure Satellite to provde the JBoss Enterprise Application Platform product repositories. 

Issue the following command:
hammer repository-set enable --product "JBoss Enterprise Application Platform" --basearch x86_64 --releasever 7Server --name "JBoss Enterprise Application Platform 7 (RHEL 7 Server) (RPMs)"


Actual results:


Could not enable repository:
   cannot be specified for  as that information is not substitutable in

Expected results:

Repository enabled

Additional info:

Comment 1 Andy MacMurray 2018-07-09 14:51:06 UTC
Created attachment 1457503 [details]
Foreman production log output.

Comment 4 Andy MacMurray 2018-07-16 09:17:07 UTC
This has been flagged as needs info. What additional information is required?

Comment 5 Brad Buckingham 2018-07-16 10:41:35 UTC
The request was in comment 2.  Do you have an internal reproducer that the team could access?

Comment 6 Andy MacMurray 2018-07-16 10:47:41 UTC
For some reason, comments 2 and 3 are not visible to me.

Let me see what I can do to provide an environment the team can access.

Comment 7 Andy MacMurray 2018-07-17 10:18:25 UTC
Brad, 

I've rebuilt an environment and have reproduced the issue. Please have one of your team members contact me directly and I'll provide access to the instance.

Thanks,
- Andy

Comment 8 Bryan Kearney 2019-08-05 12:22:37 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 9 Bryan Kearney 2019-09-03 18:58:34 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.