<div dir="ltr"><div dir="ltr"><div>Hi Todd,</div><div><br></div><div>1. You appear to be running the latest master branch of pulp_installer. You should (but are not yet required to) follow our new process to install pulp_installer as an ansible galaxy collection. You would get the latest stable release 3.7.1, which does not contain that particular failing task.<br></div><div><a href="https://pulp-installer.readthedocs.io/en/latest/quickstart/#installation" target="_blank">https://pulp-installer.readthedocs.io/en/latest/quickstart/#installation</a></div><div><br></div><div>2. That particular task should not be failing.</div><div>To help us debug this issue on our master branch, can you show the output from several tasks?</div><div>The 1st task: "<span class="gmail-pl-s">Install SELinux policy build dependencies</span><span class="gmail-pl-s">"</span></div><div><span class="gmail-pl-s">The final task: "<span class="gmail-pl-s">Install the SELinux policy packages on disk"</span></span></div><div><span class="gmail-pl-s"><span class="gmail-pl-s">Also run these commands for our info:</span></span></div><div><span class="gmail-pl-s"><span class="gmail-pl-s">$ getenforce</span></span></div><div><span class="gmail-pl-s"><span class="gmail-pl-s">$ cat /etc/selinux/config</span></span></div><div> And what Linux distro & version of it are you running?</div><div>And are you running in any sort of container? If so, what is the host like?<br></div><div><br></div><div>Also, FYI: This issue is in pulp_installer itself, not pulp-rpm or its pulp-rpm specific codepaths.<br></div><div><br></div><div>-Mike<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 7, 2020 at 12:59 PM Heide, Todd <<a href="mailto:Todd.Heide@sccompanies.com" target="_blank">Todd.Heide@sccompanies.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">OK, I must have done something wrong, not sure what. <br>
<br>
RUNNING HANDLER [pulp_common : Load the SELinux policy packages] ***************<br>
failed: [pulp3test] (item=pulpcore_port) => {"ansible_loop_var": "item", "changed": false, "cmd": "semodule -i usr/local/share/selinux/targeted/pulpcore_port.pp", "item": "pulpcore_port", "msg": "[Errno 2] No such file or directory", "rc": 2}<br>
failed: [pulp3test] (item=pulpcore) => {"ansible_loop_var": "item", "changed": false, "cmd": "semodule -i /usr/local/share/selinux/targeted/pulpcore.pp","item": "pulpcore", "msg": "[Errno 2] No such file or directory", "rc": 2}<br>
failed: [pulp3test] (item=pulpcore_rhsmcertd) => {"ansible_loop_var": "item", "changed": false, "cmd": "semodule -i /usr/local/share/selinux/targeted/pulpcore_rhsmcertd.pp", "item": "pulpcore_rhsmcertd", "msg": "[Errno 2] No such file or directory", "rc": 2}<br>
<br>
pulp3test           : ok=67   changed=11   unreachable=0    failed=1    s kipped=42   rescued=0    ignored=0<br>
<br>
-----Original Message-----<br>
From: Mike DePaulo <<a href="mailto:mikedep333@redhat.com" target="_blank">mikedep333@redhat.com</a>> <br>
Sent: Tuesday, October 6, 2020 2:23 PM<br>
To: Heide, Todd <<a href="mailto:Todd.Heide@sccompanies.com" target="_blank">Todd.Heide@sccompanies.com</a>><br>
Cc: Tatiana Tereshchenko <<a href="mailto:ttereshc@redhat.com" target="_blank">ttereshc@redhat.com</a>>; pulp-list <<a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a>><br>
Subject: Re: [Pulp-list] pulp_rpm 3.7.0 is Generally Available<br>
<br>
[EXTERNAL] This message originated outside of the organization. Use caution when opening files or following links in this email!<br>
<br>
Hi Heide,<br>
<br>
The only special upgrade instructions since 3.0 are to not set this variable anymore:<br>
pulp_use_system_wide_pkgs<br>
<br>
Other than that, run the latest pulp_installer with the same set of variables as you originally ran it, but make the variable pulp_install_plugins set as follows. (Assuming pulp-rpm is the only plugin you have installed.):<br>
<br>
pulp_install_plugins:<br>
  pulp-rpm:<br>
    version: "3.7.0"<br>
<br>
-Mike<br>
<br>
<br>
On Tue, Oct 6, 2020 at 12:25 PM Heide, Todd <<a href="mailto:Todd.Heide@sccompanies.com" target="_blank">Todd.Heide@sccompanies.com</a>> wrote:<br>
><br>
> Hi all, is there a doc on upgrading a 3.0.2 version to this one with Ansible?<br>
><br>
><br>
><br>
> From: <a href="mailto:pulp-list-bounces@redhat.com" target="_blank">pulp-list-bounces@redhat.com</a> <<a href="mailto:pulp-list-bounces@redhat.com" target="_blank">pulp-list-bounces@redhat.com</a>> On <br>
> Behalf Of Tatiana Tereshchenko<br>
> Sent: Thursday, September 24, 2020 12:45 PM<br>
> To: pulp-list <<a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a>><br>
> Subject: [Pulp-list] pulp_rpm 3.7.0 is Generally Available<br>
><br>
><br>
><br>
> [EXTERNAL] This message originated outside of the organization. Use caution when opening files or following links in this email!<br>
><br>
> pulp_rpm 3.7.0 has been released. It is compatible with pulpcore 3.7 and future pulpcore 3.8.<br>
><br>
> PyPI: <a href="https://pypi.org/project/pulp-rpm/3.7.0/" rel="noreferrer" target="_blank">https://pypi.org/project/pulp-rpm/3.7.0/</a><br>
> Changelog: <a href="https://pulp-rpm.readthedocs.io/en/3.7/changes.html#id1" rel="noreferrer" target="_blank">https://pulp-rpm.readthedocs.io/en/3.7/changes.html#id1</a><br>
> Docs: <a href="https://pulp-rpm.readthedocs.io/" rel="noreferrer" target="_blank">https://pulp-rpm.readthedocs.io/</a> Python bindings: <br>
> <a href="https://pypi.org/project/pulp-rpm-client/3.7.0/" rel="noreferrer" target="_blank">https://pypi.org/project/pulp-rpm-client/3.7.0/</a><br>
> Ruby bindings: <br>
> <a href="https://rubygems.org/gems/pulp_rpm_client/versions/3.7.0/" rel="noreferrer" target="_blank">https://rubygems.org/gems/pulp_rpm_client/versions/3.7.0/</a><br>
><br>
> _______________________________________________<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><br>
<br>
<br>
<br>
--<br>
<br>
Mike DePaulo<br>
<br>
He / Him / His<br>
<br>
Service Reliability Engineer, Pulp<br>
<br>
Red Hat<br>
<br>
IM: mikedep333<br>
<br>
GPG: 51745404<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><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></div>