<div dir="ltr"><div>What version of django-storages do you have installed? Could you try downgrading it to 1.11.1? Don't forget to restart pulpcore-content services after. <br></div><div><br></div><div>I found a not completely related issue[0] with django-storages newer than 1.11.1.  <br></div><div><br></div><div>[0] <a href="https://github.com/jschneier/django-storages/issues/1116">https://github.com/jschneier/django-storages/issues/1116</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 25, 2022 at 1:47 PM Briand, Sheldon <<a href="mailto:Sheldon.Briand@nrc-cnrc.gc.ca">Sheldon.Briand@nrc-cnrc.gc.ca</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 lang="EN-CA">
<div class="gmail-m_-875569637969724863WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Both VMs are synced to the same time server using chronyd.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US"> Dennis Kliban [mailto:<a href="mailto:dkliban@redhat.com" target="_blank">dkliban@redhat.com</a>]
<br>
<b>Sent:</b> May 25, 2022 2:46 PM<br>
<b>To:</b> Briand, Sheldon <<a href="mailto:Sheldon.Briand@nrc-cnrc.gc.ca" target="_blank">Sheldon.Briand@nrc-cnrc.gc.ca</a>><br>
<b>Cc:</b> <a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a><br>
<b>Subject:</b> Re: [Pulp-list] Error on Azure storage<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p><em><span style="color:red">***ATTENTION*** This email originated from outside of the NRC. ***ATTENTION*** Ce courriel provient de l'extérieur du CNRC</span></em><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Perhaps the time is wrong on the machine trying to download the content?<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, May 25, 2022 at 1:33 PM Briand, Sheldon <<a href="mailto:Sheldon.Briand@nrc-cnrc.gc.ca" target="_blank">Sheldon.Briand@nrc-cnrc.gc.ca</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Thanks for getting back to me.  The time on the server is correct (it is to the eastern time zone).</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<div>
<div style="border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm;border-color:currentcolor">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="EN-US"> Dennis
 Kliban [mailto:<a href="mailto:dkliban@redhat.com" target="_blank">dkliban@redhat.com</a>]
<br>
<b>Sent:</b> May 25, 2022 2:29 PM<br>
<b>To:</b> Briand, Sheldon <<a href="mailto:Sheldon.Briand@nrc-cnrc.gc.ca" target="_blank">Sheldon.Briand@nrc-cnrc.gc.ca</a>><br>
<b>Cc:</b> <a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a><br>
<b>Subject:</b> Re: [Pulp-list] Error on Azure storage</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<p><em><span style="color:red">***ATTENTION*** This email originated from outside of the NRC. ***ATTENTION*** Ce courriel provient de l'extérieur du CNRC</span></em><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">I don't have much experience with S3, but is it possible that the date/time on your Pulp server is not correct?<u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, May 25, 2022 at 7:58 AM Briand, Sheldon <<a href="mailto:Sheldon.Briand@nrc-cnrc.gc.ca" target="_blank">Sheldon.Briand@nrc-cnrc.gc.ca</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I’m getting an error when I’m accessing Azure storage for a AlmaLinux 8 pulp repository.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">From the dnf.log:<u></u><u></u></p>
<p class="MsoNormal">error: Status code: 403 for
<a href="https://xxxxxxxxxxxxxxxxxxxxxx/pulp-storage/artifact/37/e8d520f7f51a02ddddb3530d1e51" target="_blank">
https://xxxxxxxxxxxxxxxxxxxxxx/pulp-storage/artifact/37/e8d520f7f51a02ddddb3530d1e51</a><u></u><u></u></p>
<p class="MsoNormal">cc1b74e9b9f10c46c358ed78cca91ddba0?se=2022-05-23T20%3A01%3A52Z&sp=rt&sv=2021-04-<u></u><u></u></p>
<p class="MsoNormal">10<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">The above error doesn’t show it but it includes a signature (I have purposely put xxxxxxx in for the storage account address).<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">If I try to manually run the above query with curl and the URL in quotes I get:<u></u><u></u></p>
<p class="MsoNormal">ERROR 403: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature..<u></u><u></u></p>
<p class="MsoNormal"></Message><AuthenticationErrorDetail>Signed expiry time [Wed, 25 May 2022 09:51:09 GMT] must be after signed start time [Wed, 25 May 2022 10:00:16 GMT]</AuthenticationErrorDetail></Error><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I ran a cron job which generated this error in the logs.  The cron job ran at Wed, 25 May 2022 09:56:00 GMT.  So to me it looks like the expiry time is set to a time before the
 request is even made and that gives me the 403 error.  Is this a possible bug?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">-Sheldon<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>

</blockquote></div>