[dashboard] configuration isn't compatible with apache 2.4

Bug #1411772 reported by Doug Fish
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
High
Mark Vanderwiel

Bug Description

After converging a node with apache 2.4, Horizon won't run. The following error is in the apache log:
* httpd[24869]: AH00526: Syntax error on line 30 of /etc/httpd/sites-enabled/openstack-dashboard.conf:
* httpd[24869]: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
* systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE

It seems that the apache configuration is only correct for earlier versions. Specifically, in dash-site.erb
  Order allow,deny
  Allow from all
needs to be changed to
  Require all granted

I don't see any other problems with the config file for apache 2.4.
http://httpd.apache.org/docs/2.4/upgrading.html

Tags: dashboard
summary: - configuration isn't compatible with apache 2.4
+ [dashboard] configuration isn't compatible with apache 2.4
Changed in openstack-chef:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Mark Vanderwiel (vanderwl)
tags: added: dashboard
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-dashboard (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-dashboard (master)

Reviewed: https://review.openstack.org/147950
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-dashboard/commit/?id=7886c81a749c4aee3deaa6f751880e0eb05db1ad
Submitter: Jenkins
Branch: master

commit 7886c81a749c4aee3deaa6f751880e0eb05db1ad
Author: Mark Vanderwiel <email address hidden>
Date: Fri Jan 16 12:46:52 2015 -0600

    Fix site directory defaults for apache 2.4

    With the 2.4 release the site config for directies was changed as
    noted in the bug link. If necessary, in the future we could create
    a list attribute to hold the directory options to allow them to be
    overrideable, but no one has asked for that yet. This could also
    use the apache cookbook web_app provider to create this site config.
    Also cleaned up some minor formatting in the specs.

    Change-Id: Ie2b323ac055ae03b3c4ebb28b70aca65745df842
    Closes-Bug: #1411772

Changed in openstack-chef:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cookbook-openstack-dashboard ocata-eol

This issue was fixed in the openstack/cookbook-openstack-dashboard ocata-eol release.

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.