horizon dashboard can't work after enabled freezer-web-ui

Bug #1638478 reported by xiangfengcheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
In Progress
Undecided
xiangfengcheng

Bug Description

freezer-web-ui README.rst

Production Installation

After cp freezer-web-ui/disaster_recovery/enabled/_5050_freezer.py /opt/stack/horizon/openstack_dashboard/enabled/_5050_freezer.py
and restart apache, the horizon can't work.

apache error log :

[Wed Nov 02 10:13:03.744014 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] mod_wsgi (pid=890): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Wed Nov 02 10:13:03.744116 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] mod_wsgi (pid=890): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Wed Nov 02 10:13:03.744165 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] Traceback (most recent call last):
[Wed Nov 02 10:13:03.744200 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 16, in <module>
[Wed Nov 02 10:13:03.744304 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] application = get_wsgi_application()
[Wed Nov 02 10:13:03.744331 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application
[Wed Nov 02 10:13:03.749180 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] django.setup()
[Wed Nov 02 10:13:03.749212 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
[Wed Nov 02 10:13:03.754224 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] apps.populate(settings.INSTALLED_APPS)
[Wed Nov 02 10:13:03.754322 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
[Wed Nov 02 10:13:03.762621 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] app_config = AppConfig.create(entry)
[Wed Nov 02 10:13:03.762666 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 86, in create
[Wed Nov 02 10:13:03.779701 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] module = import_module(entry)
[Wed Nov 02 10:13:03.779830 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Wed Nov 02 10:13:03.785595 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] __import__(name)
[Wed Nov 02 10:13:03.785717 2016] [:error] [pid 890:tid 139789243823872] [remote 192.168.56.14:57918] ImportError: No module named disaster_recovery
[Wed Nov 02 10:13:22.802087 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] mod_wsgi (pid=889): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Wed Nov 02 10:13:22.802186 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] mod_wsgi (pid=889): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Wed Nov 02 10:13:22.802228 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] Traceback (most recent call last):
[Wed Nov 02 10:13:22.802257 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 16, in <module>
[Wed Nov 02 10:13:22.802359 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] application = get_wsgi_application()
[Wed Nov 02 10:13:22.802386 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application
[Wed Nov 02 10:13:22.802473 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] django.setup()
[Wed Nov 02 10:13:22.802500 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
[Wed Nov 02 10:13:22.802579 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] apps.populate(settings.INSTALLED_APPS)
[Wed Nov 02 10:13:22.802604 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
[Wed Nov 02 10:13:22.803076 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] app_config = AppConfig.create(entry)
[Wed Nov 02 10:13:22.803100 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 86, in create
[Wed Nov 02 10:13:22.803394 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] module = import_module(entry)
[Wed Nov 02 10:13:22.803419 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Wed Nov 02 10:13:22.803616 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] __import__(name)
[Wed Nov 02 10:13:22.803687 2016] [:error] [pid 889:tid 139789176682240] [remote 192.168.56.14:55614] ImportError: No module named disaster_recovery
[Wed Nov 02 10:14:30.008487 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] mod_wsgi (pid=891): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Wed Nov 02 10:14:30.008725 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] mod_wsgi (pid=891): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Wed Nov 02 10:14:30.008875 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] Traceback (most recent call last):
[Wed Nov 02 10:14:30.008957 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 16, in <module>
[Wed Nov 02 10:14:30.009206 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] application = get_wsgi_application()
[Wed Nov 02 10:14:30.009281 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application
[Wed Nov 02 10:14:30.009452 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] django.setup()
[Wed Nov 02 10:14:30.009499 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
[Wed Nov 02 10:14:30.009677 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] apps.populate(settings.INSTALLED_APPS)
[Wed Nov 02 10:14:30.009737 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
[Wed Nov 02 10:14:30.010436 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] app_config = AppConfig.create(entry)
[Wed Nov 02 10:14:30.010489 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 86, in create
[Wed Nov 02 10:14:30.010895 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] module = import_module(entry)
[Wed Nov 02 10:14:30.010949 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Wed Nov 02 10:14:30.011176 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] __import__(name)
[Wed Nov 02 10:14:30.011266 2016] [:error] [pid 891:tid 139789252216576] [remote 192.168.56.14:57918] ImportError: No module named disaster_recovery
[Wed Nov 02 10:15:30.674961 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] mod_wsgi (pid=889): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Wed Nov 02 10:15:30.675106 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] mod_wsgi (pid=889): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Wed Nov 02 10:15:30.675194 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] Traceback (most recent call last):
[Wed Nov 02 10:15:30.675244 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 16, in <module>
[Wed Nov 02 10:15:30.675322 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] application = get_wsgi_application()
[Wed Nov 02 10:15:30.675349 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application
[Wed Nov 02 10:15:30.675402 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] django.setup()
[Wed Nov 02 10:15:30.676429 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
[Wed Nov 02 10:15:30.676489 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] apps.populate(settings.INSTALLED_APPS)
[Wed Nov 02 10:15:30.676515 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 78, in populate
[Wed Nov 02 10:15:30.676565 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] raise RuntimeError("populate() isn't reentrant")
[Wed Nov 02 10:15:30.676620 2016] [:error] [pid 889:tid 139789210253056] [remote 192.168.56.14:51262] RuntimeError: populate() isn't reentrant
[Wed Nov 02 10:15:34.418468 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] mod_wsgi (pid=890): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module.
[Wed Nov 02 10:15:34.418581 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] mod_wsgi (pid=890): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Wed Nov 02 10:15:34.418687 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] Traceback (most recent call last):
[Wed Nov 02 10:15:34.418827 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 16, in <module>
[Wed Nov 02 10:15:34.418929 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] application = get_wsgi_application()
[Wed Nov 02 10:15:34.418962 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application
[Wed Nov 02 10:15:34.419059 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] django.setup()
[Wed Nov 02 10:15:34.419106 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
[Wed Nov 02 10:15:34.419160 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] apps.populate(settings.INSTALLED_APPS)
[Wed Nov 02 10:15:34.419191 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 78, in populate
[Wed Nov 02 10:15:34.419241 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] raise RuntimeError("populate() isn't reentrant")
[Wed Nov 02 10:15:34.419310 2016] [:error] [pid 890:tid 139789252216576] [remote 192.168.56.14:51262] RuntimeError: populate() isn't reentrant
[Wed Nov 02 10:18:04.726334 2016] [mpm_event:notice] [pid 886:tid 139789355800448] AH00491: caught SIGTERM, shutting down
[Wed Nov 02 10:18:05.783401 2016] [mpm_event:notice] [pid 1240:tid 140390656440192] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations

Changed in freezer:
assignee: nobody → xiangfengcheng (xiangfengcheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer-web-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/394335

Changed in freezer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on freezer-web-ui (master)

Change abandoned by Saad Zaher (<email address hidden>) on branch: master
Review: https://review.openstack.org/394335
Reason: very old change, not valid any more

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.