<div dir="ltr">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. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 20, 2019 at 11:28 AM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth"">I got the following error when rerun 'django-admin migrate --noinput' to reset database:<div>django.db.utils.OperationalError: FATAL:  no pg_hba.conf entry for host "[local]", user "pulp", database "pulp", SSL off</div><div><br></div><div>It looks like the database setting in /etc/pulp/settings.py below is ignored.</div><div>DATABASES = {"default": {"ENGINE": "django.db.backends.postgresql_psycopg2", "NAME": "pulp", "HOST": "pulpdbhost", "USER": </div><div>"pulp", "PASSWORD": "pulp", "PORT": 5432}}</div><div><br></div><div>This has been working for all previous rc releases. Is there an additional steps to reset a external database?</div><div><br></div><div><br></div><div><br></div></div></div>_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>