diff --git a/spec/apache2-server-redhat_spec.rb b/spec/apache2-server-redhat_spec.rb index 1bb4136..a87e8e6 100644 --- a/spec/apache2-server-redhat_spec.rb +++ b/spec/apache2-server-redhat_spec.rb @@ -18,7 +18,7 @@ describe 'openstack-dashboard::apache2-server' do end describe 'certs' do - describe 'get seceret' do + describe 'get secret' do let(:pem) { chef_run.file('/etc/pki/tls/certs/horizon.pem') } let(:key) { chef_run.file('/etc/pki/tls/private/horizon.key') } diff --git a/templates/default/dash-site.erb b/templates/default/dash-site.erb index 2449d79..c1ccd0d 100644 --- a/templates/default/dash-site.erb +++ b/templates/default/dash-site.erb @@ -35,6 +35,9 @@ NameVirtualHost <%= @https_bind_address %>:<%= @https_bind_port %> <% end -%> <% end %> ServerAdmin <%= node["apache"]["contact"] %> + # Note(jr): This is needed when SSL is used for the services, see + # https://bugs.launchpad.net/openstack-ansible/+bug/1624791/comments/17 + WSGIApplicationGroup %{GLOBAL} WSGIScriptAlias <%= node["openstack"]["dashboard"]["webroot"] %> <%= node["openstack"]["dashboard"]["wsgi_path"] %> WSGIDaemonProcess dashboard user=<%= node['openstack']['dashboard']['horizon_user'] %> group=<%= node['openstack']['dashboard']['horizon_group'] %> processes=3 threads=10 python-path=<%= node["openstack"]["dashboard"]["dash_path"] %> WSGIProcessGroup dashboard diff --git a/templates/default/local_settings.py.erb b/templates/default/local_settings.py.erb index 43838b8..a23e637 100644 --- a/templates/default/local_settings.py.erb +++ b/templates/default/local_settings.py.erb @@ -162,9 +162,7 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' OPENSTACK_HOST = "<%= @host %>" OPENSTACK_KEYSTONE_URL = "<%= @auth_uri %>" OPENSTACK_KEYSTONE_ADMIN_URL = "<%= @auth_admin_uri %>" -OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default' OPENSTACK_KEYSTONE_DEFAULT_ROLE = "<%= node["openstack"]["dashboard"]["keystone_default_role"] %>" -OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True OPENSTACK_KEYSTONE_ADMIN_ROLES = ["admin"] <% if node["openstack"]["dashboard"]["use_ssl"] %> @@ -203,7 +201,7 @@ OPENSTACK_KEYSTONE_BACKEND = { # can_set_mount_point to True will add the option to set the mount point # from the UI. OPENSTACK_HYPERVISOR_FEATURES = { - 'can_set_mount_point': True, + 'can_set_mount_point': False, 'can_set_password': False, }