diff options
author | wutianwei <wutianwei1@huawei.com> | 2017-10-18 11:19:37 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2017-10-18 13:21:01 +0800 |
commit | f55635085312ab2c367d1ae37d0979874b2a7d82 (patch) | |
tree | d53a8e9c2b27297c2410b51c5d66e8431b1a50e1 /deploy/adapters/ansible/roles/config-osa/files/policy.json | |
parent | 0bd9deecf2efcbb06b24a2c6200c3f6c1326aaf6 (diff) |
Fix ceilometer issue
OSA don't maintain the ceilometer component.
We change the OSA code to make ceilometer work.
1. create ceilometer database
2. change the ceilometer policy
3. change the ceilometer config
4. change the OS_AUTH_TYPE in openrc
Change-Id: I2d8630a0c50f5c6bd1e86171cae1fa8f9934334b
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/files/policy.json')
-rw-r--r-- | deploy/adapters/ansible/roles/config-osa/files/policy.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/files/policy.json b/deploy/adapters/ansible/roles/config-osa/files/policy.json new file mode 100644 index 00000000..0aa0a3d1 --- /dev/null +++ b/deploy/adapters/ansible/roles/config-osa/files/policy.json @@ -0,0 +1,15 @@ +{ + "context_is_admin": "role:admin", + "segregation": "rule:context_is_admin", + + "telemetry:get_samples": "", + "telemetry:get_sample": "", + "telemetry:query_sample": "", + "telemetry:create_samples": "", + + "telemetry:compute_statistics": "", + "telemetry:get_meters": "", + + "telemetry:get_resource": "", + "telemetry:get_resources": "", +} |