horizon permission denied

Bug #1700173 reported by Matthew J Black
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-horizon
Fix Released
Undecided
Unassigned

Bug Description

A fresh install of ocata horizon on Ubuntu Xenial 16.04, receiving the error (pasted below) and looks to be introduced with https://review.openstack.org/#/c/450343/ code commit. The change looks like it was meaning to fix an issue on Debian but Ubuntu still have the content located in /usr/share/openstack-dashboard. The issue goes away once I fix the apache alias directive to point to /usr/share/openstack-dashboard. At this point, probably should consider making the alias a parameter that defaults to the params value.

[Fri Jun 23 19:26:36.532480 2017] [core:error] [pid 9741:tid 139755157161728] (13)Permission denied: [client xxxxxxxx] AH00035: access to /horizon/static/dashboard/img/favicon.ico denied (filesystem path '/var/lib/openstack-dashboard/static') because search permissions are missing on a component of the path, referer: https://xxxxxxxxxxxx/horizon/auth/login/?next=/horizon/settings/

Revision history for this message
Matthew J Black (mjblack) wrote :

Looks like the fix is in master but never cherry-picked back to stable/ocata.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-horizon (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/477025

Changed in puppet-horizon:
status: New → Triaged
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-horizon (stable/ocata)

Reviewed: https://review.openstack.org/477025
Committed: https://git.openstack.org/cgit/openstack/puppet-horizon/commit/?id=e3acd97e9b7a197a7e29c23fb420f41cb55ca722
Submitter: Jenkins
Branch: stable/ocata

commit e3acd97e9b7a197a7e29c23fb420f41cb55ca722
Author: Mariusz Karpiarz <email address hidden>
Date: Wed Apr 19 16:14:31 2017 +0100

    Allows for custom location to static assets

    Gives the ability to specify the path to static assets.
    Closes-Bug: #1684194
    Closes-Bug: #1700173

    Change-Id: I580380472ad816b12237dc444178c953251d86bc
    (cherry picked from commit 8a280b091c91ebd05efba602ce4328e18d92b97d)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-horizon 10.4.0

This issue was fixed in the openstack/puppet-horizon 10.4.0 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.