I suspect that migration got created when I suggested doing a manual workaround and setting the null=True on the migration. I actually don't know how that would have happened because I suggested modifying an existing migration. Anyway, I now realize that was bad advice.
On Fri, May 8, 2020 at 4:22 PM Grant Gainey <ggai...@redhat.com> wrote: > Hey there! > > On Fri, May 8, 2020 at 3:53 PM Bin Li (BLOOMBERG/ 120 PARK) < > bli...@bloomberg.net> wrote: > >> Hi All, >> Getting an error to upgrade from 3.3. run 'python manage.py >> makemigrations --merge' gave more errors. Anyidea how this can be fixed? >> >> TASK [pulp-database : Run database auth migrations] >> ********************************************************************************************************** >> fatal: [pulp3-2]: FAILED! => {"changed": true, "cmd": >> ["/opt/utils/venv/pulp/3.7.3/bin/django-admin", "migrate", "auth", >> "--no-input"], "delta": "0:00:03.534845", "end": "2020-05-08 >> 15:44:20.362670", "msg": "non-zero return code", "rc": 1, "start": >> "2020-05-08 15:44:16.827825", "stderr": "CommandError: Conflicting >> migrations detected; multiple leaf nodes in the migration graph: >> (0009_revision_null, 0009_auto_20200425_1932 in rpm).\nTo fix them run >> 'python manage.py makemigrations --merge'", "stderr_lines": ["CommandError: >> Conflicting migrations detected; multiple leaf nodes in the migration >> graph: (0009_revision_null, 0009_auto_20200425_1932 in rpm).", "To fix them >> run 'python manage.py makemigrations --merge'"], "stdout": "", >> "stdout_lines": []} >> > > Where did migration "0009_auto_20200425_1932" come from? Looks like it's > conflicting with the delivered 0009_revision_null and causing your problem. > > G > -- > Grant Gainey > Principal Software Engineer, Red Hat System Management Engineering > _______________________________________________ > Pulp-list mailing list > Pulp-list@redhat.com > https://www.redhat.com/mailman/listinfo/pulp-list
_______________________________________________ Pulp-list mailing list Pulp-list@redhat.com https://www.redhat.com/mailman/listinfo/pulp-list