ImproperlyConfigured: settings.DATABASES is improperly configured.

Bug #1268876 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Timur Sufiev

Bug Description

Installation of murano-dashboard was broken. After installation user can see 500 Error in WebUI and message about error in installation's logs:
LOG: > Creating db for storing sessions...
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
LOG: > "/usr/share/openstack-dashboard/manage.py" syncdb failed, exiting!!!

ENGINE value in muranodashboard/settings:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(METADATA_CACHE_DIR, 'openstack-dashboard.sqlite')
    }
}

Tags: verified
description: updated
Timur Sufiev (tsufiev-x)
Changed in murano:
status: New → In Progress
assignee: nobody → Timur Sufiev (tsufiev-x)
Timur Sufiev (tsufiev-x)
Changed in murano:
milestone: none → 0.4.1
Changed in murano:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

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

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

This bug was actually fixed in 0.4.1 with https://review.openstack.org/#/c/68130/
More general solution will be provided in 0.4.2+ with https://review.openstack.org/#/c/68125/

Changed in murano:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Fixed in release-0.4 branch

tags: added: verified
Changed in murano:
status: Fix Committed → 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.