<div dir="ltr"><div>I filed the issue about the <a href="http://requirements.in">requirements.in</a> file[0]. In the meantime you could manually install pulp_rpm using pip. Then run 'pulpcore-manager migrate'. <br></div><div><br></div><div><br></div><div>[0] <a href="https://pulp.plan.io/issues/6697">https://pulp.plan.io/issues/6697</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 8, 2020 at 5:48 PM Dennis Kliban <<a href="mailto:dkliban@redhat.com">dkliban@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">This looks like a bug in pulp_installer. There is supposed to be a newline between pulp-rpm-client and pulp-file-client. I'll file the issue and we'll try to get a fix out on Monday.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 8, 2020 at 5:35 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"">After remove entire pulp installation directory. Now I am getting an error<div><br></div><div>fatal: [pulp3-2]: FAILED! => {"changed": false, "cmd": ["/opt/utils/venv/pulp/3.7.3/bin/pip-compile"], "delta": "0:00:00.778728", "end": "2020-05-08 17:26:32.680701", "failed_when_result": true, "msg": "non-zero return code", "rc": 2, "start": "2020-05-08 17:26:31.901973", "stderr": "Could not find a version that matches pulp-rpm-clientpulp-file-client (from -r <a href="http://requirements.in" target="_blank">requirements.in</a> (line 6))\nNo versions found\nWas <a href="https://artifactory.inf.bloomberg.com/artifactory/api/pypi/bloomberg-pypi-ose/simple" target="_blank">https://artifactory.inf.bloomberg.com/artifactory/api/pypi/bloomberg-pypi-ose/simple</a> reachable?", "stderr_lines": ["Could not find a version that matches pulp-rpm-clientpulp-file-client (from -r <a href="http://requirements.in" target="_blank">requirements.in</a> (line 6))", "No versions found", "Was <a href="https://artifactory.inf.bloomberg.com/artifactory/api/pypi/bloomberg-pypi-ose/simple" target="_blank">https://artifactory.inf.bloomberg.com/artifactory/api/pypi/bloomberg-pypi-ose/simple</a> reachable?"], "stdout": "", "stdout_lines": []}</div><div><br></div><div>It looks like this file is wrong</div><div># more /opt/utils/venv/pulp/3.7.3/<a href="http://requirements.in" target="_blank">requirements.in</a></div><div>pulpcore==3.3.1</div><div>pulp-file==0.3.0</div><div>pulp-rpm==3.3.1</div><div># Any plugins listed below were already installed but not specified in</div><div># pulp_install_plugins</div><div>pulp-rpm-clientpulp-file-client</div><div><br><div style="font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth""><br><div><div>From: Bin Li (BLOOMBERG/ 120 PARK) At: 05/08/20 17:15:02</div>To: <a href="mailto:ggainey@redhat.com" target="_blank"> ggainey@redhat.com</a><br>Cc: <a href="mailto:pulp-list@redhat.com" target="_blank"> pulp-list@redhat.com</a><br>Subject: Re: [Pulp-list] 3.3.1 migration error</div><br><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth"">No idea where it came from. The timestamp is from 4/25. I run pip uninstall pulp-rpm and it didn't remove it.<div><br></div><div># ls -ld /opt/utils/venv/pulp/3.7.3/lib/python3.7/site-packages/pulp_rpm/app/migrations/0009_auto_20200425_1932.py</div><div>-rw-rw-r-- 1 pulp mse-python 492 Apr 25 15:32 /opt/utils/venv/pulp/3.7.3/lib/python3.7/site-packages/pulp_rpm/app/migrations/0009_auto_20200425_1932.py</div><div><br></div><div># more /opt/utils/venv/pulp/3.7.3/lib/python3.7/site-packages/pulp_rpm/app/migrations/0009_auto_20200425_1932.py</div><div># Generated by Django 2.2.12 on 2020-04-25 19:32</div><div><br></div><div>from django.db import migrations, models</div><div><br></div><div><br></div><div>class Migration(migrations.Migration):</div><div><br></div><div>    dependencies = [</div><div>        ('rpm', '0008_advisory_pkg_sumtype_as_int'),</div><div>    ]</div><div><br></div><div>    operations = [</div><div>        migrations.AlterField(</div><div>            model_name='updatecollectionpackage',</div><div>            name='sum_type',</div><div>            field=models.PositiveIntegerField(choices=[(0, 0), (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7)], null=True),</div><div>        ),</div><div><br><br><div style="font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth""><div><div><div>From: <a href="mailto:ggainey@redhat.com" target="_blank">ggainey@redhat.com</a> At: 05/08/20 16:21:45</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] 3.3.1 migration error</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"><div dir="ltr">Hey there!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 8, 2020 at 3:53 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 style="font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth";white-space:pre-wrap"><div>Hi All,</div><div>Getting an error to upgrade from 3.3.  run 'python manage.py makemigrations --merge' gave more errors. Anyidea how this can be fixed?</div><div><br></div>TASK [pulp-database : Run database auth migrations] **********************************************************************************************************<div>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": []}</div></div></blockquote><div><br></div><div>Where did migration "0009_auto_20200425_1932" come from? Looks like it's conflicting with the delivered 0009_revision_null and causing your problem.</div><div><br></div><div>G</div></div>-- <br><div dir="ltr"><div dir="ltr"><div>Grant Gainey</div><div>Principal Software Engineer, Red Hat System Management Engineering</div></div></div></div></blockquote><br></div></div></div></div></div></div></div></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://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>
</blockquote></div>