-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.15.0
-
False
-
-
False
-
NEW
-
400
-
Phoenix - Content
-
-
-
Sprint 128, Sprint 129, Sprint 130, Sprint 131, Sprint 132, Sprint 133, Sprint 134, Sprint 135, Sprint 136, Sprint 137, Sprint 138, Sprint 139, Sprint 140, Sprint 141, Sprint 142
-
Moderate
-
No
Description of problem: Building support matrix between OSP and satellite for sat versions 6.11 to 6.15. For all of those sat versions when OSP16.2 is deployed with authenticated pull the pull fails. The same test done with unauthenticated pull is successful.
The error seen on OSP is: 422 Client Error: Unprocessable Content for url
When tailing the satellite log: /var/log/foreman/production.log the error seen is(there are many of them):
2024-01-12T11:15:40 [I|app|02aee461] Started GET "/v2/token?account=admin&scope=repository%3Adefault_organization-rhos-16_2-containers-aodh-api%3Apull&service=vm-240-109.lab.eng.tlv2.redhat.com" for 10.46.4.150 at 2024-01-12 11:15:40 -0500
2024-01-12T11:15:40 [I|app|02aee461] Processing by Katello::Api::Registry::RegistryProxiesController#token as HTML
2024-01-12T11:15:40 [I|app|02aee461] Parameters:
2024-01-12T11:15:40 [I|kat|02aee461] Authorized user admin(Admin User)
2024-01-12T11:15:40 [E|kat|02aee461] <Class> ActiveRecord::RecordInvalid
2024-01-12T11:15:40 [E|kat|02aee461] name: ["has already been taken"]
2024-01-12T11:15:40 [I|app|02aee461] Completed 422 Unprocessable Entity in 176ms (Views: 1.0ms | ActiveRecord: 24.2ms | Allocations: 12987) (edited)
This happens on a newly deployed satellite with only one host registered. Don't see how the name could already be taken.
Version-Release number of selected component (if applicable): OSP16.2 and satellite versions 6.11 through 6.15.
How reproducible: Every time.
Steps to Reproduce:
1. Deploy OSP using a satellite set to authenticated pull.
2.
3.
Actual results: OSP deployment fails with error: 422 Client Error: Unprocessable Content for url when attempting to pull a container.
Expected results: OSP deployment is successful.
Additional info: