Project

Profile

Help

Issue #7451

closed

upgrading from 3.4 single container to 3.6 single container fails

Added by dkliban@redhat.com over 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Single Container
Sprint:
Quarter:

Description

The logs for the single container display the following traceback. This is due to pulp storing symlinks in /var/lib/pulp/assets/. The symlinks for drf-yasg are now broken because pulpcore no longer uses that package.

[2020-09-03 16:26:25 +0000] [13378] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 119, in init_process
    self.load_wsgi()
  File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
    self.wsgi = self.app.wsgi()
  File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
    self.callable = self.load()
  File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
    return self.load_wsgiapp()
  File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
    return util.import_app(self.app_uri)
  File "/usr/local/lib/python3.7/site-packages/gunicorn/util.py", line 358, in import_app
    mod = importlib.import_module(module)
  File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1006, in _gcd_import
  File "", line 983, in _find_and_load
  File "", line 967, in _find_and_load_unlocked
  File "", line 677, in _load_unlocked
  File "", line 728, in exec_module
  File "", line 219, in _call_with_frames_removed
  File "/usr/local/lib/python3.7/site-packages/pulpcore/app/wsgi.py", line 17, in 
    application = get_wsgi_application()
  File "/usr/local/lib/python3.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
    return WSGIHandler()
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/wsgi.py", line 135, in __init__
    self.load_middleware()
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 37, in load_middleware
    mw_instance = middleware(handler)
  File "/usr/local/lib/python3.7/site-packages/whitenoise/middleware.py", line 50, in __init__
    self.add_files(self.static_root, prefix=self.static_prefix)
  File "/usr/local/lib/python3.7/site-packages/whitenoise/base.py", line 113, in add_files
    self.update_files_dictionary(root, prefix)
  File "/usr/local/lib/python3.7/site-packages/whitenoise/base.py", line 120, in update_files_dictionary
    stat_cache = dict(scantree(root))
  File "/usr/local/lib/python3.7/site-packages/whitenoise/base.py", line 271, in scantree
    yield from scantree(entry.path)
  File "/usr/local/lib/python3.7/site-packages/whitenoise/base.py", line 273, in scantree
    yield entry.path, entry.stat()
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/pulp/assets/drf-yasg/immutable.min.js'

This issue can be worked around by removing the 'assets/drf-yasg' directory from the pulp storage directory on the host machien.

Actions #1

Updated by fao89 over 3 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 81
Actions #2

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 81 to Sprint 82
Actions #3

Updated by fao89 over 3 years ago

  • Category set to 27
Actions #4

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 82 to Sprint 83
Actions #5

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 83 to Sprint 84
Actions #6

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 84 to Sprint 85
Actions #7

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 85 to Sprint 86
Actions #8

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 86 to Sprint 87
Actions #9

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 87 to Sprint 88
Actions #10

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 88 to Sprint 89
Actions #11

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 89 to Sprint 90
Actions #12

Updated by daviddavis about 3 years ago

  • Sprint deleted (Sprint 90)
Actions #13

Updated by daviddavis almost 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #14

Updated by daviddavis almost 3 years ago

  • Tags Single Container added

Also available in: Atom PDF