Activity log for bug #1520008

Date Who What changed Old value New value Message
2015-11-26 00:25:01 Kyle Olivo bug added bug
2015-11-26 00:25:01 Kyle Olivo attachment added django_stacktrace.txt https://bugs.launchpad.net/bugs/1520008/+attachment/4525519/+files/django_stacktrace.txt
2015-11-30 18:24:32 Errol Pais tags configuration horizon translation ugettext config
2015-11-30 18:24:56 Errol Pais tags config config configuration
2015-11-30 18:25:33 Errol Pais tags config configuration config configuration translation ugettext
2015-11-30 18:43:52 Errol Pais description Description: Horizon uses the REST_API_REQUIRED_SETTINGS key in the local_settings.py configuration file In order to make the contained configuration available to the the client side angular code. Some configurations include ugettext objects which fail to serialize when passing through http. eg. OPENSTACK_IMAGE_BACKEND = { 'image_formats': [ ('aki', _('AKI - Amazon Kernel Image')) ] } Steps to Reproduce: * Add 'OPENSTACK_IMAGE_BACKEND' to the 'REST_API_REQUIRED_SETTINGS' key in the local_settings.py. * call the settings endpoint: http://localhost:8000/api/settings * Django throws a 500 server exception with the following stack trace: see attached Description: Horizon uses the REST_API_REQUIRED_SETTINGS key in the local_settings.py configuration file In order to make the contained configuration available to the the client side angular code. Some configurations include ugettext objects which fail to serialize when passing through http. eg. OPENSTACK_IMAGE_BACKEND = { 'image_formats': [ ('aki', _('AKI - Amazon Kernel Image')) ] } Steps to Reproduce: * Add 'OPENSTACK_IMAGE_BACKEND' to the 'REST_API_REQUIRED_SETTINGS' key in the local_settings.py. * call the settings endpoint: http://localhost:8000/api/settings * Django throws a 500 server exception with the following stack trace: see attached Impact: As a workaround, we are setting configuration settings as constants, instead of getting it from the settings service. See https://review.openstack.org/#/c/236042/22/openstack_dashboard/static/app/core/images/images.module.js
2016-03-25 17:25:21 Rob Cresswell tags config configuration translation ugettext
2016-03-25 17:25:37 Rob Cresswell horizon: status New Confirmed
2016-03-25 17:25:43 Rob Cresswell horizon: importance Undecided Medium
2016-03-25 17:25:46 Rob Cresswell horizon: milestone ongoing
2016-03-25 17:25:54 Rob Cresswell tags angularjs
2016-03-25 17:26:46 Rob Cresswell summary JSON Encoder crashes on settings with translations JSON Encoder crashes on settings with translations: "ValueError: Circular reference detected"
2016-03-31 12:40:35 Rob Cresswell horizon: milestone ongoing next
2016-05-17 15:37:00 Matt Borland horizon: status Confirmed Fix Committed
2016-05-18 07:51:52 Rob Cresswell horizon: status Fix Committed Invalid
2016-05-18 07:51:59 Rob Cresswell horizon: milestone next