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) <
[email protected]> 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
> [email protected]
> https://www.redhat.com/mailman/listinfo/pulp-list
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to