Do not override Horizon ServerName in playbook

The playbook var overrides horizon to the non-RFC compliant container
name, which causes Horizon not to start when debug is disabled.

The horizon-error.log error generated is:
http://cdn.pasteraw.com/80bqvxborw4f3a74yl7mb7get40lkit

And the reason the error does NOT occur when debug is enabled can
be found here:
https://github.com/django/django/blob/master/django/http/request.py#L100-L112

Change-Id: I10aaeec856bd2ba3c38cb2b209d3f0cc9cc3ec0f
This commit is contained in:
Logan V 2016-08-03 23:06:00 -05:00
parent 5cc9d0b004
commit 0921a9acb2

View File

@ -37,7 +37,6 @@
when: inventory_hostname == groups['horizon_all'][0] when: inventory_hostname == groups['horizon_all'][0]
roles: roles:
- role: "os_horizon" - role: "os_horizon"
horizon_server_name: "{{ container_name }}"
horizon_venv_tag: "{{ openstack_release }}" horizon_venv_tag: "{{ openstack_release }}"
horizon_venv_download_url: "{{ openstack_repo_url }}/venvs/{{ openstack_release }}/{{ ansible_distribution | lower }}/horizon-{{ openstack_release }}.tgz" horizon_venv_download_url: "{{ openstack_repo_url }}/venvs/{{ openstack_release }}/{{ ansible_distribution | lower }}/horizon-{{ openstack_release }}.tgz"
tags: tags: