Project

General

Profile

Actions

Bug #22878

closed

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 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
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:

Actions

Also available in: Atom PDF