Project

General

Profile

Support #8243

MNDeployment #7051: GRIIDC - Gulf of Mexico Research Initiative

The GRIIDC production MN is not functional and will not start with Apache2

Added by Mark Servilla almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
2018-01-11
Due date:
% Done:

100%

Story Points:
Sprint:

Description

The GRIIDC production MN is not functional and will not when Apache2 is started. Initial review seems to indicate a mismatch in the mod_wsgi version and the installed version of Python, but Roger Dahl believes it is simply a setup.py configuration issue. The following stack dump shows the error encountered:

[Thu Nov 09 20:51:00.187173 2017] [authz_core:error] [pid 6485:tid 140195584276224] [client 128.111.54.80:46058] AH01630: client denied by server configuration: /var/www/v2
[Thu Nov 09 20:51:00.187300 2017] [:info] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553] mod_wsgi (pid=6483, process='gmn2', application=''): Loading WSGI script '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'.
[Thu Nov 09 20:51:00.188116 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553] mod_wsgi (pid=6483): Target WSGI script '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py' cannot be loaded as Python module.
[Thu Nov 09 20:51:00.188125 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553] mod_wsgi (pid=6483): Exception occurred processing WSGI script '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'.
[Thu Nov 09 20:51:00.188139 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553] Traceback (most recent call last):
[Thu Nov 09 20:51:00.188152 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]   File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py", line 82, in <module>
[Thu Nov 09 20:51:00.188172 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]     django.setup(set_prefix=False)
[Thu Nov 09 20:51:00.188180 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]   File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/__init__.py", line 22, in setup
[Thu Nov 09 20:51:00.188193 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Thu Nov 09 20:51:00.188200 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]   File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 53, in __getattr__
[Thu Nov 09 20:51:00.188212 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]     self._setup(name)
[Thu Nov 09 20:51:00.188219 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]   File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup
[Thu Nov 09 20:51:00.188229 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]     self._wrapped = Settings(settings_module)
[Thu Nov 09 20:51:00.188236 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]   File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 97, in __init__
[Thu Nov 09 20:51:00.188254 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Thu Nov 09 20:51:00.188261 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Thu Nov 09 20:51:00.188271 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]     __import__(name)
[Thu Nov 09 20:51:00.188277 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]   File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./settings.py", line 37, in <module>
[Thu Nov 09 20:51:00.188288 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553]     MANAGERS = ADMINS # noqa: F405
[Thu Nov 09 20:51:00.188302 2017] [:error] [pid 6483:tid 140195490264832] [remote 128.111.54.80:35553] NameError: name 'ADMINS' is not defined

History

#1 Updated by Mark Servilla almost 5 years ago

1/12: call with Joe Holland (Mark, Roger, Amy) - Joe will send email when he gets logins for Roger to get system back up.

#2 Updated by Mark Servilla almost 5 years ago

Roger has mitigated issues with the existing GRIIDC production MN; Roger found that there existed an extraneous deployment of GMN that was causing an inconsistent state in Apache2 when starting. Roger removed this deployment and the existing GRIIDC production MN appears to running as normal.

Tasks:
1. Deploy new instance of GMN v2.4.1 to local VM (moving off of bare metal)
2. Migrate content from existing production MN to new VM-based MN
3. Migrate management from existing production MN to new VM-based MN

#3 Updated by Mark Servilla over 4 years ago

  • % Done changed from 30 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)