Project

Profile

Help

Issue #2288

closed

unable to access pulp-admin or repositories

Added by jreitmayer over 7 years ago. Updated about 5 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

Also available in: Atom PDF