<div dir="ltr"><br class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I was trying to figure out pulp's data model changes with respect to DockerV2 Schema2. Looking at <a href="https://github.com/pulp/pulp_docker/commit/35dc19c8522f840d464bec2e93f45b4bb57b4f80#diff-6c740284d714e1a0349c86bed5617b76">https://github.com/pulp/pulp_docker/commit/35dc19c8522f840d464bec2e93f45b4bb57b4f80#diff-6c740284d714e1a0349c86bed5617b76</a> I only see schema-version column added to tags and no changes in the manifest collection. But in the database I see the following<br>For manifests there is a schema_version column<br><br><blockquote>> db.units_docker_manifest.find()[0]<br>{<br>  "_id" : "582cb097-5c81-499a-adec-5d18470014f5",<br>  "pulp_user_metadata" : {<br>    <br>  },<br>  "_last_updated" : 1487212925,<br>  "_storage_path" : "/var/lib/pulp/content/units/docker_manifest/9e/2aadfbd6d73d35bddbf2db2925503047fc84fdcba439f4069c80ceaca37f02/sha256:b5dd2db609f090a39b65a39489eb3eb670f559af40fc5d206b2a05451355ba72",<br>  "downloaded" : true,<br>  "digest" : "sha256:b5dd2db609f090a39b65a39489eb3eb670f559af40fc5d206b2a05451355ba72",<br>  "name" : "library/busybox",<br>  "tag" : "1-glibc",<br>  "schema_version" : 1,<br>  "fs_layers" : [<br>    {<br>      "blob_sum" : "sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4"<br>    },<br>    {<br>      "blob_sum" : "sha256:df74c0cea8ad6b25004db74b9829d513990ac7e219128594eb2b7df2d785f961"<br>    }<br>  ],<br>  "_ns" : "units_docker_manifest",<br>  "_content_type_id" : "docker_manifest"<br>}<br></blockquote><br>And for tags there is one also.<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> db.units_docker_tag.find()[0]<br>{<br>  "_id" : "cc3d103d-f6ab-4efd-a936-e99dfc43691d",<br>  "repo_id" : "dd8fa453-9923-4fc1-99b6-8137a2bb5bf3",<br>  "manifest_digest" : "sha256:3e00695ae65afe08d3cc4e1c0bc4efb335e9c158c9b5a5f7c045c9ec380c731b",<br>  "_ns" : "units_docker_tag",<br>  "_last_updated" : 1487212925,<br>  "schema_version" : 1,<br>  "pulp_user_metadata" : {<br>    <br>  },<br>  "_content_type_id" : "docker_tag",<br>  "name" : "1.24.2-glibc"<br>}<br></blockquote><br><br>I am I assuming correctly when I say "schema-version" in "units_docker_manifest" refers to api version V1 vs V2 while  "schema-version" in "units_docker_tag" refers to schema-version1 vs schema-version 2 ?<br><br>If my assumption is correct then I have a diff issue. Katello typically says "use v2 only" when creating a repo. Yet when I synced busy box I see manifests with schema-verision = 1.  Shouldnt it be only showing stuff with schema-version=2 ??<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br></blockquote></div>