policy.json is never found

Bug #1098206 reported by Julien Danjou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Critical
Julien Danjou

Bug Description

When a request is sent to ceilometer-api, it fails because policy.json is never found. ceilomeer.policy doesn't look in /etc/ceilometer.

Julien Danjou (jdanjou)
Changed in ceilometer:
importance: Undecided → Critical
description: updated
Changed in ceilometer:
assignee: nobody → Julien Danjou (jdanjou)
status: New → Confirmed
milestone: none → grizzly-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Changed in ceilometer:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/19461

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

Reviewed: https://review.openstack.org/19396
Committed: http://github.com/openstack/ceilometer/commit/21daa1f167188a0f12dda5d65d3a9291a048b9af
Submitter: Jenkins
Branch: master

commit 21daa1f167188a0f12dda5d65d3a9291a048b9af
Author: Julien Danjou <email address hidden>
Date: Thu Jan 10 16:48:45 2013 +0100

    policy: fix policy_file finding

    Currently, the policy.json file is only looked inside current directory.
    Let's use cfg.config_dir via the find_file method to find the policy file.

    Also add some unit test to catch theses errors.

    This fixes bug #1098206

    Change-Id: I896108f1bd66d3be6ec32b50d9dddc6c368f3709
    Signed-off-by: Julien Danjou <email address hidden>

Changed in ceilometer:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (milestone-proposed)

Reviewed: https://review.openstack.org/19461
Committed: http://github.com/openstack/ceilometer/commit/be781f17d30cad5672f52e6a092db98774bb4569
Submitter: Jenkins
Branch: milestone-proposed

commit be781f17d30cad5672f52e6a092db98774bb4569
Author: Julien Danjou <email address hidden>
Date: Thu Jan 10 16:48:45 2013 +0100

    policy: fix policy_file finding

    Currently, the policy.json file is only looked inside current directory.
    Let's use cfg.config_dir via the find_file method to find the policy file.

    Also add some unit test to catch theses errors.

    This fixes bug #1098206

    Change-Id: I896108f1bd66d3be6ec32b50d9dddc6c368f3709
    Signed-off-by: Julien Danjou <email address hidden>

Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: grizzly-2 → 2013.1
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.