Skip to content

Commit

Permalink
Simplify overrides from example file
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelle committed Mar 15, 2016
1 parent 94adfd7 commit b0e2399
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 89 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Expand Up @@ -96,7 +96,7 @@ gnocchi_keystone_auth_plugin: password
gnocchi_service_region: RegionOne
gnocchi_service_user_name: gnocchi
gnocchi_role_name: admin
gnocchi_service_project_name: service
gnocchi_service_project_name: "{{ 'service' if gnocchi_storage_driver == 'file' else 'gnocchi_swift' }}"
gnocchi_service_project_domain_id: default
gnocchi_service_user_domain_id: default
gnocchi_service_address: 0.0.0.0
Expand Down
21 changes: 0 additions & 21 deletions ext/openstack_deploy/user_gnocchi_overrides.yml.example
Expand Up @@ -79,27 +79,6 @@ ceilometer_ceilometer_conf_overrides:
filter_service_activity: true
filter_project: "{{ gnocchi_service_project_name }}"

## Demonstrating expected configs necessary to use swift for storage
## When using keystone auth v2 some entries will need to be adjusted
## We need to use a dedicated project for gnocchi when using a Swift backend
## in order to identify the traffic related to storing metrics in Swift and
## exclude it from the other Swift traffic reported to Gnocchi. See also
## filter_service_activity and filter_service_activity in ceilometer.conf
gnocchi_service_project_name: gnocchi_swift
gnocchi_service_project_description: Dedicated project for the Gnocchi Service
gnocchi_conf_overrides:
storage:
driver: swift
swift_auth_version: 3
swift_authurl: "{{ keystone_service_internalurl }}"
swift_endpoint_type: internalURL
swift_user: "{{ gnocchi_service_user_name }}"
swift_key: "{{ gnocchi_service_password }}"
swift_region_name: "{{ gnocchi_service_region }}"
swift_project_domain_id: "{{ gnocchi_service_project_domain_id }}"
swift_user_domain_id: "{{ gnocchi_service_user_domain_id }}"
swift_tenant_name: "{{ gnocchi_service_project_name }}"
swift_container_prefix: gnocchi
## Demonstrating the expected configurations necessary to use ceph for storage
# driver: ceph
# ceph_username: gnocci
Expand Down
67 changes: 0 additions & 67 deletions ext/patches/gnocchi_support.patch

This file was deleted.

0 comments on commit b0e2399

Please sign in to comment.