Project

General

Profile

Bug #22878

SAP HANA Repository cannot be enabled if future dated subscriptions of SAP HANA are added to the subscription manifest file.

Added by Thomas McKay over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1553264

Description of problem:

SAP HANA Repository cannot be enabled on the Server WebUI if future dated subscription are added to the manifest file. Also, there was a future dated RHEL subscription in the manifest file which did not cause any issue.

Steps to Reproduce:
1. Log into Red Hat Customer Portal.
2. Create a Satellite profile and add current as well as future dated subscriptions of SAP HANA in it.
3. Upload that manifest file on the Server.
4. Try to enable the repository for SAP HANA product whose subscription is currently active. Ensure that SAP HANA's future dated subscriptions are also available in the manifest file.

Actual results:

1. On Server WebUI - "No repositories accessible. Check that Red Hat Subscriptions have been imported."

2. Using hammer CLI -

  1. hammer -u satadmin -p XXXX repository-set enable --product-id 292 --organization-id X --id XXXX --basearch x86_64 --releasever 7Server
Could not enable repository: Forbidden - server refused to process the request

Expected results:

The repository should be enabled for the currently active product even if that product's future dated subscription is present in the manifest file.

Additional info:

Associated revisions

Revision 1917b37d (diff)
Added by Thomas McKay over 3 years ago

fixes #22878 - no future subs in cdn substitutor

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7239 added

#2 Updated by Andrew Kofink over 3 years ago

  • Legacy Backlogs Release (now unused) set to 338
  • Subject changed from SAP HANA Repository cannot be enabled if future dated subscriptions of SAP HANA are added to the subscription manifest file. to SAP HANA Repository cannot be enabled if future dated subscriptions of SAP HANA are added to the subscription manifest file.

#3 Updated by Thomas McKay over 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF