nginx reports 403 error because of static dir permissions

Bug #1380950 reported by Matthew Mosesohn
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Matthew Mosesohn

Bug Description

In /var/log/docker-logs/nginx/error_nailgun.log:
2014/10/14 08:49:53 [error] 372#0: *57 "/usr/share/nailgun/static/index.html" is forbidden (13: Permission denied), client: 172.17.42.1, server: localhost, request: "GET / HTTP/1.1", host: "10.20.0.2:8000"

We should set permissions for files inside /usr/share/nailgun/static to 644.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

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

Reviewed: https://review.openstack.org/128207
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=6c05620900272f2d8aac5da54c073e0ff2d8b136
Submitter: Jenkins
Branch: master

commit 6c05620900272f2d8aac5da54c073e0ff2d8b136
Author: Matthew Mosesohn <email address hidden>
Date: Tue Oct 14 13:03:12 2014 +0400

    Set permissions on nailgun files installed

    Includes a workaround in nginx start.sh script to
    reset permissions on /usr/share/nailgun/static
    because Docker resets it to 700.

    Change-Id: I9172a888cd72ded9ce16897b1e779d994b9802e7
    Closes-Bug: #1380950

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
importance: High → Critical
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified {"build_id": "2014-10-15_17-45-06", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "23", "auth_required": true, "api": "1.0", "nailgun_sha": "d9facd6a32293da786b738d1a9b1459e36aa3006", "production": "docker", "fuelmain_sha": "18b8264c17782c4dbb77412d3d4fe256a2083d7d", "astute_sha": "c3e7c7a18528cf9acca48021488a93dff74f5c97", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-15_17-45-06", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "23", "api": "1.0", "nailgun_sha": "d9facd6a32293da786b738d1a9b1459e36aa3006", "production": "docker", "fuelmain_sha": "18b8264c17782c4dbb77412d3d4fe256a2083d7d", "astute_sha": "c3e7c7a18528cf9acca48021488a93dff74f5c97", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "b3f6943326dac065464555a320ed4b2d4bdbb699"}}}, "fuellib_sha": "b3f6943326dac065464555a320ed4b2d4bdbb699"}

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.