[dashboard] Murano dashboard doesn't work with Django 1.6.5

Bug #1332557 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Ekaterina Chernova

Bug Description

Due to global requirement: Django>=1.4,<1.7 murano-dashboard should work with Django 1.6.5 but it doesn't.

Environment:

Request Method: POST
Request URL: http://<url>/auth/login/

Django Version: 1.6.5
Python Version: 2.7.3

Traceback:
File "/home/fervent/Projects/dashboard_test/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  199. response = middleware_method(request, response)
File "/home/fervent/Projects/dashboard_test/.venv/local/lib/python2.7/site-packages/django/contrib/sessions/middleware.py" in process_response
  38. request.session.save()
File "/home/fervent/Projects/dashboard_test/.venv/local/lib/python2.7/site-packages/django/contrib/sessions/backends/db.py" in save
  57. session_data=self.encode(self._get_session(no_load=must_create)),
File "/home/fervent/Projects/dashboard_test/.venv/local/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py" in encode
  87. serialized = self.serializer().dumps(session_dict)
File "/home/fervent/Projects/dashboard_test/.venv/local/lib/python2.7/site-packages/django/core/signing.py" in dumps
  88. return json.dumps(obj, separators=(',', ':')).encode('latin-1')
File "/usr/lib/python2.7/json/__init__.py" in dumps
  238. **kw).encode(obj)
File "/usr/lib/python2.7/json/encoder.py" in encode
  201. chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python2.7/json/encoder.py" in iterencode
  264. return _iterencode(o, 0)
File "/usr/lib/python2.7/json/encoder.py" in default
  178. raise TypeError(repr(o) + " is not JSON serializable")

Changed in murano:
assignee: nobody → Ekaterina Fedorova (efedorova)
status: New → In Progress
Changed in murano:
assignee: Ekaterina Chernova (efedorova) → Timur Sufiev (tsufiev-x)
Changed in murano:
assignee: Timur Sufiev (tsufiev-x) → Ekaterina Chernova (efedorova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/101578
Committed: https://git.openstack.org/cgit/stackforge/murano-dashboard/commit/?id=9bac4c9ba28c0259ac17c2f55a814c1d71e39b94
Submitter: Jenkins
Branch: master

commit 9bac4c9ba28c0259ac17c2f55a814c1d71e39b94
Author: Ekaterina Fedorova <email address hidden>
Date: Tue Jun 24 17:48:49 2014 +0400

    Introduces script for updating horizon config

    Since now, all custom murano settings stores at update_settings.sh
    so it exempts from maintaining two config files at the same time.
    This script intends to update developer config and production config.

    Usage:

    ./update_settings

    Arguments:
    --input={FILE} File to which Murano data will be added, if skipped horizon config from git repository will be downloaded
    --output={FILE} File to store the result file, if skipped it equals to the --input
    --log-file={FILE} File to store murano dashboard logs instead of default output
    --remove Remove Murano data from the specified file

    To update developer settings use the following command:
    ========================================================
    update_setting.sh --output="muranodashboard/settings.py"
    ========================================================

    Change-Id: I6e947f8887dfdcdc1f5651dd6acdc28bf9d924bf
    Closes-Bug: #1332557
    Implemets: blueprint separate-muranodashboard-config

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
milestone: none → juno-2
importance: Undecided → High
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-2 → 2014.2
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.