<div dir="ltr"><div>Hi Adam,</div><div><br></div><div>I tested this with pulplift and can confirm that the 3.16 repo has this problem, but the nightly repo does not. (And 3.17 repo doesn't exist yet for el8 for some reason.) <br></div><div><br></div><div>The installer fails at collectstatic for me ("pulp_common : Collect static content"), which is where any python dependency errors are usually caught.<br></div><div><br></div><div>These are the vars I used:</div><div><span style="font-family:monospace">pulp_default_admin_password: password<br>pulp_install_plugins:<br>pulp_settings:<br>pulp_install_source: packages<br>pulp_api_bind: "unix:/var/run/pulpcore-api/pulpcore-api.sock"<br>pulp_content_bind: "unix:/var/run/pulpcore-content/pulpcore-content.sock"</span></div><div><span style="font-family:monospace">pulp_pkg_repo: "<a href="https://fedorapeople.org/groups/katello/releases/yum/3.16/pulpcore/el{{">https://fedorapeople.org/groups/katello/releases/yum/3.16/pulpcore/el{{</a> ansible_distribution_major_version }}/x86_64/"</span></div><div><span style="font-family:monospace"># pulp_pkg_repo: "<a href="https://fedorapeople.org/groups/katello/releases/yum/3.17/pulpcore/el{{">https://fedorapeople.org/groups/katello/releases/yum/3.17/pulpcore/el{{</a> ansible_distribution_major_version }}/x86_64/"<br># pulp_pkg_repo: "<a href="https://fedorapeople.org/groups/katello/releases/yum/nightly/pulpcore/el{{">https://fedorapeople.org/groups/katello/releases/yum/nightly/pulpcore/el{{</a> ansible_distribution_major_version }}/x86_64/"</span></div><div><br></div><div>I hope the nightly repo does suffice for you.<br></div><div><br></div><div>I tried to figure out why this occurred, but will move onto other stuff now (since the pulp project neither supports nor tests the 3.16 repo), and leave you with what I uncovered below.<br></div><div><br></div><div> Remember that the 3.16 repo has pulpcore 3.3, and we're on 3.6 now, and we only support 3.6. Although the installer does generally work with a few older versions of pulpcore, we only test it with the current pulp pypi release, git branches, and the katello nightly RPM repo. It does not seem like an installer issue, because I can reproduce it on the command line with the following commands:<br></div><div><br></div><div><span style="font-family:monospace">sudo su - pulp --shell /bin/bash</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">PYTHONPATH=/usr/lib64/python3.6/ DJANGO_SETTINGS_MODULE=pulpcore.app.settings PULP_SETTINGS_FILE=/etc/pulp/settings.py /usr/bin/python3-django-admin collectstatic --noinput --link</span></div><div><div>(this throws your error.)</div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">pulpcore-manager collectstatic --noinput --link</span></div><div>(latter command is equivalent and throws same error)</div><div><br></div><div>Both versions of the libsolv RPM provide this file, I am surprised it is not being loaded:</div><div><span style="font-family:monospace">/usr/lib64/python3.6/site-packages/solv.py</span></div><div>And libsolv is hardly modified between versions:</div><div><a href="https://github.com/theforeman/foreman-packaging/commits/rpm/develop/packages/pulpcore/libsolv">https://github.com/theforeman/foreman-packaging/commits/rpm/develop/packages/pulpcore/libsolv</a></div><div><br></div><div>Also, it looks like neither katello 3.16 nor 3.17 rc1 support installation on el8 yet:</div><div><a href="https://theforeman.org/plugins/katello/3.17/installation/index.html">https://theforeman.org/plugins/katello/3.17/installation/index.html</a></div><div><br></div><div><div>Also, we are supposed to install pulp-rpm (from the nightly repo, not 3.16) in our molecule-based CI for pulp_installer. The CI installs pulp-file & pulp-rpm for all pip install tests, but not RPM install tests. I'll start on fixing this right now.<br></div></div><div><br></div><div>-Mike<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 3, 2020 at 2:38 PM Winberg Adam <<a href="mailto:Adam.Winberg@smhi.se">Adam.Winberg@smhi.se</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">
<div id="gmail-m_-4680187493578579119divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>So I've been trying to install pulp3 on RHEL8 from the rpms hosted at <a href="https://fedorapeople.org/groups/katello/releases/yum/3.16/pulpcore/" id="gmail-m_-4680187493578579119LPlnk20156" target="_blank">https://fedorapeople.org/groups/katello/releases/yum/3.16/pulpcore/</a></p>
<p><br>
</p>
<p>I have not used the pulp_installer but have looked at it to make the install correctly. </p>
<p><br>
</p>
<p>However, I can't get the pulp services to start, I get the following error:</p>
<p><span style="font-family:Consolas,Courier,monospace;font-size:9pt">...</span></p>
<p></p>
<div><span style="font-family:Consolas,Courier,monospace;font-size:9pt">  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 787, in resolve</span></div>
<div><span style="font-family:Consolas,Courier,monospace;font-size:9pt">    raise DistributionNotFound(req, requirers)</span></div>
<div><span style="font-size:9pt;font-family:Consolas,Courier,monospace">pkg_resources.DistributionNotFound: The 'solv' distribution was not found and is required by the application</span><br>
</div>
<p></p>
<div><br>
</div>
'python3-solv' is installed (it is a dependency for the 'python3-pulp-rpm' package). I don't know enough python to understand why this dependency is not found at runtime, has anyone seen this or knows what the problem is? <span style="font-size:12pt">Has
 anyone used the </span><span style="font-size:12pt">pulp_installer to install pulp3 on RHEL/Centos8 with rpms? </span>
<div><br>
</div>
<div>Thanks for any help!</div>
<div><br>
</div>
<div>//Adam<br>
<span style="font-size:12pt"></span>
<div>
<div style="color:rgb(0,0,0)">
<div>
<div class="gmail_quote"><br>
</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><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:capitalize"><span>Mike</span> <span>DePaulo</span><span style="text-transform:uppercase;color:rgb(170,170,170);margin:0px"></span></p><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:12px;margin:0px 0px 4px;text-transform:capitalize">He / Him / His</p><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:12px;margin:0px;text-transform:capitalize"><span>Service Reliability Engineer, Pulp</span></p><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;margin:0px 0px 4px;font-size:12px"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat<span></span></a></p><div style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:medium;margin-bottom:4px"></div><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;margin:0px;font-size:12px"><span>IM: <span>mikedep333</span></span></p><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:12px;margin:0px"><span>GPG: 51745404</span></p><div style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:medium;margin-top:12px"><table border="0"><tbody><tr><td width="100px"><a href="https://www.redhat.com/" target="_blank"><img src="https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png" width="90" height="auto"></a></td></tr></tbody></table></div></div></div>