<div dir="ltr">We had an irc chat and a call, the questions where addressed with a possible solution.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br>--------<br>Regards,<br><br>Ina Panova<br>Software Engineer| Pulp| Red Hat Inc.<br><br>"Do not go where the path may lead,<br> go instead where there is no path and leave a trail."<br></div></div></div>
<br><div class="gmail_quote">On Thu, Mar 8, 2018 at 4:35 AM, Tom McKay <span dir="ltr"><<a href="mailto:thomasmckay@redhat.com" target="_blank">thomasmckay@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>resending since mobile email triggered approval...<span class=""><br><br>i have created an api endpoint in foreman for docker push and from there
 will be calling pulp. don’t worry about “safe” since there is no manual
 aspect. if pulp doesn’t support it, i will work around. if it us 
possible, please tell me how. thanks!!<br><br></span></div>In my proof-of-concept foreman work, I have docker login working with RBAC for limiting scope of images for docker pull. I also added the /v2/_catalog and /v2/$repo/tags/list since those are very useful for integrating with tools like openshift. If I can get docker push / skopeo working, that would be a huge win.<br><br></div>I understand that these topics are not a priority but any suggestions on how to make this work with existing pulp-2 code would be very welcome. <br><div><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 7, 2018 at 9:31 PM, Mihai Ibanescu <span dir="ltr"><<a href="mailto:mihai.ibanescu@gmail.com" target="_blank">mihai.ibanescu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">See <a href="https://pulp.plan.io/issues/3231" target="_blank">https://pulp.plan.io/issue<wbr>s/3231</a> as well.</div><div class="m_-1281603795778756028HOEnZb"><div class="m_-1281603795778756028h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 7, 2018 at 5:25 PM, Ina Panova <span dir="ltr"><<a href="mailto:ipanova@redhat.com" target="_blank">ipanova@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello Tom,<br><br></div>No it is not possible to upload individual blobs, the only way how to get image manifest schema1 or schema2 for now is to use skopeo copy and tar the output.<br></div>For more info please checks the docs and recipes [0].<br><br></div>In addition it is not safe to upload the components of the tar file individually, because if you upload just a single json file without blobs, it ends up to be a corrupted image manifest. In case you'd upload blob by blob, you also risk to end up with corrupted image manifest in case you'd forget some blob to upload.<br><div><br>Let me know in case you have more questions. <br><br>[0] <a href="https://github.com/pulp/pulp_docker/blob/master/docs/user-guide/recipes.rst#upload-v2-schema-2-and-schema-1-images-to-pulp" target="_blank">https://github.com/pulp/pulp_d<wbr>ocker/blob/master/docs/user-gu<wbr>ide/recipes.rst#upload-v2-sche<wbr>ma-2-and-schema-1-images-to-pu<wbr>lp</a><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-1281603795778756028m_-6842388350450865568m_-7345165632895092272gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br>--------<br>Regards,<br><br>Ina Panova<br>Software Engineer| Pulp| Red Hat Inc.<br><br>"Do not go where the path may lead,<br> go instead where there is no path and leave a trail."<br></div></div></div>
<br><div class="gmail_quote"><span>On Wed, Mar 7, 2018 at 10:06 PM, Tom McKay <span dir="ltr"><<a href="mailto:thomasmckay@redhat.com" target="_blank">thomasmckay@redhat.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div dir="ltr">I know I can upload a skopeo copy tar file but is it possible to upload individual blobs directly? Or upload the components of the tar file individually? I am on pulp-2.15.2.<br></div>
<br></span>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>