[Pulp-list] using ansible to install azure backend

Brian Bouterse bmbouter at redhat.com
Wed Mar 24 16:14:25 UTC 2021


I agree with @daviddavis. I think the installer would benefit from docs on
how to configure django-storages for S3 and Azure as basic examples. I
think the process is roughly:

1) Make sure the pulpcore[azure] pip extras is installed in the
virtualenv:
https://github.com/pulp/pulpcore/blob/483abb5c4e8a048db4a8bd39f88c12617cf4b047/setup.py#L25-L30
2) Configure django-storages, which you can set via settings through the
pulp_settings var entirely through the

I believe (1) is not available in the installer today and I'm hoping
@mikedep333 can reply about what can be done there. As a workaround you
could install it manually into the virtualenv onto the target system, let
us know if you want more info on that.


On Wed, Mar 24, 2021 at 11:15 AM David Davis <daviddavis at redhat.com> wrote:

> To clarify, you're talking about having to install the django-storages
> packages[0]?
>
> I don't know if this exists today in the installer (maybe someone from the
> pulp_installer team can confirm) but it would be great to have support for
> setting up pulp to use non-fs storage backends.
>
> With using pip, I think you just need to be sure you're using the pulp
> virtualenv that the installer creates ($ workon pulp).
>
> [0]
> https://docs.pulpproject.org/pulpcore/installation/storage.html#configuring-pulp
>
> David
>
>
> On Tue, Mar 23, 2021 at 9:55 AM Briand, Sheldon <
> Sheldon.Briand at nrc-cnrc.gc.ca> wrote:
>
>> Hi,
>>
>>
>>
>> I see instructions for using pip to install storage back ends.  I’m
>> wondering if there is any way to install the storage back ends using
>> ansible.  If I have used ansible to install pulp3 are there any tricks (or
>> dangers) I need to know when using pip to install the storage back ends?
>>
>>
>>
>> Thanks,
>>
>> -Sheldon
>>
>>
>> _______________________________________________
>> Pulp-list mailing list
>> Pulp-list at redhat.com
>> https://listman.redhat.com/mailman/listinfo/pulp-list
>
> _______________________________________________
> 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/20210324/4ec750a8/attachment.htm>


More information about the Pulp-list mailing list