<div dir="ltr">This issue might have been fixed in 3.8 <a href="https://pulp.plan.io/issues/7030">https://pulp.plan.io/issues/7030</a><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><br>--------<br>Regards,<br><br>Ina Panova<br>Senior 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></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 14, 2021 at 3:33 PM Dennis Kliban <<a href="mailto:dkliban@redhat.com">dkliban@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">We have historically treated the revision number as required. Please file an issue at <a href="https://pulp.plan.io/issues/new/" target="_blank">https://pulp.plan.io/issues/new/</a> and we will investigate what the behavior should be in this situation. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 13, 2021 at 6:06 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net" target="_blank">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth"">I noticed the repomd.xml on artifactory is a little different (see below). This is why pulp doesn't sync when optimize is true. Is the revision optional field in repomd.xml?<div><br><div><?xml version="1.0"?></div><div><repomd xmlns="<a href="http://linux.duke.edu/metadata/repo" target="_blank">http://linux.duke.edu/metadata/repo</a>" xmlns:rpm="<a href="http://linux.duke.edu/metadata/rpm" target="_blank">http://linux.duke.edu/metadata/rpm</a>"></div><div>  <data type="other"></div><div>    <location href="repodata/deddaac9159b0dd137637e3f054699ed835c2188-other.xml.gz"/></div><div>    <checksum type="sha" pkgid="YES">deddaac9159b0dd137637e3f054699ed835c2188</checksum></div><div>    <size>55565</size></div><div>    <timestamp>1610569598</timestamp></div><div>    <open-checksum type="sha" pkgid="YES">440b3887bd333a9f198daf8d11d883c39b9cfa6b</open-checksum></div><div>    <open-size>163364</open-size></div><div>    <revision/></div><div>  </data></div><div>  <data type="filelists"></div><div>    <location href="repodata/2ab424ed2e5cb27ded110002678a64efe61fdc6c-filelists.xml.gz"/></div><div>    <checksum type="sha" pkgid="YES">2ab424ed2e5cb27ded110002678a64efe61fdc6c</checksum></div><div>    <size>722</size></div><div>    <timestamp>1610569598</timestamp></div><div>    <open-checksum type="sha" pkgid="YES">7b21b424589b3d0fcbfb5e78b5eb21441a739dd5</open-checksum></div><div>    <open-size>3064</open-size></div><div>    <revision/></div><div>  </data></div><div>  <data type="primary"></div><div>    <location href="repodata/18af240dc9319adc1fc746da197f195d35d3fca6-primary.xml.gz"/></div><div>    <checksum type="sha" pkgid="YES">18af240dc9319adc1fc746da197f195d35d3fca6</checksum></div><div>    <size>1724</size></div><div>    <timestamp>1610569599</timestamp></div><div>    <open-checksum type="sha" pkgid="YES">49ad32d347e2bde51dd070085cbe145b0146faf4</open-checksum></div><div>    <open-size>9708</open-size></div><div>    <revision/></div><div>  </data></div><div><br><br><div style="font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth""><div><div><div>From: <a href="mailto:dkliban@redhat.com" target="_blank">dkliban@redhat.com</a> At: 01/13/21 14:36:27</div>To: <a href="mailto:bli111@bloomberg.net" target="_blank"> Bin Li (BLOOMBERG/ 120 PARK ) </a><br>Cc: <a href="mailto:pulp-list@redhat.com" target="_blank"> pulp-list@redhat.com</a><br>Subject: Re: [Pulp-list] mirrored sync in 3.7.3</div><br></div><div style="background:white none repeat scroll 0% 0%;color:black;font-family:Arial,"BB.Proportional";font-size:small;white-space:normal"><div><blockquote><div dir="ltr"><div>The sync task examines the repomd.xml and the revision number in it. All the logic for optimizing the sync is here[0]. </div><div><br></div><div>[0] <a href="https://github.com/pulp/pulp_rpm/blob/3.7/pulp_rpm/app/tasks/synchronizing.py#L169-L175" target="_blank">https://github.com/pulp/pulp_rpm/blob/3.7/pulp_rpm/app/tasks/synchronizing.py#L169-L175</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 13, 2021 at 1:45 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net" target="_blank">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth";white-space:pre-wrap"><div>Happy new year.</div><div>I run a mirrored sync with upstream. The sync didn't pick up new rpms in upstream repo. I rerun sync with optimize=false and it synced all rpms. I do see the file names from new rpms are in the filelists.xml.gz of the upstream repodata. Just wondering which repo data does pulp check before starting a optimized mirror sync and why the optimized sync didn't work?</div></div>_______________________________________________<br>Pulp-list mailing list<br><a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div></blockquote><br></div></div></div></div></div></div></div></blockquote></div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>