From 69d9343fd03337be6f652a072023d53768cbdaa9 Mon Sep 17 00:00:00 2001 From: jimmygc Date: Wed, 7 Jun 2017 10:52:14 +0800 Subject: [PATCH] Add ceph rgw object store support into trove Ceph rgw can be used as object store instead of Swift. This patch enable trove to use ceph rgw as object store. Change-Id: I50b878078b7c62c1034a102d064dfa90a1357ee8 --- ansible/roles/trove/templates/trove.conf.j2 | 2 ++ .../notes/add-trove-ceph-rgw-support-622e06876ae90eb7.yaml | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 releasenotes/notes/add-trove-ceph-rgw-support-622e06876ae90eb7.yaml diff --git a/ansible/roles/trove/templates/trove.conf.j2 b/ansible/roles/trove/templates/trove.conf.j2 index 3ebe97afdb..768e944e21 100644 --- a/ansible/roles/trove/templates/trove.conf.j2 +++ b/ansible/roles/trove/templates/trove.conf.j2 @@ -21,6 +21,8 @@ cinder_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ cinder_api_p {% endif %} {% if enable_swift | bool %} swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ swift_proxy_server_port }}/v1/AUTH_ +{% elif enable_ceph_rgw_keystone | bool %} +swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ rgw_port }}/v1/AUTH_ {% endif %} [database] diff --git a/releasenotes/notes/add-trove-ceph-rgw-support-622e06876ae90eb7.yaml b/releasenotes/notes/add-trove-ceph-rgw-support-622e06876ae90eb7.yaml new file mode 100644 index 0000000000..40cdf5655c --- /dev/null +++ b/releasenotes/notes/add-trove-ceph-rgw-support-622e06876ae90eb7.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add ceph-rgw object store support to Trove