trove-dashboard can't work with openstack-dashboard in ocata

Bug #1689775 reported by qiwei-ran
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Expired
Undecided
Unassigned

Bug Description

hello developer:
    I have some trouble in use trove-dashboard. my system environment is centos7.2, openstack version is ocata, trove-dashboard is installed use pip install . trove service is running correct .
    I execute operation according the latest documention of trove-dashboard. bug I can't start httpd service after I copy the contents of the enabled/ directory to horizon openstack_dashboard/local/enabled/ directory. The error is as follows:
--------------------------------------------------------------------------------------------------------------------
   May 10 15:27:52 controller1 python[20342]: django.setup()
   May 10 15:27:52 controller1 python[20342]: File "/usr/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
   May 10 15:27:52 controller1 python[20342]: apps.populate(settings.INSTALLED_APPS)
   May 10 15:27:52 controller1 python[20342]: File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 89, in populate
   May 10 15:27:52 controller1 python[20342]: "duplicates: %s" % app_config.label)
   May 10 15:27:52 controller1 python[20342]: django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: trove_dashboard
   May 10 15:27:52 controller1 systemd[1]: httpd.service: control process exited, code=exited status=1

    I tried many method ,but not useful. such as rename the "ADD_INSTALLED_APPS" and so on , the result is the openstack-dashboard cant't display the left part . what should I do ? thank you.

                                                                                 --------an opentack service engineer from china

Revision history for this message
Trevor McCasland (twm2016) wrote :

I can't tell if this is a documentation bug or a trove_dashboard bug. Can you provide more details about your environment? Did you just start and finish with the trove_dashboard docs, here https://docs.openstack.org/project-install-guide/database/draft/dashboard.html ?

It says in your traceback, ImproperlyConfigured: Application labels aren't unique, duplicates: trove_dashboard

You say you have tried the ADD_INSTALLED_APPS rename, can you explain the steps you did from start to finish?

I know this link is for neutron but it is still a very good guide for writing bug reports, please review and write something just a little bit more aligned with that so we can fully assist you with your problem.

bug report template: https://docs.openstack.org/developer/neutron/policies/bugs.html#bug-report-template

Changed in trove:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack DBaaS (Trove) because there has been no activity for 60 days.]

Changed in trove:
status: Incomplete → Expired
Revision history for this message
Fan Zhang (fanzhang) wrote :

I install trove-dashboard today, and my horizon works just fine. Maybe you overwrite __init__.py file in openstack_dashboard/local/enabled/ ?

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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