[Pulp-list] repo access error?

Daniel Alley dalley at redhat.com
Tue Mar 15 15:16:20 UTC 2022


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.Briand at 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:dalley at redhat.com]
> *Sent:* March 15, 2022 11:13 AM
> *To:* Briand, Sheldon <Sheldon.Briand at nrc-cnrc.gc.ca>
> *Cc:* pulp-list at 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 <dalley at 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.Briand at 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:dalley at redhat.com]
> *Sent:* March 15, 2022 10:50 AM
> *To:* Briand, Sheldon <Sheldon.Briand at nrc-cnrc.gc.ca>
> *Cc:* pulp-list at 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.Briand at 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 at redhat.com
> https://listman.redhat.com/mailman/listinfo/pulp-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20220315/310080a2/attachment.htm>


More information about the Pulp-list mailing list