Bug 1495222 - Unable to list sync status of repository via api through product id.
Summary: Unable to list sync status of repository via api through product id.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.2.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: vijsingh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-25 14:33 UTC by Prashant Waghmare
Modified: 2020-12-14 10:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-02 18:52:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Prashant Waghmare 2017-09-25 14:33:37 UTC
Description of problem:

Unable to list sync status of repository via api through product id. 

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

Red Hat Satellite 6.2.11

How reproducible:

Always

Steps to Reproduce:

As per https://satellite.example.com/apidoc/v2 sync status should be derived from below api queries:

Sync
Resource 	            Description
GET /katello/api/organizations/:organization_id/products/:product_id/sync 	Get status of repo synchronisation for given product

GET /katello/api/repositories/:repository_id/sync 	Get status of synchronisation for given repository

1. Unable to run below command on satellite server:

# curl -u admin --request GET --url https://satellite.example.com/katello/api/organizations/1/products/:29/sync


Actual results:

Able to list only till :

# curl -u admin --request GET --url https://satellite.example.com/katello/api/organizations/1/products/

Expected results:

Should be able to execute 
GET /katello/api/organizations/:organization_id/products/:product_id/sync

Additional info:

workaround to this is below query:

https://satellite.example.com/katello/api/repositories/2/ to see the sync status of specific repository.

Comment 2 Bryan Kearney 2019-04-01 12:13:00 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 3 Bryan Kearney 2019-05-02 18:52:36 UTC
Thank you for your interest in Satellite 6. 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, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.


Note You need to log in before you can comment on or make changes to this bug.