Trove dashboard makes openstack dashboard not work

Bug #1690003 reported by liuqing
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trove-dashboard
Fix Released
Undecided
liuqing

Bug Description

I install trove with devstack on ubuntu 16.02 LTS. The local.conf is as follows:

[[local|localrc]]
ADMIN_PASSWORD=admin
DATABASE_PASSWORD=admin
RABBIT_PASSWORD=admin
SERVICE_PASSWORD=admin
enable_service s-proxy s-object s-container s-account
SWIFT_HASH=647499c0770813baf259bf9d0c0fe9e0
enable_plugin trove git://git.openstack.org/openstack/trove

The devstack can install seccessfully. And the 'trove list' CLI works normally.

But the openstack dashboard cannot open. The horizon_error.log (in var/log/apache2/) shows:
2017-05-10 09:41:50.261895 mod_wsgi (pid=21771): Exception occurred processing WSGI script '/opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi'.
2017-05-10 09:41:50.262005 Traceback (most recent call last):
2017-05-10 09:41:50.262042 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 170, in __call__
2017-05-10 09:41:50.262100 self.load_middleware()
2017-05-10 09:41:50.262115 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 52, in load_middleware
2017-05-10 09:41:50.262136 mw_instance = mw_class()
2017-05-10 09:41:50.262148 File "/usr/local/lib/python2.7/dist-packages/django/middleware/locale.py", line 24, in __init__
2017-05-10 09:41:50.262168 for url_pattern in get_resolver(None).url_patterns:
2017-05-10 09:41:50.262179 File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 401, in url_patterns
2017-05-10 09:41:50.262197 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2017-05-10 09:41:50.262207 File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 395, in urlconf_module
2017-05-10 09:41:50.262222 self._urlconf_module = import_module(self.urlconf_name)
2017-05-10 09:41:50.262233 File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
2017-05-10 09:41:50.262250 __import__(name)
2017-05-10 09:41:50.262260 File "/opt/stack/horizon/openstack_dashboard/urls.py", line 38, in <module>
2017-05-10 09:41:50.262277 url(r'', include(horizon.urls)),
2017-05-10 09:41:50.262288 File "/usr/local/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 34, in include
2017-05-10 09:41:50.262424 patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
2017-05-10 09:41:50.262446 File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 225, in inner
2017-05-10 09:41:50.262697 self._setup()
2017-05-10 09:41:50.262715 File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 376, in _setup
2017-05-10 09:41:50.262738 self._wrapped = self._setupfunc()
2017-05-10 09:41:50.262749 File "/opt/stack/horizon/horizon/base.py", line 833, in url_patterns
2017-05-10 09:41:50.263148 return self._urls()[0]
2017-05-10 09:41:50.263163 File "/opt/stack/horizon/horizon/base.py", line 867, in _urls
2017-05-10 09:41:50.263183 include(dash._decorated_urls)))
2017-05-10 09:41:50.263194 File "/opt/stack/horizon/horizon/base.py", line 544, in _decorated_urls
2017-05-10 09:41:50.263209 include(panel._decorated_urls)))
2017-05-10 09:41:50.263218 File "/opt/stack/horizon/horizon/base.py", line 318, in _decorated_urls
2017-05-10 09:41:50.263232 urlpatterns = self._get_default_urlpatterns()
2017-05-10 09:41:50.263242 File "/opt/stack/horizon/horizon/base.py", line 120, in _get_default_urlpatterns
2017-05-10 09:41:50.263256 urls_mod = import_module('.urls', package_string)
2017-05-10 09:41:50.263266 File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
2017-05-10 09:41:50.263281 __import__(name)
2017-05-10 09:41:50.263291 File "/opt/stack/trove-dashboard/trove_dashboard/content/database_configurations/urls.py", line 17, in <module>
2017-05-10 09:41:50.263367 from trove_dashboard.content.database_configurations \\
2017-05-10 09:41:50.263383 File "/opt/stack/trove-dashboard/trove_dashboard/content/database_configurations/views.py", line 30, in <module>
2017-05-10 09:41:50.263470 from trove_dashboard.content.database_configurations \\
2017-05-10 09:41:50.263499 File "/opt/stack/trove-dashboard/trove_dashboard/content/database_configurations/tables.py", line 49, in <module>
2017-05-10 09:41:50.263901 class ConfigurationsTable(tables.DataTable):
2017-05-10 09:41:50.263921 File "/opt/stack/horizon/horizon/tables/base.py", line 1208, in __new__
2017-05-10 09:41:50.264648 for action in actions])
2017-05-10 09:41:50.264666 File "/opt/stack/horizon/horizon/tables/actions.py", line 82, in __call__
2017-05-10 09:41:50.265020 *args, **cls.base_options)
2017-05-10 09:41:50.265035 File "/opt/stack/horizon/horizon/tables/actions.py", line 858, in __init__
2017-05-10 09:41:50.265057 super(DeleteAction, self).__init__(**kwargs)
2017-05-10 09:41:50.265067 File "/opt/stack/horizon/horizon/tables/actions.py", line 666, in __init__
2017-05-10 09:41:50.265082 'action_present methods.' % self.__class__.__name__
2017-05-10 09:41:50.265121 NotImplementedError: The DeleteConfiguration BatchAction class must have both action_past and action_present methods.

liuqing (liuqing123)
Changed in trove-dashboard:
assignee: nobody → liuqing (liuqing123)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove-dashboard (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove-dashboard (master)

Change abandoned by Samuel Matzek (<email address hidden>) on branch: master
Review: https://review.openstack.org/463929
Reason: Abandoning because it is in merge conflict and has already been fixed by a dup review as noted in the comments.

Revision history for this message
Samuel Matzek (smatzek) wrote :
Changed in trove-dashboard:
status: In Progress → Fix Released
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.