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 #1

Updated by Justin Sherrill over 3 years ago

  • Target version set to Katello 4.3.0
  • Triaged changed from No to Yes
Actions #2

Updated by Ian Ballou over 3 years ago

  • Status changed from New to Rejected
  • Target version changed from Katello 4.3.0 to Katello Recycle Bin

This seems to just be an issue with VCR not showing all the array parameters. The Pulp logs showed the proper array being passed in. I've created an issue: https://github.com/vcr/vcr/issues/910

Closing this out for now.

Actions

Also available in: Atom PDF