https://pulp.plan.io/https://pulp.plan.io/favicon.ico2016-10-03T16:52:21ZPulpPulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=148332016-10-03T16:52:21Zbmbouterbmbouter@redhat.com
<ul></ul><p>It looks like apach won't start due to the file '/srv/pulp/repo_auth.wsgi' being missing. That is expected to be installed when pulp-server is installed. Because apache won't start your pulp-admin will not work. Somehow the rpm upgrade failed. Knowing more about what errors occurred when the upgrade was done would be helpful.</p>
<p>In terms of fixing your installation, consider reinstalling or uninstalling+installing the pulp packages. I expect Pulp to leave the database and filesystem alone if you uninstall and then install pulp, but I have not done this myself. Do take backups of your database and filesystem when you do.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=148382016-10-03T18:02:57Zbmbouterbmbouter@redhat.com
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-12 priority-6 priority-default closed" href="/issues/2291">Issue #2291</a>: Upgraded from 2.7 to 2.9 via yum and getting errors</i> added</li></ul> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=148612016-10-04T14:57:48Zamacdona@redhat.comaustin@redhat.com
<ul></ul><p>We are curious if this has to do with a recent change in one of our packages, could you please post the results of</p>
<pre><code>rpm -qa | grep python-pulp-repoauth
</code></pre> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=148782016-10-04T17:16:52Zjreitmayer
<ul></ul><p>@amacdona<br>
rpm -qa | grep python-pulp-repoauth generates:</p>
<p>python-pulp-repoauth-2.9.2-1.el6.noarch</p>
<p><a class="user active" href="https://pulp.plan.io/users/1">bmbouter</a><br>
I had to copy the /usr/share/pulp/wsgi to /srv/pulp and chown the wsgi files to apache to get pulp-admin working. That was only half the problem after the upgrade. I then had to set our selinux to permissive so my other servers could access the repositories. I am working on creating a rule in our puppet to push out a Selinux rule to our pulp server to allow SeLinux to be reset back to enforcing. Over all the whole update from 2.7.1 to 2.9.2 was horrible. I spent over 3 days trying to figure out what exactly broke and having to disable security permissions to get the software working shouldn't have been needed. I will continue to work on it if i get time or if y'all have other suggestions.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149552016-10-07T16:01:21Zbmbouterbmbouter@redhat.com
<ul></ul><p>@jreitmayer re selinux.</p>
<p>If your upgrade failed I suspect that the policy did not get to install normally also. The SELinux policies are provided by the pulp-selinux rpm and in upgrade situations it runs specific restorecon statements. If that happened then you won't have the correct labels on the pulp applications and content which would cause symptoms you are describing.</p>
<p>Verify that the expected SELinux policies are installed. On 2.9 I expect it to show:</p>
<pre><code>[vagrant@dev docs]$ sudo semodule -l | grep pulp
pulp-celery
pulp-server
pulp-streamer
</code></pre>
<p>If they are installed I would recommend doing a global restore con or checking against the .fc files in this directory[0] which identify the selinux policies filesystem paths and labels. You could restorecon just these dirs or check that they already have the expected labels.</p>
<p>If you still have issues open another bug and we can work through it there.</p>
<p>[0]: <a href="https://github.com/pulp/pulp/tree/2.9-release/server/selinux/server" class="external">https://github.com/pulp/pulp/tree/2.9-release/server/selinux/server</a></p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149572016-10-07T16:06:43Zjreitmayer
<ul></ul><p>When i run that I get...</p>
<p>[10:40:40 root@reposrv:/var/log]$ semodule -l | grep pulp<br>
pulp-celery 2.9.2<br>
pulp-server 2.9.2<br>
pulp-streamer 2.9.2</p>
<p>You will have to forgive me. I am not familiar with what at "global restore con or checking against the .fc files in this directory" means. If you have some other instructions on where to look for these .fc files to make sure they are there or a way to re-add them I will go through them. Until then I'm still learning about how our puppet controls Selinux and how to manipulate the puppet manifests for our Selinux controls.</p>
<p>I'm sorry for being so dense. I know a bit about linux but i'm still learning. I know even less about pulp. I was handed this machine after my predecessor quit in April.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149582016-10-07T16:10:25Zpcreechpcreech@redhat.com
<ul></ul><p>Hey jreitmayer! I'm really sorry you are having so much trouble with your upgrade.</p>
<p>In the transition from pulp 2.7 to pulp 2.8, we moved things from /srv/pulp to /usr/share/pulp to better conform to the Filesystem Hierarchy Standard.</p>
<p>Because of this, you should see /etc/httpd/conf.d/{name}.conf.rpmnew files in this directory that you can merge with the main config files to update to the new paths.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149592016-10-07T16:11:53Zbmbouterbmbouter@redhat.com
<ul></ul><p>@jreitmayer it looks like your policies are all installed correctly.</p>
<p>Try relabeling the pulp SELinux labels. You can do all that with these commands:</p>
<pre><code>/sbin/restorecon -i -R /etc/httpd/conf.d/pulp.conf
/sbin/restorecon -i -R /etc/pulp
/sbin/restorecon -i -R /etc/pki/pulp
/sbin/restorecon -i /usr/bin/pulp-admin
/sbin/restorecon -i /usr/bin/pulp-consumer
/sbin/restorecon -i -R /var/lib/pulp
/sbin/restorecon -i -R /var/log/pulp
/sbin/restorecon -i /usr/bin/celery
/sbin/restorecon -i -R /var/cache/pulp
/sbin/restorecon -i -R /var/run/pulp
/sbin/restorecon -i -R /usr/share/pulp/wsgi
/sbin/restorecon -i /usr/bin/pulp_streamer
</code></pre>
<p>I wonder if this will fix it for you.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149602016-10-07T16:14:14Zjreitmayer
<ul></ul><p>Hey PCReech,</p>
<p>When i look in /etc/http.d/conf.d/ I find the following:</p>
<p>[11:11:19 root@reposrv:/etc/httpd/conf.d]$ ls<br>
25-http-reposrv.dsa.reldom.tamu.edu.conf authn_file.load dav.load mime_magic.conf speling.load<br>
25-http-reposrv.dsa.reldom.tamu.edu.conf~ authz_dbm.load deflate.conf mime_magic.load ssl.conf<br>
25-https-reposrv.dsa.reldom.tamu.edu.conf authz_default.load deflate.load negotiation.conf ssl.load<br>
25-https-reposrv.dsa.reldom.tamu.edu.conf~ authz_groupfile.load dir.conf negotiation.load substitute.load<br>
actions.load authz_host.load dir.load prefork.conf suexec.load<br>
alias.conf authz_owner.load env.load pulp.conf usertrack.load<br>
alias.load authz_user.load expires.load pulp_docker.conf version.load<br>
auth_basic.load autoindex.conf ext_filter.load pulp_puppet.conf vhost_alias.load<br>
auth_digest.load autoindex.load include.load pulp_python.conf wsgi.conf<br>
authn_alias.load cache.load log_config.load pulp_rpm.conf wsgi.load<br>
authn_anon.load cgi.load logio.load rewrite.load<br>
authn_dbm.load dav_fs.conf mime.conf setenvif.conf<br>
authn_default.load dav_fs.load mime.load setenvif.load</p>
<p>I don't see anything for a *.conf.rpmnew. I appreciate the help. I have it working when SeLinux runs in permissive mode. If i turn SeLinux back to enforcing I get errors. Any help resecuring this box is greatly appreciated. My SeLinux knowledge is limited but I'm slowly learning between other issues I'm having with other servers I manage.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149612016-10-07T16:16:47Zjreitmayer
<ul></ul><p><a class="user active" href="https://pulp.plan.io/users/1">bmbouter</a></p>
<p>Let me snapshot my machine and i'll give those commands a try. Is there a way to view those permissions before i run the commands you gave me and make sure they are missing?</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149622016-10-07T16:21:38Zpcreechpcreech@redhat.com
<ul><li><strong>File</strong> <a href="/attachments/283">pulp.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/283/pulp.conf">pulp.conf</a> added</li><li><strong>File</strong> <a href="/attachments/285">pulp_rpm.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/285/pulp_rpm.conf">pulp_rpm.conf</a> added</li></ul><p>Ok, I'm going to post my pulp*.conf's for you to compare with.</p>
<p>First off, we need to get the conf files pointed to the wsgi files in /usr/share/pulp instead of /srv/pulp</p>
<p>I only have pulp_rpm installed, but changes should be similar for all</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149632016-10-07T16:27:16Zjreitmayer
<ul><li><strong>File</strong> <a href="/attachments/286">25-http-reposrv.dsa.reldom.tamu.edu.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/286/25-http-reposrv.dsa.reldom.tamu.edu.conf">25-http-reposrv.dsa.reldom.tamu.edu.conf</a> added</li><li><strong>File</strong> <a href="/attachments/287">25-https-reposrv.dsa.reldom.tamu.edu.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/287/25-https-reposrv.dsa.reldom.tamu.edu.conf">25-https-reposrv.dsa.reldom.tamu.edu.conf</a> added</li><li><strong>File</strong> <a href="/attachments/289">pulp.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/289/pulp.conf">pulp.conf</a> added</li><li><strong>File</strong> <a href="/attachments/288">pulp_docker.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/288/pulp_docker.conf">pulp_docker.conf</a> added</li><li><strong>File</strong> <a href="/attachments/291">pulp_puppet.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/291/pulp_puppet.conf">pulp_puppet.conf</a> added</li><li><strong>File</strong> <a href="/attachments/290">pulp_python.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/290/pulp_python.conf">pulp_python.conf</a> added</li><li><strong>File</strong> <a href="/attachments/292">pulp_rpm.conf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/292/pulp_rpm.conf">pulp_rpm.conf</a> added</li></ul><p>Ok when i was working on getting the pulp-admin fixed I know i pointed a file at that directory. I'll have to go back and find it again. I'll be honest and say I don't know exactly what all is installed on this box. The guy that built it didn't leave any notes except to snapshot it before I run updates. I didn't find those notes till after I had updated it from 2.7 to 2.9.2. LOL Lucky me.</p>
<p>I have attached the files i have for pulp if you need others just let me know.</p>
<p>I will compare mine to yours. I will also try bmbouter's command suggestions.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149642016-10-07T16:33:05Zpcreechpcreech@redhat.com
<ul></ul><p>Can you "ls -la /usr/share/pulp/wsgi" and post me the output?</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149652016-10-07T17:16:47Zjreitmayer
<ul></ul><p>[12:14:17 root@reposrv:/etc/httpd/conf.d]$ "ls la /usr/share/pulp/wsgi"<br>
total 24<br>
drwxr-xr-x. 2 root root 4096 Aug 19 14:01 .<br>
drwxr-xr-x. 5 root root 4096 Aug 19 14:01 ..<br>
<del>rw-r--r-</del>. 1 root root 74 Aug 15 13:39 content.wsgi<br>
<del>rw-r--r-</del>. 1 root root 311 Aug 15 13:37 puppet_forge.wsgi<br>
<del>rw-r--r-</del>. 1 root root 44 Aug 15 13:39 repo_auth.wsgi<br>
<del>rw-r--r-</del>. 1 root root 729 Aug 15 13:39 webservices.wsgi</p>
<p>the pulp.conf reflects the changes you have.</p>
<p>#WSGISocketPrefix run/wsgi<br>
#WSGIScriptAlias /pulp/api /srv/pulp/webservices.wsgi<br>
#WSGIImportScript /srv/pulp/webservices.wsgi process-group=pulp application-group=pulp<br>
WSGISocketPrefix run/wsgi<br>
WSGIScriptAlias /pulp/api /usr/share/pulp/wsgi/webservices.wsgi<br>
WSGIImportScript /usr/share/pulp/wsgi/webservices.wsgi process-group=pulp application-group=pulp</p>
<p>That is part of my already working config. SeLinux is the main issue now.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149662016-10-07T17:25:02Zpcreechpcreech@redhat.com
<ul></ul><p>Some more conf file changes:</p>
<p>In pulp_rpm, you need to change the WSGIAccessScript entries to point to /usr/share/pulp/wsgi/repo_auth.wsgi</p>
<p>Your pulp_puppet.conf needs to look like this one (mainly the content after RedirectMatch):</p>
<p><a href="https://github.com/pulp/pulp_puppet/blob/2.9-release/pulp_puppet_plugins/etc/httpd/conf.d/pulp_puppet.conf" class="external">https://github.com/pulp/pulp_puppet/blob/2.9-release/pulp_puppet_plugins/etc/httpd/conf.d/pulp_puppet.conf</a></p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149672016-10-07T17:27:07Zbmbouterbmbouter@redhat.com
<ul></ul><p>You can list selinux labels with the -Z flag using ls. So for example:</p>
<pre><code>[vagrant@dev docs]$ ls -laZ /var/lib/pulp
total 40
drwxrwsr-t. 8 apache apache system_u:object_r:httpd_sys_rw_content_t:s0 4096 Oct 6 15:09 .
drwxr-xr-x. 32 root root system_u:object_r:var_lib_t:s0 4096 Oct 6 15:08 ..
-rw-r--r--. 1 apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 2 Oct 6 15:08 0005_puppet_module_name_change.txt
drwxr-xr-x. 2 apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 4096 Oct 6 15:06 celery
drwxr-xr-x. 2 apache apache system_u:object_r:httpd_sys_rw_content_t:s0 4096 Aug 19 10:06 content
drwxr-xr-x. 3 apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 4096 Oct 6 15:06 nodes
drwxrwsr-t. 7 apache apache system_u:object_r:httpd_sys_rw_content_t:s0 4096 Oct 6 15:07 published
-rw-r--r--. 1 apache apache system_u:object_r:httpd_sys_rw_content_t:s0 1 Oct 6 15:09 sn.dat
drwxr-xr-x. 2 apache apache system_u:object_r:httpd_sys_rw_content_t:s0 4096 Oct 6 15:05 static
drwxr-xr-x. 2 apache apache system_u:object_r:httpd_sys_rw_content_t:s0 4096 Aug 19 10:06 uploads
</code></pre> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149682016-10-07T17:27:32Zjreitmayer
<ul></ul><p><a class="user active" href="https://pulp.plan.io/users/1">bmbouter</a>... no joy..</p>
<p>I ran those commands above and reset selinux to enforcing. I get the following:</p>
<p>^C[12:24:03 root@reposrv:/etc/httpd/conf.d]$ yum clean all<br>
Loaded plugins: fastestmirror, pulp-profile-update<br>
Cleaning repos: centos-base centos-extras centos-updates doit epel-6 group_qpid-qpid mongodb-org-3-0 nginx-1.8 pulp-2-stable<br>
: puppetlabs-deps puppetlabs-pc1 puppetlabs-release qpid remi-6 rpmforge rsyslog-v8<br>
Cleaning up Everything<br>
Cleaning up list of fastest mirrors<br>
[12:24:05 root@reposrv:/etc/httpd/conf.d]$ yum update<br>
Loaded plugins: fastestmirror, pulp-profile-update<br>
Setting up Update Process<br>
Determining fastest mirrors<br>
<a href="https://reposrv.dsa.reldom.tamu.edu/pulp/repos/centos/base/repodata/repomd.xml" class="external">https://reposrv.dsa.reldom.tamu.edu/pulp/repos/centos/base/repodata/repomd.xml</a>: [Errno 14] PYCURL ERROR 22 - "NSS: client certificate not found (nickname not specified)"<br>
Trying other mirror.<br>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-base. Please verify its path and try again</p>
<p>I set it back to permissive and i can download updates again.</p>
<p>[12:22:39 root@reposrv:/etc/httpd/conf.d]$ setenforce enforcing<br>
[12:23:54 root@reposrv:/etc/httpd/conf.d]$ yum update<br>
Loaded plugins: fastestmirror, pulp-profile-update<br>
Setting up Update Process<br>
Loading mirror speeds from cached hostfile<br>
Resolving Dependencies<br>
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.<br>
--> Running transaction check<br>
---> Package mongodb.x86_64 0:2.4.14-1.el6 will be updated<br>
---> Package mongodb.x86_64 0:2.4.14-3.el6 will be an update<br>
---> Package mongodb-server.x86_64 0:2.4.14-1.el6 will be updated<br>
---> Package mongodb-server.x86_64 0:2.4.14-3.el6 will be an update<br>
---> Package pulp-admin-client.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-admin-client.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-agent.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-agent.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-consumer-client.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-consumer-client.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-docker-admin-extensions.noarch 0:2.0.3-1.el6 will be updated<br>
---> Package pulp-docker-admin-extensions.noarch 0:2.1.0-1.el6 will be an update<br>
---> Package pulp-docker-plugins.noarch 0:2.0.3-1.el6 will be updated<br>
---> Package pulp-docker-plugins.noarch 0:2.1.0-1.el6 will be an update<br>
---> Package pulp-nodes-admin-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-nodes-admin-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-nodes-common.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-nodes-common.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-nodes-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-nodes-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-admin-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-admin-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-handlers.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-handlers.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-plugins.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-plugins.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-tools.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-tools.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-admin-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-admin-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-handlers.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-handlers.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-plugins.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-plugins.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-yumplugins.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-yumplugins.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-selinux.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-selinux.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-server.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-server.noarch 0:2.10.0-1.el6 will be an update<br>
--> Processing Dependency: kobo for package: pulp-server-2.10.0-1.el6.noarch<br>
---> Package python-kombu.noarch 1:3.0.33-5.pulp.el6 will be updated<br>
---> Package python-kombu.noarch 1:3.0.33-6.pulp.el6 will be an update<br>
---> Package python-pulp-agent-lib.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-agent-lib.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-bindings.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-bindings.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-client-lib.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-client-lib.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-common.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-common.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-docker-common.noarch 0:2.0.3-1.el6 will be updated<br>
---> Package python-pulp-docker-common.noarch 0:2.1.0-1.el6 will be an update<br>
---> Package python-pulp-oid_validation.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-oid_validation.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-puppet-common.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-puppet-common.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-repoauth.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-repoauth.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-rpm-common.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-rpm-common.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-qpid.noarch 0:0.32-13.el6 will be updated<br>
---> Package python-qpid.noarch 0:1.35.0-1.el6 will be an update<br>
---> Package python-qpid-common.noarch 0:0.32-13.el6 will be updated<br>
---> Package python-qpid-common.noarch 0:1.35.0-1.el6 will be an update<br>
---> Package python-qpid-qmf.x86_64 0:0.32-1.el6 will be updated<br>
---> Package python-qpid-qmf.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-cpp-client.x86_64 0:0.34-6.el6 will be updated<br>
---> Package qpid-cpp-client.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-cpp-server.x86_64 0:0.34-6.el6 will be updated<br>
---> Package qpid-cpp-server.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-cpp-server-linearstore.x86_64 0:0.34-6.el6 will be updated<br>
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-proton-c.x86_64 0:0.13.1-1.el6 will be updated<br>
---> Package qpid-proton-c.x86_64 0:0.14.0-1.el6 will be an update<br>
---> Package qpid-qmf.x86_64 0:0.32-1.el6 will be updated<br>
---> Package qpid-qmf.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-tools.noarch 0:0.32-9.el6 will be updated<br>
---> Package qpid-tools.noarch 0:1.35.0-1.el6 will be an update<br>
--> Running transaction check<br>
---> Package kobo.noarch 0:0.4.2-1.el6 will be installed<br>
^C[12:24:03 root@reposrv:/etc/httpd/conf.d]$ yum clean all<br>
Loaded plugins: fastestmirror, pulp-profile-update<br>
Cleaning repos: centos-base centos-extras centos-updates doit epel-6 group_qpid-qpid mongodb-org-3-0 nginx-1.8 pulp-2-stable<br>
: puppetlabs-deps puppetlabs-pc1 puppetlabs-release qpid remi-6 rpmforge rsyslog-v8<br>
Cleaning up Everything<br>
Cleaning up list of fastest mirrors<br>
[12:24:05 root@reposrv:/etc/httpd/conf.d]$ yum update<br>
Loaded plugins: fastestmirror, pulp-profile-update<br>
Setting up Update Process<br>
Determining fastest mirrors<br>
<a href="https://reposrv.dsa.reldom.tamu.edu/pulp/repos/centos/base/repodata/repomd.xml" class="external">https://reposrv.dsa.reldom.tamu.edu/pulp/repos/centos/base/repodata/repomd.xml</a>: [Errno 14] PYCURL ERROR 22 - "NSS: client certificate not found (nickname not specified)"<br>
Trying other mirror.<br>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-base. Please verify its path and try again<br>
[12:24:09 root@reposrv:/etc/httpd/conf.d]$ setenforce permissive<br>
[12:24:21 root@reposrv:/etc/httpd/conf.d]$ yum update<br>
Loaded plugins: fastestmirror, pulp-profile-update<br>
Setting up Update Process<br>
Loading mirror speeds from cached hostfile<br>
centos-base | 2.1 kB 00:00<br>
centos-base/primary | 1.9 MB 00:00<br>
centos-base 6575/6575<br>
centos-extras | 2.5 kB 00:00<br>
centos-extras/primary | 19 kB 00:00<br>
centos-extras 64/64<br>
centos-updates | 2.5 kB 00:00<br>
centos-updates/primary | 3.1 MB 00:00<br>
centos-updates 1622/1622<br>
doit | 2.1 kB 00:00<br>
doit/primary | 3.1 kB 00:00<br>
doit 16/16<br>
epel-6 | 2.1 kB 00:00<br>
epel-6/primary | 4.2 MB 00:00<br>
epel-6 12234/12234<br>
group_qpid-qpid | 3.0 kB 00:00<br>
group_qpid-qpid/primary_db | 24 kB 00:00<br>
mongodb-org-3-0 | 1.8 kB 00:00<br>
mongodb-org-3-0/primary | 16 kB 00:00<br>
mongodb-org-3-0 75/75<br>
nginx-1.8 | 2.1 kB 00:00<br>
nginx-1.8/primary | 5.4 kB 00:00<br>
nginx-1.8 29/29<br>
pulp-2-stable | 2.1 kB 00:00<br>
pulp-2-stable/primary | 15 kB 00:00<br>
pulp-2-stable 31/31<br>
puppetlabs-deps | 1.8 kB 00:00<br>
puppetlabs-deps/primary | 14 kB 00:00<br>
puppetlabs-deps 77/77<br>
puppetlabs-pc1 | 2.5 kB 00:00<br>
puppetlabs-pc1/primary_db | 80 kB 00:00<br>
puppetlabs-release | 1.8 kB 00:00<br>
puppetlabs-release/primary | 25 kB 00:00<br>
puppetlabs-release 94/94<br>
qpid | 2.5 kB 00:00<br>
qpid/primary | 2.3 kB 00:00<br>
qpid 7/7<br>
remi-6 | 2.1 kB 00:00<br>
remi-6/primary | 1.3 MB 00:00<br>
remi-6 3838/3838<br>
rpmforge | 1.8 kB 00:00<br>
rpmforge/primary | 1.3 MB 00:00<br>
rpmforge 4718/4718<br>
rsyslog-v8 | 1.8 kB 00:00<br>
rsyslog-v8/primary | 164 kB 00:00<br>
rsyslog-v8 1041/1041<br>
Resolving Dependencies<br>
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.<br>
--> Running transaction check<br>
---> Package mongodb.x86_64 0:2.4.14-1.el6 will be updated<br>
---> Package mongodb.x86_64 0:2.4.14-3.el6 will be an update<br>
---> Package mongodb-server.x86_64 0:2.4.14-1.el6 will be updated<br>
---> Package mongodb-server.x86_64 0:2.4.14-3.el6 will be an update<br>
---> Package pulp-admin-client.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-admin-client.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-agent.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-agent.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-consumer-client.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-consumer-client.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-docker-admin-extensions.noarch 0:2.0.3-1.el6 will be updated<br>
---> Package pulp-docker-admin-extensions.noarch 0:2.1.0-1.el6 will be an update<br>
---> Package pulp-docker-plugins.noarch 0:2.0.3-1.el6 will be updated<br>
---> Package pulp-docker-plugins.noarch 0:2.1.0-1.el6 will be an update<br>
---> Package pulp-nodes-admin-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-nodes-admin-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-nodes-common.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-nodes-common.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-nodes-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-nodes-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-admin-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-admin-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-handlers.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-handlers.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-plugins.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-plugins.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-puppet-tools.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-puppet-tools.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-admin-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-admin-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-handlers.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-handlers.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-plugins.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-plugins.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-rpm-yumplugins.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-rpm-yumplugins.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-selinux.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-selinux.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package pulp-server.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package pulp-server.noarch 0:2.10.0-1.el6 will be an update<br>
--> Processing Dependency: kobo for package: pulp-server-2.10.0-1.el6.noarch<br>
---> Package python-kombu.noarch 1:3.0.33-5.pulp.el6 will be updated<br>
---> Package python-kombu.noarch 1:3.0.33-6.pulp.el6 will be an update<br>
---> Package python-pulp-agent-lib.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-agent-lib.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-bindings.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-bindings.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-client-lib.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-client-lib.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-common.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-common.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-docker-common.noarch 0:2.0.3-1.el6 will be updated<br>
---> Package python-pulp-docker-common.noarch 0:2.1.0-1.el6 will be an update<br>
---> Package python-pulp-oid_validation.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-oid_validation.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-puppet-common.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-puppet-common.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-repoauth.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-repoauth.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-pulp-rpm-common.noarch 0:2.9.2-1.el6 will be updated<br>
---> Package python-pulp-rpm-common.noarch 0:2.10.0-1.el6 will be an update<br>
---> Package python-qpid.noarch 0:0.32-13.el6 will be updated<br>
---> Package python-qpid.noarch 0:1.35.0-1.el6 will be an update<br>
---> Package python-qpid-common.noarch 0:0.32-13.el6 will be updated<br>
---> Package python-qpid-common.noarch 0:1.35.0-1.el6 will be an update<br>
---> Package python-qpid-qmf.x86_64 0:0.32-1.el6 will be updated<br>
---> Package python-qpid-qmf.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-cpp-client.x86_64 0:0.34-6.el6 will be updated<br>
---> Package qpid-cpp-client.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-cpp-server.x86_64 0:0.34-6.el6 will be updated<br>
---> Package qpid-cpp-server.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-cpp-server-linearstore.x86_64 0:0.34-6.el6 will be updated<br>
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-proton-c.x86_64 0:0.13.1-1.el6 will be updated<br>
---> Package qpid-proton-c.x86_64 0:0.14.0-1.el6 will be an update<br>
---> Package qpid-qmf.x86_64 0:0.32-1.el6 will be updated<br>
---> Package qpid-qmf.x86_64 0:1.35.0-1.el6 will be an update<br>
---> Package qpid-tools.noarch 0:0.32-9.el6 will be updated<br>
---> Package qpid-tools.noarch 0:1.35.0-1.el6 will be an update<br>
--> Running transaction check<br>
---> Package kobo.noarch 0:0.4.2-1.el6 will be installed</p>
<p>I am really not sure at this point what is broke with SeLinux and Pulp or Apache.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149692016-10-07T17:43:50Zjreitmayer
<ul></ul><p>Ok so I'm trying to point all these conf files at /usr/share/pulp/wsgi and it can't find the pulp.wsgi in that folder.</p>
<p>I see its missing. Is there a way I'm supposed to recreate it?</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=149702016-10-07T17:47:30Zbmbouterbmbouter@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - NOTABUG</i></li><li><strong>Triaged</strong> changed from <i>No</i> to <i>Yes</i></li></ul><p>SELinux errors are in audit.log so that will show more about what the actual problem is. Also there are Pulp logs. If you want to run with SELinux enabled you'll probably have to spend some time learning about it. We can help fill in the pulp parts. (I wrote our SELinux policy).</p>
<p>This is an environmental problem in your installation, and I think we can say that this is not a Pulp issue other users will experience. For environmental issues, we can still help you, but you'll need to login to #pulp on freenode to discuss how to fix your installation. I'm bmbouter in there, but several people could assist. You could also try the mailing list, but I recommend IRC.</p> Pulp - Issue #2288: unable to access pulp-admin or repositorieshttps://pulp.plan.io/issues/2288?journal_id=386172019-04-15T20:24:30Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>