[Pulp-list] upgrade question

Briand, Sheldon Sheldon.Briand at nrc-cnrc.gc.ca
Tue Feb 15 18:40:04 UTC 2022


Hi,

I'm trying to upgrade a non-production pulp 3 server from version 3.15.2 to 3.17.3.  I'm using the ansible installer for the upgrade.

I'm not sure if that is a valid upgrade path.  Should I have gone to 3.16 first?

If it is a valid upgrade path I'm receiving this error at the following step:

TASK [pulp.pulp_installer.pulp_database_config : Run database migrations]
fatal: FAILED! => {"changed": true, "cmd": ["/usr/local/lib/pulp/bin/pulpcore-manager", "migrate", "--no-input"], "delta": "0:00:03.164289", "end": "2022-02-15 13:00:45.103362", "msg": "non-zero return code", "rc": 1, "start": "2022-02-15 13:00:41.939073", "stderr": "Traceback (most recent call last):\n  File \"/usr/local/lib/pulp/lib64/python3.8/site-packages/django/db/backends/utils.py\", line 84, in _execute\n    return self.cursor.execute(sql, params)\npsycopg2.errors.ObjectInUse: cannot ALTER TABLE \"rpm_distributiontree\" because it has pending trigger events\n\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File \"/usr/local/lib/pulp/bin/pulpcore-manager\", line 8, in <module>\n    sys.exit(manage())\n

I'm wondering how I can fix the error?

Thanks,
-Sheldon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20220215/a4788e79/attachment.htm>


More information about the Pulp-list mailing list