<div dir="ltr">Bin is using Katello's RPM builds, I'm not sure if Katello has RPMs built for 3.10.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 5, 2021 at 4:22 PM Fabricio Aguiar <<a href="mailto:faguiard@redhat.com">faguiard@redhat.com</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 dir="ltr">I tried but I couldn't reproduce the error, <div>I know pulpcore 3.11 introduced some breaking changes [1]</div><div>I would try to migrate from 3.7 to 3.10, and then from 3.10 to 3.14</div><div><br></div><div>[1] <a href="https://docs.pulpproject.org/pulpcore/changes.html#id198" target="_blank">https://docs.pulpproject.org/pulpcore/changes.html#id198</a><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><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 href="https://www.redhat.com/" style="color:rgb(0,136,206);font-family:RedHatText,sans-serif;font-size:12px;margin:0px" target="_blank">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" width="96" height="22"><br></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 29, 2021 at 1:17 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net" target="_blank">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><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth"">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 style="font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth""><div><div><div>From: <a href="mailto:faguiard@redhat.com" target="_blank">faguiard@redhat.com</a> At: 07/27/21 10:37:36 UTC-4:00</div>To: <a href="mailto:bli111@bloomberg.net" target="_blank"> Bin Li (BLOOMBERG/ 120 PARK ) </a><br>Cc: <a href="mailto:pulp-list@redhat.com" target="_blank"> pulp-list@redhat.com</a><br>Subject: Re: [Pulp-list] pulp 3.14 migration</div><br></div><div style="background:white none repeat scroll 0% 0%;color:black;font-family:Arial,"BB.Proportional";font-size:small;white-space:normal"><div><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"><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" href="https://www.redhat.com/" target="_blank">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 href="mailto:bli111@bloomberg.net" target="_blank">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 href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br><a href="https://listman.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div></blockquote><br></div></div></div></div></div></div></blockquote></div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>