Hi,

Thanks!  What is the best way to do that upgrade?

-Sheldon

From: Daniel Alley [mailto:dal...@redhat.com]
Sent: March 16, 2022 3:38 PM
To: Briand, Sheldon <sheldon.bri...@nrc-cnrc.gc.ca>
Cc: pulp-list@redhat.com
Subject: Re: [Pulp-list] repo access error?


***ATTENTION*** This email originated from outside of the NRC. ***ATTENTION*** 
Ce courriel provient de l'extérieur du CNRC
We're updating the installer to make sure that package gets upgraded properly.  
If you'd rather not wait you can just make sure that the django-storages 
package is upgraded to at least that version in the environment (which is all 
the installer would be doing anyway).

On Tue, Mar 15, 2022 at 12:02 PM Briand, Sheldon 
<sheldon.bri...@nrc-cnrc.gc.ca<mailto:sheldon.bri...@nrc-cnrc.gc.ca>> wrote:
I am using the ansible installer.

From: Daniel Alley [mailto:dal...@redhat.com<mailto:dal...@redhat.com>]
Sent: March 15, 2022 12:16 PM
To: Briand, Sheldon 
<sheldon.bri...@nrc-cnrc.gc.ca<mailto:sheldon.bri...@nrc-cnrc.gc.ca>>
Cc: pulp-list@redhat.com<mailto:pulp-list@redhat.com>
Subject: Re: [Pulp-list] repo access error?


***ATTENTION*** This email originated from outside of the NRC. ***ATTENTION*** 
Ce courriel provient de l'extérieur du CNRC
Well, that explains the issue, you need at least 1.12.2 for it to work properly 
(which doesn't mean you've done anything wrong, the upgrade script ought to 
make this correct).

You're using the ansible installer, yes?  Or is it the all-in-one container 
image, or RPMs.


On Tue, Mar 15, 2022 at 10:34 AM Briand, Sheldon 
<sheldon.bri...@nrc-cnrc.gc.ca<mailto:sheldon.bri...@nrc-cnrc.gc.ca>> wrote:
It looks like 1.11.1 but I’m not sure the proper way to check.  I see that 
version files in the site packages.

From: Daniel Alley [mailto:dal...@redhat.com<mailto:dal...@redhat.com>]
Sent: March 15, 2022 11:13 AM
To: Briand, Sheldon 
<sheldon.bri...@nrc-cnrc.gc.ca<mailto:sheldon.bri...@nrc-cnrc.gc.ca>>
Cc: pulp-list@redhat.com<mailto:pulp-list@redhat.com>
Subject: Re: [Pulp-list] repo access error?


***ATTENTION*** This email originated from outside of the NRC. ***ATTENTION*** 
Ce courriel provient de l'extérieur du CNRC
Quick question, what version of django-storages do you have installed?

On Tue, Mar 15, 2022 at 9:59 AM Daniel Alley 
<dal...@redhat.com<mailto:dal...@redhat.com>> wrote:
It should be possible to downgrade but I think we can fix this very quickly, I 
would recommend just waiting

On Tue, Mar 15, 2022 at 9:54 AM Briand, Sheldon 
<sheldon.bri...@nrc-cnrc.gc.ca<mailto:sheldon.bri...@nrc-cnrc.gc.ca>> wrote:
Hi,

No problem.  This worked for an older version of the software.  Is there a sane 
path to downgrade the version I’m running?  Or would it be smarter to just wait.

Thanks,
-Sheldon

From: Daniel Alley [mailto:dal...@redhat.com<mailto:dal...@redhat.com>]
Sent: March 15, 2022 10:50 AM
To: Briand, Sheldon 
<sheldon.bri...@nrc-cnrc.gc.ca<mailto:sheldon.bri...@nrc-cnrc.gc.ca>>
Cc: pulp-list@redhat.com<mailto:pulp-list@redhat.com>
Subject: Re: [Pulp-list] repo access error?


***ATTENTION*** This email originated from outside of the NRC. ***ATTENTION*** 
Ce courriel provient de l'extérieur du CNRC
This is a bug, we'll look into it.  Thanks!

parameters is not an argument on url() => 
https://docs.djangoproject.com/en/4.0/ref/files/storage/#django.core.files.storage.Storage.url

On Mon, Mar 14, 2022 at 12:41 PM Briand, Sheldon 
<sheldon.bri...@nrc-cnrc.gc.ca<mailto:sheldon.bri...@nrc-cnrc.gc.ca>> wrote:
Hi,

Both core and rpm are version: 3.17.3.  I am using Azure storage containers for 
the storage backend.

I get the following error when I try to access content on my test pulp 3 server:

File 
"/usr/local/lib/pulp/lib64/python3.8/site-packages/pulpcore/cache/cache.py", 
line 249, in make_entry
gunicorn[1452560]:     response = await handler(*args)
gunicorn[1452560]:   File 
"/usr/local/lib/pulp/lib64/python3.8/site-packages/pulpcore/content/handler.py",
 line 203, in stream_co>
gunicorn[1452560]:     return await self._match_and_stream(path, request)
gunicorn[1452560]:   File 
"/usr/local/lib/pulp/lib64/python3.8/site-packages/pulpcore/content/handler.py",
 line 512, in _match_an>
gunicorn[1452560]:     return await self._serve_content_artifact(ca, headers, 
request)
gunicorn[1452560]:   File 
"/usr/local/lib/pulp/lib64/python3.8/site-packages/pulpcore/content/handler.py",
 line 792, in _serve_co>
gunicorn[1452560]:     url = URL(artifact_file.storage.url(artifact_name, 
parameters=parameters), encoded=True)
gunicorn[1452560]: TypeError: url() got an unexpected keyword argument 
'parameters'
TypeError: url() got an unexpected keyword argument 'parameters'
gunicorn[1452560]: 127.0.0.1 [14/Mar/2022:14:17:48 +0000] "GET 
/pulp/content/Alma8/repodata/repomd.xml HTTP/1.0" 500 225 "libdnf (AlmaLinux 
8.5; generic; Linux.x86_64)"

Is this a bug or am I doing something wrong?

Thanks,
-Sheldon
_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com<mailto:Pulp-list@redhat.com>
https://listman.redhat.com/mailman/listinfo/pulp-list
_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/pulp-list

Reply via email to