f4510b6baa
These addresses are given defaults of 0.0.0.0 in the role defaults but in a deployment we know which address each service should bind to. The variable container_address should hold the local mgmt network IP address for either containerised or metal deployments. This patch defines a new variable management_address which removes confusion about container_address for metal deployments, and overrides the role default bind addresses for all roles. Depends-On: https://review.opendev.org/753638 Change-Id: I7471ff1da9602f67134e217f5427e492fa7a7814
21 lines
1.4 KiB
YAML
21 lines
1.4 KiB
YAML
---
|
|
radosgw_service_name: "radosgw"
|
|
radosgw_service_type: "object-store"
|
|
radosgw_service_description: "Object Storage Service"
|
|
radosgw_service_region: "{{ service_region }}"
|
|
radosgw_admin_user: radosgw
|
|
radosgw_admin_tenant: service
|
|
|
|
radosgw_service_port: "{{ (groups['swift_proxy'] is defined and groups['swift_proxy'] | length > 0) | ternary(7980,8080) }}"
|
|
radosgw_address: "{{ management_address }}"
|
|
radosgw_service_proto: http
|
|
radosgw_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(radosgw_service_proto) }}"
|
|
radosgw_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(radosgw_service_proto) }}"
|
|
radosgw_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(radosgw_service_proto) }}"
|
|
radosgw_service_publicuri: "{{ radosgw_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ radosgw_service_port }}"
|
|
radosgw_service_publicurl: "{{ radosgw_service_publicuri }}/swift/v1/AUTH_%(tenant_id)s"
|
|
radosgw_service_adminuri: "{{ radosgw_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ radosgw_service_port }}"
|
|
radosgw_service_adminurl: "{{ radosgw_service_adminuri }}/swift/v1/AUTH_%(tenant_id)s"
|
|
radosgw_service_internaluri: "{{ radosgw_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ radosgw_service_port }}"
|
|
radosgw_service_internalurl: "{{ radosgw_service_internaluri }}/swift/v1/AUTH_%(tenant_id)s"
|