Bug #35616
closedApi /katello/api/repositories/:repository_id/sync fails
Description
The api call of
GET /katello/api/repositories/:repository_id/sync
fails with the following message:
"fatal: [localhost]: FAILED! => {"changed": false, "error": {"displayMessage": "unknown keyword: :use_admin_as_cn_pulp_cert", "errors": ["unknown keyword: :use_admin_as_cn_pulp_cert"]}, "msg": "Unable to list resource: HTTPError: 500 Server error: Internal server error for url: https://FQDN/katello/api/repositories/12/sync"}"
Files
Updated by Partha Aji about 2 years ago
- Status changed from New to Need more information
Hey Richard.
Can you give us more production logs when this error occurs.
Might wanna upgrade to a later Katello version :). Katello 4.3 is unsupported at this point.
Updated by Richard Stempfl about 2 years ago
- File api_error.txt api_error.txt added
Hi,
I have attached a foreman-tail during the execution.
Switching to a newer Version is not possible at the moment.
Is this already fixed in a future versions?
Thx
Updated by Lucy Fu about 2 years ago
- Category set to API
- Status changed from Need more information to New
- Target version set to Katello 4.7.0
- Triaged changed from No to Yes
Updated by Samir Jha about 2 years ago
- Fixed in Releases Katello 4.6.0 added
Hey Richard,
This has been fixed in 4.6. We don't use the param use_admin_as_cn_pulp_cert anymore.
Updated by Chris Roberts about 2 years ago
- Target version changed from Katello 4.7.0 to Katello 4.8.0
Updated by Samir Jha about 2 years ago
- Status changed from New to Need more information
- Target version deleted (
Katello 4.8.0) - Triaged changed from Yes to No
Hey Richard,
Let us know if you are still seeing this. The API endpoint has changed in 4.6 and onwards so this is no longer an issue in newer releases.
Updated by William Clark about 2 years ago
- Status changed from Need more information to Closed
- Triaged changed from No to Yes
Hi Richard,
We decided to close this one since that API is changed on 4.6+ anyway. If you want to try fixing it on 4.5, please feel free to re-open.
Thanks,