[Pulp-list] pulp3 rc8 external postgres

Dennis Kliban dkliban at redhat.com
Wed Nov 20 21:11:37 UTC 2019


You have to set the PULP_SETTINGS environment variable. It is now required
and does not default to /etc/pulp/settings.py. The value should be the path
to your settings file.

On Wed, Nov 20, 2019 at 11:28 AM Bin Li (BLOOMBERG/ 120 PARK) <
bli111 at bloomberg.net> wrote:

> I got the following error when rerun 'django-admin migrate --noinput' to
> reset database:
> django.db.utils.OperationalError: FATAL: no pg_hba.conf entry for host
> "[local]", user "pulp", database "pulp", SSL off
>
> It looks like the database setting in /etc/pulp/settings.py below is
> ignored.
> DATABASES = {"default": {"ENGINE":
> "django.db.backends.postgresql_psycopg2", "NAME": "pulp", "HOST":
> "pulpdbhost", "USER":
> "pulp", "PASSWORD": "pulp", "PORT": 5432}}
>
> This has been working for all previous rc releases. Is there an additional
> steps to reset a external database?
>
>
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20191120/bef885c9/attachment.htm>


More information about the Pulp-list mailing list