vitrage.datasources.services HTTPForbidden: ERROR: You are not authorized to use global_index

Bug #1767238 reported by bhreddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vitrage
Fix Committed
Medium
Unassigned

Bug Description

I have installed vitrage in pike version of openstack. I followed the link https://docs.openstack.org/vitrage/pike/install/install-rdo.html to install vitrage. In the installation procedure, there is a step to Copy policy.json to /etc/vitrage/; but unfortunately the link http://git.openstack.org/cgit/openstack/vitrage/tree/etc/vitrage/policy.json doesn't contain any file. So I skipped the step and continued further and now when I execute vitrage-collector command I am facing the following error:

vitrage.datasources.services HTTPForbidden: ERROR: You are not authorized to use global_index.

Revision history for this message
Ifat Afek (ifat-afek) wrote :

The policy.json file exists in stable/pike branch:
http://git.openstack.org/cgit/openstack/vitrage/tree/etc/vitrage/policy.json?h=stable%2Fpike

It was removed from the newer branches due to the "policies in the code" change.
We need to fix the link in Pike documentation.

Changed in vitrage:
importance: Undecided → Medium
status: New → Triaged
tags: added: low-hanging-fruit
Revision history for this message
bhreddy (hanumanthareddy-b) wrote :

Thank you.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to vitrage (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/574090

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to vitrage (stable/pike)

Reviewed: https://review.openstack.org/574090
Committed: https://git.openstack.org/cgit/openstack/vitrage/commit/?id=6e71478308bccd4f91afb07e15c0655700627a0e
Submitter: Zuul
Branch: stable/pike

commit 6e71478308bccd4f91afb07e15c0655700627a0e
Author: Ifat Afek <email address hidden>
Date: Sun Jun 10 17:59:40 2018 +0300

    Fix policy.json link in the installation document

    The file policy.json was removed in Queens, so the Pike documentation should
    point to the file in stable/pike.

    Change-Id: I7776a0ec19d8269886fb25980853b9f94f0fd21b
    Closes-Bug: #1767238

tags: added: in-stable-pike
Ifat Afek (ifat-afek)
Changed in vitrage:
status: Triaged → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/vitrage 1.8.3

This issue was fixed in the openstack/vitrage 1.8.3 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.