Bug 1774953
| Summary: | GET katello/api/v2/subscriptions/:id always fails with error: This subscription is not relevant to the current organization | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Kunxin Huang <kuhuang> |
| Component: | Subscription Management | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | jcallaha |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.7.0 | CC: | apatel, egolov, ehelms, hsun, sajha, sghai, swadeley, yuefliu |
| Target Milestone: | 6.7.0 | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-katello-3.14.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-14 13:27:27 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: | |||
|
Comment 3
Samir Jha
2019-11-22 01:13:09 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28327 has been resolved. see also Bug 1787147 - An admin cannot GET subscription/manifest uploaded in org created by another admin Verified in Satellite 6.7 Snap 10 [root@dhcp-3-103 ~]# curl -X GET -k -u admin:password https://my.sat.host/katello/api/v2/subscriptions/14 | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1030 0 1030 0 0 2189 0 --:--:-- --:--:-- --:--:-- 2186 { "account_number": 477931, "activation_keys": [], "addons": null, "arch": "x86_64", "available": 1, "consumed": 0, "contract_number": -----, "cores": null, "cp_id": "-----", "description": "Red Hat Enterprise Linux", "end_date": "2022-01-01 04:59:59 UTC", "host_count": 0, "id": 14, "instance_multiplier": 1, "multi_entitlement": false, "name": "Red Hat Enterprise Linux Atomic Host", "product_id": "RH00384", "product_name": "Red Hat Enterprise Linux Atomic Host", "provided_products": [ { "id": 81, "name": "Red Hat Enterprise Linux Atomic Host" }, { "id": 84, "name": "Red Hat Enterprise Linux Atomic Host Beta" }, { "id": 87, "name": "Red Hat Container Images" }, { "id": 89, "name": "Red Hat Container Images Beta" } ], "quantity": 1, "ram": null, "role": null, "sockets": null, "stacking_id": null, "start_date": "2016-08-05 04:00:00 UTC", "subscription_id": 8, "support_level": "Layered", "support_type": "L1-L3", "type": "NORMAL", "unmapped_guest": false, "upstream": true, "upstream_pool_id": "-----", "usage": null, "virt_only": false, "virt_who": false } Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1454 |