Project

Profile

Help

Issue #1599

Forge API app is failing to respond to requests from httpd

Added by dkliban@redhat.com over 5 years ago. Updated about 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

[Thu Jan 28 20:58:30.933135 2016] [wsgi:error] [pid 10311] [remote ::1:13276] mod_wsgi (pid=10311): Exception occurred processing WSGI script '/usr/share/pulp/wsgi/puppet_forge.wsgi'.
[Thu Jan 28 20:58:30.933326 2016] [wsgi:error] [pid 10311] [remote ::1:13276] Traceback (most recent call last):
[Thu Jan 28 20:58:30.933375 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 189, in __call__
[Thu Jan 28 20:58:30.933477 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     response = self.get_response(request)
[Thu Jan 28 20:58:30.933513 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 218, in get_response
[Thu Jan 28 20:58:30.933561 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Thu Jan 28 20:58:30.933588 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 264, in handle_uncaught_exception
[Thu Jan 28 20:58:30.933623 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     if resolver.urlconf_module is None:
[Thu Jan 28 20:58:30.933648 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 395, in urlconf_module
[Thu Jan 28 20:58:30.933690 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     self._urlconf_module = import_module(self.urlconf_name)
[Thu Jan 28 20:58:30.933717 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Thu Jan 28 20:58:30.933773 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     __import__(name)
[Thu Jan 28 20:58:30.933799 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/home/vagrant/devel/pulp_puppet/pulp_puppet_plugins/pulp_puppet/forge/urls.py", line 6, in <module>
[Thu Jan 28 20:58:30.934555 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     connection.initialize()
[Thu Jan 28 20:58:30.934706 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/home/vagrant/devel/pulp/server/pulp/server/db/connection.py", line 119, in initialize
[Thu Jan 28 20:58:30.934853 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     db_version = semantic_version.Version(_CONNECTION.server_info()['version'])
[Thu Jan 28 20:58:30.934877 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/site-packages/pymongo/mongo_client.py", line 1017, in server_info
[Thu Jan 28 20:58:30.935119 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     read_preference=ReadPreference.PRIMARY)
[Thu Jan 28 20:58:30.935317 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/site-packages/pymongo/database.py", line 478, in command
[Thu Jan 28 20:58:30.935367 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     with client._socket_for_reads(read_preference) as (sock_info, slave_ok):
[Thu Jan 28 20:58:30.935482 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
[Thu Jan 28 20:58:30.935700 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     return self.gen.next()
[Thu Jan 28 20:58:30.935727 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/site-packages/pymongo/mongo_client.py", line 748, in _socket_for_reads
[Thu Jan 28 20:58:30.935869 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     with self._get_socket(read_preference) as sock_info:
[Thu Jan 28 20:58:30.935887 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
[Thu Jan 28 20:58:30.936014 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     return self.gen.next()
[Thu Jan 28 20:58:30.936080 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/site-packages/pymongo/mongo_client.py", line 712, in _get_socket
[Thu Jan 28 20:58:30.936213 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     server = self._get_topology().select_server(selector)
[Thu Jan 28 20:58:30.936229 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/site-packages/pymongo/topology.py", line 141, in select_server
[Thu Jan 28 20:58:30.936415 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     address))
[Thu Jan 28 20:58:30.936432 2016] [wsgi:error] [pid 10311] [remote ::1:13276]   File "/usr/lib64/python2.7/site-packages/pymongo/topology.py", line 117, in select_servers
[Thu Jan 28 20:58:30.936560 2016] [wsgi:error] [pid 10311] [remote ::1:13276]     self._error_message(selector))

Related issues

Related to Pulp - Issue #1580: Cannot Download Published RPMsCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 2960d394 View on GitHub
Added by dkliban@redhat.com over 5 years ago

Fixes Puppet Forge wsgi application entry point

https://pulp.plan.io/issues/1599 closes #1599

History

#1 Updated by rbarlow over 5 years ago

This sounds like the same issue we've been seeing about creating the pymongo connection before forking the WSGI process.

#2 Updated by rbarlow over 5 years ago

  • Related to Issue #1580: Cannot Download Published RPMs added

#3 Updated by jortel@redhat.com over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Triaged changed from No to Yes

#4 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100

#5 Updated by dkliban@redhat.com about 5 years ago

  • Status changed from MODIFIED to 5

#6 Updated by dkliban@redhat.com about 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#7 Updated by bmbouter about 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF