Project

General

Profile

Actions

Bug #33364

closed

investigate FlatParamsEncoder issue with docker manifest listing

Added by Justin Sherrill over 3 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Container
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I noticed when i was refactoring some code recently, that it appears that the FlatParamEncoder is not working as intended?

looking at the filters cassette in vcr:

/home/vagrant/git/katello/test/fixtures/vcr_cassettes/actions/pulp3/copy_all_units_docker_repository/exclusion_docker_filters.yml

you see the uri of:

https://devel2.balmora.example.com/pulp/api/v3/content/container/manifests/?limit=2000&media_type=application/vnd.docker.distribution.manifest.list.v2%2Bjson&offset=0&repository_version=/pulp/api/v3/repositories/container/container/03567740-f482-4538-b005-f9c609ef2212/versions/1/

but our code is trying to fetch both: https://devel2.balmora.example.com/pulp/api/v3/content/container/manifests/?limit=2000&media_type=application/vnd.docker.distribution.manifest.list.v2%2Bjson&offset=0&repository_version=/pulp/api/v3/repositories/container/container/03567740-f482-4538-b005-f9c609ef2212/versions/1/

for some reason if you remove the FlatParamsEncoder from being used, it works correctly even though this is the opposite of what you would expect, like we are living in opposite land

Actions

Also available in: Atom PDF