[Pulp-list] 3.3.1 migration error

Grant Gainey ggainey at redhat.com
Fri May 8 20:21:30 UTC 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20200508/bc98c7f7/attachment.htm>


More information about the Pulp-list mailing list