<html><head><title></title></head><body><!-- rte-version 0.2 9947551637294008b77bce25eb683dac --><div class="rte-style-maintainer rte-pre-wrap" bbg-color="default"data-bb-font-size="medium" bbg-font-size="medium" style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);">Thanks Faguiard. We are using pulp_installer. The error originally from pulpcore 3.14 and pulp_rpm 3.13. <div><br></div><div>I just tried the latest pulp_installer. I still see the same errors. </div><div>pulp-file                       1.8.2</div><div>pulp-rpm                        3.14.0</div><div>pulpcore                        3.14.3</div><div><br></div><div>I noticed a interesting thing. The migration from 3.7.3 works fine if I migrate a fresh installed 3.7.3 to 3.14.3. The error only happened after I syncd a few repos to the 3.7.3 instance and then migrate to 3.14.3.</div><div><br></div><div><br><div class="rte-style-maintainer" data-color="global-default"bbg-color="default" data-bb-font-size="medium" bbg-font-size="medium" style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);"><div><div class="bbg-rte-fold-content" data-header="From: faguiard@redhat.com At: 07/27/21 10:37:36 UTC-4:00"data-digest="From: faguiard@redhat.com At: 07/27/21 10:37:36 UTC-4:00" style=""><div class="bbg-rte-fold-summary">From: faguiard@redhat.com At: 07/27/21 10:37:36 UTC-4:00</div>To: <a spellcheck="false" bbg-destination="mailto:bli111@bloomberg.net" href="mailto:bli111@bloomberg.net"> Bin Li (BLOOMBERG/ 120 PARK ) </a><br>Cc: <a spellcheck="false"bbg-destination="mailto:pulp-list@redhat.com" href="mailto:pulp-list@redhat.com"> pulp-list@redhat.com</a><br>Subject: Re: [Pulp-list] pulp 3.14 migration</div><br></div><div class="rte-internet-block-wrapper" style="background: white; color: black; font-family: Arial, "BB.Proportional"; font-size: small; white-space: normal;"><div class="rte-internet-block"><blockquote><div dir="ltr">Hi Bin,<div><br></div><div>We currently test migrating from 3.11 to 3.14, so probably something is happening from 3.7 to 3.11</div><div>I'll be trying to reproduce the error. Are you using pulp_installer? If so, which version? Which plugins do you use?</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr">Best regards,</div><div dir="ltr"><span style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:14px;font-weight:700;text-transform:capitalize">Fabricio</span><span style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:14px;font-weight:700;text-transform:capitalize"> </span><span style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:14px;font-weight:700;text-transform:capitalize">Aguiar</span><div>Software Engineer, Pulp Project</div><div><a style="font-family: RedHatText, sans-serif; font-size: 12px; margin: 0px;"spellcheck="false" bbg-destination="https://www.redhat.com/" class="" href="https://www.redhat.com/" data-destination="https://www.redhat.com/">Red Hat Brazil - Latam</a><br></div><div>+55 22 999000595</div><div><img src="https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png"style="width: 96px; height: 22px;" width="96" height="22"><br></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 23, 2021 at 11:29 AM Bin Li (BLOOMBERG/ 120 PARK) <<a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:bli111@bloomberg.net" data-destination="mailto:rte:bind">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 style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; white-space: pre-wrap;"><div>The installation didn't pass the health check because the following errors:</div><div>pulpcore-worker: django.core.exceptions.ImproperlyConfigured: There have been identified artifacts with forbidden checksum 'sha1'. Run 'pulpcore-manager handle-artifact-checksums' first to unset forbidden checksums.</div><div><br></div><div>Tried to run pulpcore-manager. It also failed. This is a migration from existing 3.7.2 to 3.14. Please advise.</div><div><br></div> $ pulpcore-manager handle-artifact-checksums<div>System check identified some issues:</div><div><br></div><div>WARNINGS:</div><div>?: (guardian.W001) Guardian authentication backend is not hooked. You can add this in settings as eg: `AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend', 'guardian.backends.ObjectPermissionBackend')`.</div><div>Traceback (most recent call last):</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute</div><div>    return self.cursor.execute(sql, params)</div><div>psycopg2.errors.UndefinedColumn: column core_artifact.timestamp_of_interest does not exist</div><div>LINE 1: ...ore_artifact"."sha384", "core_artifact"."sha512", "core_arti...</div><div>                                                             ^</div><div><br></div><div><br></div><div>The above exception was the direct cause of the following exception:</div><div><br></div><div>Traceback (most recent call last):</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/models/sql/compiler.py", line 1142, in execute_sql</div><div>    cursor.execute(sql, params)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/backends/utils.py", line 67, in execute</div><div>    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers</div><div>    return executor(sql, params, many, context)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute</div><div>    return self.cursor.execute(sql, params)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/utils.py", line 89, in __exit__</div><div>    raise dj_exc_value.with_traceback(traceback) from exc_value</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute</div><div>    return self.cursor.execute(sql, params)</div><div>django.db.utils.ProgrammingError: column core_artifact.timestamp_of_interest does not exist</div><div>LINE 1: ...ore_artifact"."sha384", "core_artifact"."sha512", "core_arti...</div><div>                                                             ^</div><div><br></div><div><br></div><div>During handling of the above exception, another exception occurred:</div><div><br></div><div>Traceback (most recent call last):</div><div>  File "/opt/utils/venv/pulp/3.8.8/bin/pulpcore-manager", line 8, in <module></div><div>    sys.exit(manage())</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/pulpcore/app/manage.py", line 11, in manage</div><div>    execute_from_command_line(sys.argv)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line</div><div>    utility.execute()</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute</div><div>    self.fetch_command(subcommand).run_from_argv(self.argv)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv</div><div>    self.execute(*args, **cmd_options)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/core/management/base.py", line 364, in execute</div><div>    output = self.handle(*args, **options)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/pulpcore/app/management/commands/handle-artifact-checksums.py", line 177, in handle</div><div>    for a in artifacts_qs.iterator():</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/models/query.py", line 341, in _iterator</div><div>    yield from self._iterable_class(self, chunked_fetch=use_chunked_fetch, chunk_size=chunk_size)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/models/query.py", line 55, in __iter__</div><div>    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)</div><div>  File "/opt/utils/venv/pulp/3.8.8/lib64/python3.8/site-packages/django/db/models/sql/compiler.py", line 1145, in execute_sql</div><div>    cursor.close()</div><div>psycopg2.errors.InvalidCursorName: cursor "_django_curs_139896608020288_1" does not exist</div><div><br></div><div><br></div></div>_______________________________________________<br>Pulp-list mailing list<br><a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:Pulp-list@redhat.com" data-destination="mailto:rte:bind">Pulp-list@redhat.com</a><br><a spellcheck="false"bbg-destination="rte:bind" class="" href="https://listman.redhat.com/mailman/listinfo/pulp-list"data-destination="rte:bind">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div></blockquote><br></div></div></div></div></div></body></html>