diff options
author | wutianwei <wutianwei1@huawei.com> | 2017-10-18 11:19:37 +0800 |
---|---|---|
committer | Justin chi <chigang@huawei.com> | 2017-10-18 13:56:36 +0000 |
commit | 856a88f6529d695ad8c3eec845a4b3856f316be9 (patch) | |
tree | 7256756ed673b2b2529bf1eb7946d97c5ab3d7c0 /deploy/adapters/ansible/roles/config-osa/files | |
parent | 9f6903031c24c5b62bcf6b02eee0711fa78a685b (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>
(cherry picked from commit f55635085312ab2c367d1ae37d0979874b2a7d82)
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/files')
-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": "", +} |