-
Jorge Niedbalski authored
Patch [0] left 2 variables for authentication one is openstack_swift_auth and the other (inexistent) openstack_ceph_rgw_auth for the ceph_rgw start_keystone task. This patch leaves only openstack_ceph_rgw_auth. Closes-Bug: #1769463 [0] https://github.com/openstack/kolla-ansible/commit/84ade4e1499d0762c8ffa8adb3a2b9003476e99c Change-Id: I1cc522d91f8258f4ca23afc10a0a2a2b35c1ff68 Signed-off-by:
Jorge Niedbalski <jorge.niedbalski@linaro.org>
Jorge Niedbalski authoredPatch [0] left 2 variables for authentication one is openstack_swift_auth and the other (inexistent) openstack_ceph_rgw_auth for the ceph_rgw start_keystone task. This patch leaves only openstack_ceph_rgw_auth. Closes-Bug: #1769463 [0] https://github.com/openstack/kolla-ansible/commit/84ade4e1499d0762c8ffa8adb3a2b9003476e99c Change-Id: I1cc522d91f8258f4ca23afc10a0a2a2b35c1ff68 Signed-off-by:
Jorge Niedbalski <jorge.niedbalski@linaro.org>
start_rgw_keystone.yml 1.12 KiB
---
- name: Creating the Swift service and endpoint
kolla_toolbox:
module_name: kolla_keystone_service
module_args:
service_name: "swift"
service_type: "object-store"
description: "Openstack Object Storage"
endpoint_region: "{{ openstack_region_name }}"
url: "{{ item.url }}"
interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}"
auth: "{{ openstack_ceph_rgw_auth }}"
endpoint_type: "{{ openstack_interface }}"
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ swift_admin_endpoint }}'}
- {'interface': 'internal', 'url': '{{ swift_internal_endpoint }}'}
- {'interface': 'public', 'url': '{{ swift_public_endpoint }}'}
- name: Registering keystone ceph_rgw user
kolla_toolbox:
module_name: kolla_keystone_user
module_args:
project: "service"
user: "{{ ceph_rgw_keystone_user }}"
password: "{{ ceph_rgw_keystone_password }}"
role: "admin"
region_name: "{{ openstack_region_name }}"
auth: "{{ openstack_ceph_rgw_auth }}"
endpoint_type: "{{ openstack_interface }}"
run_once: True