Bug 1002457
Summary: | Could not check the product status from SAM server side with API. | ||
---|---|---|---|
Product: | [Retired] Subscription Asset Manager | Reporter: | qianzhan |
Component: | katello | Assignee: | Katello Bug Bin <katello-bugs> |
Status: | CLOSED WONTFIX | QA Contact: | SAM QE List <sam-qe-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.3 | CC: | bkearney, katello-bugs, ldai, liliu, sgao |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-26 20:37:08 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: | |||
Bug Blocks: | 971511 |
Description
qianzhan
2013-08-29 09:03:43 UTC
please try https://samserv.redhat.com:8088/sam/api/consumers/{id}/compliance. The url you are using appears to be hosted. (In reply to Bryan Kearney from comment #2) > please try > https://samserv.redhat.com:8088/sam/api/consumers/{id}/compliance. The url > you are using appears to be hosted. Hi, Bryan I tried https://samserv.redhat.com:8088/sam/api/consumers/{id}/compliance according to your advice, but failed: [root@dhcp-65-69 ~]# curl -k -u admin:admin --request GET https://samserv.redhat.com:8088/sam/api/consumers curl: (35) error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate So, I tried to replace the port 8088 with 443: [root@dhcp-65-69 ~]# curl -k -u admin:admin --request GET https://samserv.redhat.com:443/sam/api/consumers {"displayMessage":"You have not set a default organization and environment on the user admin.","errors":["You have not set a default organization and environment on the user admin.",""]} Hey, is there any updates for this bug? I am still not sure how to get/delete info from SAM/Satellite server with APIs. The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf. I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you! The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |