Project

Profile

Help

Issue #2288

closed

unable to access pulp-admin or repositories

Added by jreitmayer almost 6 years ago. Updated about 3 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.9.1
Platform Release:
OS:
CentOS 6
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Our pulp installation broke when we did updates to it in August 2016. We cannot access the repositories since the upgrade. when trying to access the repo or pulp-admin console we get this in the error log.

[Wed Sep 28 15:21:26 2016] [error] [client 128.194.188.100] (2)No such file or directory: mod_wsgi (pid=16803, process='', application=''): Call to fopen() failed for '/srv/pulp/repo_auth.wsgi'.

trying to open pulp-admin gets the following:

[15:23:17 root@reposrv:/etc/pulp]$ pulp-admin -vv login -u admin
2016-09-28 15:23:22,820 - DEBUG - sending POST request to /pulp/api/v2/actions/login/
2016-09-28 15:23:22,929 - INFO - POST request to /pulp/api/v2/actions/login/ with parameters None
2016-09-28 15:23:22,930 - INFO - Response status : 404

2016-09-28 15:23:22,931 - INFO - Response body :
"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /pulp/api/v2/actions/login/ was not found on this server.</p>\n</body></html>\n"

2016-09-28 15:23:22,931 - ERROR - Client-side exception occurred
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 474, in run
exit_code = Cli.run(self, args)
File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 974, in run
exit_code = command_or_section.execute(self.prompt, remaining_args)
File "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", line 210, in execute
return self.method(*arg_list, **clean_kwargs)
File "/usr/lib/python2.6/site-packages/pulp/client/admin/admin_auth.py", line 49, in login
result = self.context.server.actions.login(username, password).response_body
File "/usr/lib/python2.6/site-packages/pulp/bindings/actions.py", line 20, in login
return self.server.POST (path)
File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 100, in POST
log_request_body=log_request_body, ignore_prefix=ignore_prefix)
File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 166, in _request
self._handle_exceptions(response_code, response_body)
File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 207, in _handle_exceptions
raise code_class_mappings[response_code](response_body)
File "/usr/lib/python2.6/site-packages/pulp/bindings/exceptions.py", line 16, in init
self.href = response_body.pop('_href', None)
AttributeError: 'str' object has no attribute 'pop'
An unexpected error has occurred. More information may be found using the -v flag.

I'm pretty sure its a problem with apache but i'm not sure where to start. I could use a little help.
Thanks


Files

pulp.conf (3.58 KB) pulp.conf pcreech, 10/07/2016 06:20 PM
pulp_rpm.conf (2.89 KB) pulp_rpm.conf pcreech, 10/07/2016 06:20 PM
25-http-reposrv.dsa.reldom.tamu.edu.conf (1.03 KB) 25-http-reposrv.dsa.reldom.tamu.edu.conf jreitmayer, 10/07/2016 06:27 PM
25-https-reposrv.dsa.reldom.tamu.edu.conf (2.07 KB) 25-https-reposrv.dsa.reldom.tamu.edu.conf jreitmayer, 10/07/2016 06:27 PM
pulp_docker.conf (354 Bytes) pulp_docker.conf jreitmayer, 10/07/2016 06:27 PM
pulp.conf (2.8 KB) pulp.conf jreitmayer, 10/07/2016 06:27 PM
pulp_python.conf (215 Bytes) pulp_python.conf jreitmayer, 10/07/2016 06:27 PM
pulp_puppet.conf (2.03 KB) pulp_puppet.conf jreitmayer, 10/07/2016 06:27 PM
pulp_rpm.conf (1.81 KB) pulp_rpm.conf jreitmayer, 10/07/2016 06:27 PM

Related issues

Has duplicate Pulp - Issue #2291: Upgraded from 2.7 to 2.9 via yum and getting errorsCLOSED - DUPLICATEActions
Actions #1

Updated by bmbouter over 5 years ago

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.

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.

Actions #2

Updated by bmbouter over 5 years ago

  • Has duplicate Issue #2291: Upgraded from 2.7 to 2.9 via yum and getting errors added
Actions #3

Updated by amacdona@redhat.com over 5 years ago

We are curious if this has to do with a recent change in one of our packages, could you please post the results of

rpm -qa | grep python-pulp-repoauth
Actions #4

Updated by jreitmayer over 5 years ago

