[Pulp-list] 3.3.1 migration error

Dennis Kliban dkliban at redhat.com
Fri May 8 21:46:06 UTC 2020


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 <ggainey at redhat.com> wrote:

> Hey there!
>
> On Fri, May 8, 2020 at 3:53 PM Bin Li (BLOOMBERG/ 120 PARK) <
> bli111 at 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 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/20200508/2d644415/attachment.htm>


More information about the Pulp-list mailing list