403 Forbidden error when attempting to retrieve reviewday JSON file

Bug #1273833 reported by Elizabeth K. Joseph
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Undecided
Dan Prince

Bug Description

The reviewday json file is now live, but currently forbidden.

http://status.openstack.org/reviews/reviewday.json

Need to update modules/openstack_project/templates/status.vhost.erb to support access to this file.

Tags: reviewday
Changed in openstack-ci:
assignee: nobody → Elizabeth Krumbach Joseph (lyz)
tags: added: reviewday
Changed in openstack-ci:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.openstack.org/69734
Committed: https://git.openstack.org/cgit/openstack-infra/config/commit/?id=095822ef5fbd45ce67207c04d3595c703a38ab65
Submitter: Jenkins
Branch: master

commit 095822ef5fbd45ce67207c04d3595c703a38ab65
Author: Elizabeth Krumbach Joseph <email address hidden>
Date: Tue Jan 28 14:13:28 2014 -0800

    Make files in reviewday docroot accessible

    Closes-Bug: 1273833

    Change-Id: Ia2b4458b29ea4a6b089d4b3a8a90f9963ae67ea1

Changed in openstack-ci:
status: In Progress → Fix Released
Revision history for this message
Elizabeth K. Joseph (lyz) wrote :

Looks like this patch didn't fix it, I'll give an admin a nudge to see what the apache logs are telling us.

Changed in openstack-ci:
status: Fix Released → In Progress
Changed in openstack-ci:
assignee: Elizabeth Krumbach Joseph (lyz) → Dan Prince (dan-prince)
Revision history for this message
Dan Prince (dan-prince) wrote :

Hi Liz. I hadn't realized you filed a ticket for this as well. I think this may fix it here:

https://review.openstack.org/#/c/72682/

Revision history for this message
Jeremy Stanley (fungi) wrote :

Per our discussion a few minutes ago, it doesn't seem to be writing the file (but it has permission to write to the directory). No obvious errors emitted when it runs either.

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

Reviewed: https://review.openstack.org/72682
Committed: https://git.openstack.org/cgit/openstack-infra/reviewday/commit/?id=80b63eced6dadd25f0896ebe2fa43c4313919e2a
Submitter: Jenkins
Branch: master

commit 80b63eced6dadd25f0896ebe2fa43c4313919e2a
Author: Dan Prince <email address hidden>
Date: Tue Feb 11 10:34:35 2014 -0500

    Make reviewday.json world readable.

    Because we were using a python tempfile the reviewday.json
    file was readable/writable only by the user that runs
    bin/reviewday. Ideally this file would be world readable so
    that Apache can host it properly.

    In this commit we drop the use of python tempfile in
    favor of just plain old open() which respects the
    normal file permission settings.

    This should fix a Forbidden access error I get when
    trying to access http://status.openstack.org/reviews/reviewday.json
    today.

    Closes-bug: #1273833

    Change-Id: I9e9a76e29f5c71f2496eef96a6dbf2496c42d973

Changed in openstack-ci:
status: In Progress → Fix Released
Revision history for this message
Brant Knudson (blk-u) wrote :

I verified this and it's working. Thanks!

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.