@amacdona
rpm -qa | grep python-pulp-repoauth generates:

python-pulp-repoauth-2.9.2-1.el6.noarch

bmbouter
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.

Actions #5

Updated by bmbouter over 5 years ago

@jreitmayer re selinux.

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.

Verify that the expected SELinux policies are installed. On 2.9 I expect it to show:

[vagrant@dev docs]$ sudo semodule -l | grep pulp
pulp-celery
pulp-server
pulp-streamer

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.

If you still have issues open another bug and we can work through it there.

[0]: https://github.com/pulp/pulp/tree/2.9-release/server/selinux/server

Actions #6

Updated by jreitmayer over 5 years ago

When i run that I get...

[10:40:40 root@reposrv:/var/log]$ semodule -l | grep pulp
pulp-celery 2.9.2
pulp-server 2.9.2
pulp-streamer 2.9.2

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.

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.

Actions #7

Updated by pcreech over 5 years ago

Hey jreitmayer! I'm really sorry you are having so much trouble with your upgrade.

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.

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.

Actions #8

Updated by bmbouter over 5 years ago

@jreitmayer it looks like your policies are all installed correctly.

Try relabeling the pulp SELinux labels. You can do all that with these commands:

/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

I wonder if this will fix it for you.

Actions #9

Updated by jreitmayer over 5 years ago

Hey PCReech,

When i look in /etc/http.d/conf.d/ I find the following:

[11:11:19 root@reposrv:/etc/httpd/conf.d]$ ls
25-http-reposrv.dsa.reldom.tamu.edu.conf authn_file.load dav.load mime_magic.conf speling.load
25-http-reposrv.dsa.reldom.tamu.edu.conf~ authz_dbm.load deflate.conf mime_magic.load ssl.conf
25-https-reposrv.dsa.reldom.tamu.edu.conf authz_default.load deflate.load negotiation.conf ssl.load
25-https-reposrv.dsa.reldom.tamu.edu.conf~ authz_groupfile.load dir.conf negotiation.load substitute.load
actions.load authz_host.load dir.load prefork.conf suexec.load
alias.conf authz_owner.load env.load pulp.conf usertrack.load
alias.load authz_user.load expires.load pulp_docker.conf version.load
auth_basic.load autoindex.conf ext_filter.load pulp_puppet.conf vhost_alias.load
auth_digest.load autoindex.load include.load pulp_python.conf wsgi.conf
authn_alias.load cache.load log_config.load pulp_rpm.conf wsgi.load
authn_anon.load cgi.load logio.load rewrite.load
authn_dbm.load dav_fs.conf mime.conf setenvif.conf
authn_default.load dav_fs.load mime.load setenvif.load

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.

Actions #10

Updated by jreitmayer over 5 years ago

bmbouter

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?

Actions #11

Updated by pcreech over 5 years ago

Ok, I'm going to post my pulp*.conf's for you to compare with.

First off, we need to get the conf files pointed to the wsgi files in /usr/share/pulp instead of /srv/pulp

I only have pulp_rpm installed, but changes should be similar for all

Actions #12

Updated by jreitmayer over 5 years ago

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.

I have attached the files i have for pulp if you need others just let me know.

I will compare mine to yours. I will also try bmbouter's command suggestions.

Actions #13

Updated by pcreech over 5 years ago

Can you "ls -la /usr/share/pulp/wsgi" and post me the output?

Actions #14

Updated by jreitmayer over 5 years ago

[12:14:17 root@reposrv:/etc/httpd/conf.d]$ "ls la /usr/share/pulp/wsgi"
total 24
drwxr-xr-x. 2 root root 4096 Aug 19 14:01 .
drwxr-xr-x. 5 root root 4096 Aug 19 14:01 ..
rw-r--r-. 1 root root 74 Aug 15 13:39 content.wsgi
rw-r--r-. 1 root root 311 Aug 15 13:37 puppet_forge.wsgi
rw-r--r-. 1 root root 44 Aug 15 13:39 repo_auth.wsgi
rw-r--r-. 1 root root 729 Aug 15 13:39 webservices.wsgi

the pulp.conf reflects the changes you have.

#WSGISocketPrefix run/wsgi
#WSGIScriptAlias /pulp/api /srv/pulp/webservices.wsgi
#WSGIImportScript /srv/pulp/webservices.wsgi process-group=pulp application-group=pulp
WSGISocketPrefix run/wsgi
WSGIScriptAlias /pulp/api /usr/share/pulp/wsgi/webservices.wsgi
WSGIImportScript /usr/share/pulp/wsgi/webservices.wsgi process-group=pulp application-group=pulp

