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 1664614

Summary: Katello API subscriptions details call shows instance_multiplier equals 1 but equals 2 for both physical/virtual machines available_for=host request
Product: Red Hat Satellite Reporter: Ahmed Eladawy <aeladawy>
Component: Subscription ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Cole Higgins <chiggins>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.4CC: bcourt, daniele, egolov, fperalta, jkreft, khowell, nmoumoul, rjerrido, satellite6-bugs, wpinheir
Target Milestone: UnspecifiedKeywords: PrioBumpPM, Reopened, Triaged
Target Release: UnusedFlags: jkreft: needinfo-
jkreft: needinfo-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1665966 (view as bug list) Environment:
Last Closed: 2022-04-07 11:59:26 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:
Bug Depends On: 1665966    
Bug Blocks:    

Description Ahmed Eladawy 2019-01-09 10:10:09 UTC
Description of problem:

API subscription details request for SKU=RH00003F3 subscription shows instance_multiplier = 1 and available_for=host request shows the same value instance_multiplier = 2 for both physical and virtual machines .

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

katello-3.7.0-8.el7sat.noarch
candlepin-2.4.12-1.el7.noarch
satellite-6.4.1-1.el7sat.noarch

How reproducible:

Always

Steps to Reproduce:
1.Get subscription details by API call 
# curl -s -u 'user:******' -k 'https://provisioning.usersys.redhat.com/katello/api/organizations/29/subscriptions/541' | json_reformat


"subscription_id": 338,
"name": "Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)",
"product_id": "RH00003F3",
"instance_multiplier": 1,



2.Get available subscription for a physical and virtual hosts and get the same value of instance_multiplier
# curl -s -u 'user:******' -k 'https://provisioning.usersys.redhat.com/katello/api/v2/organizations/29/subscriptions?available_for=host&host_id=3248'


"subscription_id": 338,
"name": "Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)",
"product_id": "RH00003F3",
"instance_multiplier": "2",


Actual results:

- instance_multiplier resulted from subscription details API call equals 1 .
- instance_multiplier resulted from available subscriptions for host API call equals 2 for both physical and virtual hosts .

Expected results:
- instance_multiplier resulted from subscription details API call equals 2 as on the product admin web page (INSTANCE_BASE_VIRT_MULTIPLIER = 2).
- instance_multiplier resulted from available subscriptions for host API call equals 2 for physical hosts and equals 1 for virtual hosts .

Additional info:

Comment 10 Mike McCune 2021-07-13 21:54:48 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 11 Mike McCune 2021-08-10 21:34:00 UTC
Thank you for your interest in Red Hat Satellite. 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 feel free to contact your Red Hat Account Team. Thank you.

Comment 12 Francisco Peralta 2022-04-07 09:29:19 UTC
Dear all,
 can we please fix this bug still, I think it's unavoidable to fix it if we want to be able to show a correct counting.
 Also I think it should be a rather easy/quick one.
 The only thing is that it should be analyzed by the correct team which is the one about Katello.

 Please let it be prioritized higher so it goes through.
 The customer is still waiting for this.

Kr,
 Cisco.

Comment 16 Red Hat Bugzilla 2023-09-15 00:15:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days