That is part of my already working config. SeLinux is the main issue now.

Actions #15

Updated by pcreech over 5 years ago

Some more conf file changes:

In pulp_rpm, you need to change the WSGIAccessScript entries to point to /usr/share/pulp/wsgi/repo_auth.wsgi

Your pulp_puppet.conf needs to look like this one (mainly the content after RedirectMatch):

https://github.com/pulp/pulp_puppet/blob/2.9-release/pulp_puppet_plugins/etc/httpd/conf.d/pulp_puppet.conf

Actions #16

Updated by bmbouter over 5 years ago

You can list selinux labels with the -Z flag using ls. So for example:

[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
Actions #17

Updated by jreitmayer over 5 years ago

bmbouter... no joy..

I ran those commands above and reset selinux to enforcing. I get the following:

^C[12:24:03 root@reposrv:/etc/httpd/conf.d]$ yum clean all
Loaded plugins: fastestmirror, pulp-profile-update
Cleaning repos: centos-base centos-extras centos-updates doit epel-6 group_qpid-qpid mongodb-org-3-0 nginx-1.8 pulp-2-stable
: puppetlabs-deps puppetlabs-pc1 puppetlabs-release qpid remi-6 rpmforge rsyslog-v8
Cleaning up Everything
Cleaning up list of fastest mirrors
[12:24:05 root@reposrv:/etc/httpd/conf.d]$ yum update
Loaded plugins: fastestmirror, pulp-profile-update
Setting up Update Process
Determining fastest mirrors
https://reposrv.dsa.reldom.tamu.edu/pulp/repos/centos/base/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "NSS: client certificate not found (nickname not specified)"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-base. Please verify its path and try again

I set it back to permissive and i can download updates again.

[12:22:39 root@reposrv:/etc/httpd/conf.d]$ setenforce enforcing
[12:23:54 root@reposrv:/etc/httpd/conf.d]$ yum update
Loaded plugins: fastestmirror, pulp-profile-update
Setting up Update Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package mongodb.x86_64 0:2.4.14-1.el6 will be updated
---> Package mongodb.x86_64 0:2.4.14-3.el6 will be an update
---> Package mongodb-server.x86_64 0:2.4.14-1.el6 will be updated
---> Package mongodb-server.x86_64 0:2.4.14-3.el6 will be an update
---> Package pulp-admin-client.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-admin-client.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-agent.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-agent.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-consumer-client.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-consumer-client.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-docker-admin-extensions.noarch 0:2.0.3-1.el6 will be updated
---> Package pulp-docker-admin-extensions.noarch 0:2.1.0-1.el6 will be an update
---> Package pulp-docker-plugins.noarch 0:2.0.3-1.el6 will be updated
---> Package pulp-docker-plugins.noarch 0:2.1.0-1.el6 will be an update
---> Package pulp-nodes-admin-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-nodes-admin-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-nodes-common.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-nodes-common.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-nodes-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-nodes-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-admin-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-admin-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-handlers.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-handlers.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-plugins.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-plugins.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-tools.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-tools.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-admin-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-admin-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-handlers.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-handlers.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-plugins.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-plugins.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-yumplugins.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-yumplugins.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-selinux.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-selinux.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-server.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-server.noarch 0:2.10.0-1.el6 will be an update
--> Processing Dependency: kobo for package: pulp-server-2.10.0-1.el6.noarch
---> Package python-kombu.noarch 1:3.0.33-5.pulp.el6 will be updated
---> Package python-kombu.noarch 1:3.0.33-6.pulp.el6 will be an update
---> Package python-pulp-agent-lib.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-agent-lib.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-bindings.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-bindings.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-client-lib.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-client-lib.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-common.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-common.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-docker-common.noarch 0:2.0.3-1.el6 will be updated
---> Package python-pulp-docker-common.noarch 0:2.1.0-1.el6 will be an update
---> Package python-pulp-oid_validation.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-oid_validation.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-puppet-common.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-puppet-common.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-repoauth.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-repoauth.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-rpm-common.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-rpm-common.noarch 0:2.10.0-1.el6 will be an update
---> Package python-qpid.noarch 0:0.32-13.el6 will be updated
---> Package python-qpid.noarch 0:1.35.0-1.el6 will be an update
---> Package python-qpid-common.noarch 0:0.32-13.el6 will be updated
---> Package python-qpid-common.noarch 0:1.35.0-1.el6 will be an update
---> Package python-qpid-qmf.x86_64 0:0.32-1.el6 will be updated
---> Package python-qpid-qmf.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-cpp-client.x86_64 0:0.34-6.el6 will be updated
---> Package qpid-cpp-client.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-cpp-server.x86_64 0:0.34-6.el6 will be updated
---> Package qpid-cpp-server.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-cpp-server-linearstore.x86_64 0:0.34-6.el6 will be updated
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-proton-c.x86_64 0:0.13.1-1.el6 will be updated
---> Package qpid-proton-c.x86_64 0:0.14.0-1.el6 will be an update
---> Package qpid-qmf.x86_64 0:0.32-1.el6 will be updated
---> Package qpid-qmf.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-tools.noarch 0:0.32-9.el6 will be updated
---> Package qpid-tools.noarch 0:1.35.0-1.el6 will be an update
--> Running transaction check
---> Package kobo.noarch 0:0.4.2-1.el6 will be installed
^C[12:24:03 root@reposrv:/etc/httpd/conf.d]$ yum clean all
Loaded plugins: fastestmirror, pulp-profile-update
Cleaning repos: centos-base centos-extras centos-updates doit epel-6 group_qpid-qpid mongodb-org-3-0 nginx-1.8 pulp-2-stable
: puppetlabs-deps puppetlabs-pc1 puppetlabs-release qpid remi-6 rpmforge rsyslog-v8
Cleaning up Everything
Cleaning up list of fastest mirrors
[12:24:05 root@reposrv:/etc/httpd/conf.d]$ yum update
Loaded plugins: fastestmirror, pulp-profile-update
Setting up Update Process
Determining fastest mirrors
https://reposrv.dsa.reldom.tamu.edu/pulp/repos/centos/base/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "NSS: client certificate not found (nickname not specified)"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-base. Please verify its path and try again
[12:24:09 root@reposrv:/etc/httpd/conf.d]$ setenforce permissive
[12:24:21 root@reposrv:/etc/httpd/conf.d]$ yum update
Loaded plugins: fastestmirror, pulp-profile-update
Setting up Update Process
Loading mirror speeds from cached hostfile
centos-base | 2.1 kB 00:00
centos-base/primary | 1.9 MB 00:00
centos-base 6575/6575
centos-extras | 2.5 kB 00:00
centos-extras/primary | 19 kB 00:00
centos-extras 64/64
centos-updates | 2.5 kB 00:00
centos-updates/primary | 3.1 MB 00:00
centos-updates 1622/1622
doit | 2.1 kB 00:00
doit/primary | 3.1 kB 00:00
doit 16/16
epel-6 | 2.1 kB 00:00
epel-6/primary | 4.2 MB 00:00
epel-6 12234/12234
group_qpid-qpid | 3.0 kB 00:00
group_qpid-qpid/primary_db | 24 kB 00:00
mongodb-org-3-0 | 1.8 kB 00:00
mongodb-org-3-0/primary | 16 kB 00:00
mongodb-org-3-0 75/75
nginx-1.8 | 2.1 kB 00:00
nginx-1.8/primary | 5.4 kB 00:00
nginx-1.8 29/29
pulp-2-stable | 2.1 kB 00:00
pulp-2-stable/primary | 15 kB 00:00
pulp-2-stable 31/31
puppetlabs-deps | 1.8 kB 00:00
puppetlabs-deps/primary | 14 kB 00:00
puppetlabs-deps 77/77
puppetlabs-pc1 | 2.5 kB 00:00
puppetlabs-pc1/primary_db | 80 kB 00:00
puppetlabs-release | 1.8 kB 00:00
puppetlabs-release/primary | 25 kB 00:00
puppetlabs-release 94/94
qpid | 2.5 kB 00:00
qpid/primary | 2.3 kB 00:00
qpid 7/7
remi-6 | 2.1 kB 00:00
remi-6/primary | 1.3 MB 00:00
remi-6 3838/3838
rpmforge | 1.8 kB 00:00
rpmforge/primary | 1.3 MB 00:00
rpmforge 4718/4718
rsyslog-v8 | 1.8 kB 00:00
rsyslog-v8/primary | 164 kB 00:00
rsyslog-v8 1041/1041
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package mongodb.x86_64 0:2.4.14-1.el6 will be updated
---> Package mongodb.x86_64 0:2.4.14-3.el6 will be an update
---> Package mongodb-server.x86_64 0:2.4.14-1.el6 will be updated
---> Package mongodb-server.x86_64 0:2.4.14-3.el6 will be an update
---> Package pulp-admin-client.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-admin-client.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-agent.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-agent.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-consumer-client.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-consumer-client.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-docker-admin-extensions.noarch 0:2.0.3-1.el6 will be updated
---> Package pulp-docker-admin-extensions.noarch 0:2.1.0-1.el6 will be an update
---> Package pulp-docker-plugins.noarch 0:2.0.3-1.el6 will be updated
---> Package pulp-docker-plugins.noarch 0:2.1.0-1.el6 will be an update
---> Package pulp-nodes-admin-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-nodes-admin-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-nodes-common.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-nodes-common.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-nodes-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-nodes-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-admin-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-admin-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-handlers.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-handlers.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-plugins.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-plugins.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-puppet-tools.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-puppet-tools.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-admin-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-admin-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-consumer-extensions.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-consumer-extensions.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-handlers.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-handlers.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-plugins.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-plugins.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-rpm-yumplugins.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-rpm-yumplugins.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-selinux.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-selinux.noarch 0:2.10.0-1.el6 will be an update
---> Package pulp-server.noarch 0:2.9.2-1.el6 will be updated
---> Package pulp-server.noarch 0:2.10.0-1.el6 will be an update
--> Processing Dependency: kobo for package: pulp-server-2.10.0-1.el6.noarch
---> Package python-kombu.noarch 1:3.0.33-5.pulp.el6 will be updated
---> Package python-kombu.noarch 1:3.0.33-6.pulp.el6 will be an update
---> Package python-pulp-agent-lib.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-agent-lib.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-bindings.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-bindings.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-client-lib.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-client-lib.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-common.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-common.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-docker-common.noarch 0:2.0.3-1.el6 will be updated
---> Package python-pulp-docker-common.noarch 0:2.1.0-1.el6 will be an update
---> Package python-pulp-oid_validation.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-oid_validation.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-puppet-common.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-puppet-common.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-repoauth.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-repoauth.noarch 0:2.10.0-1.el6 will be an update
---> Package python-pulp-rpm-common.noarch 0:2.9.2-1.el6 will be updated
---> Package python-pulp-rpm-common.noarch 0:2.10.0-1.el6 will be an update
---> Package python-qpid.noarch 0:0.32-13.el6 will be updated
---> Package python-qpid.noarch 0:1.35.0-1.el6 will be an update
---> Package python-qpid-common.noarch 0:0.32-13.el6 will be updated
---> Package python-qpid-common.noarch 0:1.35.0-1.el6 will be an update
---> Package python-qpid-qmf.x86_64 0:0.32-1.el6 will be updated
---> Package python-qpid-qmf.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-cpp-client.x86_64 0:0.34-6.el6 will be updated
---> Package qpid-cpp-client.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-cpp-server.x86_64 0:0.34-6.el6 will be updated
---> Package qpid-cpp-server.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-cpp-server-linearstore.x86_64 0:0.34-6.el6 will be updated
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-proton-c.x86_64 0:0.13.1-1.el6 will be updated
---> Package qpid-proton-c.x86_64 0:0.14.0-1.el6 will be an update
---> Package qpid-qmf.x86_64 0:0.32-1.el6 will be updated
---> Package qpid-qmf.x86_64 0:1.35.0-1.el6 will be an update
---> Package qpid-tools.noarch 0:0.32-9.el6 will be updated
---> Package qpid-tools.noarch 0:1.35.0-1.el6 will be an update
--> Running transaction check
---> Package kobo.noarch 0:0.4.2-1.el6 will be installed

I am really not sure at this point what is broke with SeLinux and Pulp or Apache.

Actions #18

Updated by jreitmayer over 5 years ago

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.

I see its missing. Is there a way I'm supposed to recreate it?

Actions #19

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - NOTABUG
  • Triaged changed from No to Yes

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).

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.

Actions #20

Updated by bmbouter about 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF