Merge "Make ceph use storage network"

This commit is contained in:
Zuul 2022-11-15 00:13:07 +00:00 committed by Gerrit Code Review
commit bb5184c4aa
4 changed files with 7 additions and 4 deletions

View File

@ -206,6 +206,8 @@ global_overrides:
- nova_compute
- manila_share
- swift_proxy
- ceph-mon
- ceph-osd
# keystone
identity_hosts:

View File

@ -73,6 +73,7 @@ global_overrides:
- manila_share
- nova_compute
- ceph-mon
- ceph-osd
###
### Infrastructure

View File

@ -15,8 +15,8 @@ fsid: 116f14c4-7fe1-40e4-94eb-9240b63de5c1 # Replace with your generated UUID
## ceph-ansible settings
## See https://github.com/ceph/ceph-ansible/tree/master/group_vars for
## additional configuration options available.
monitor_address_block: "{{ cidr_networks.container }}"
public_network: "{{ cidr_networks.container }}"
monitor_address_block: "{{ cidr_networks.storage }}"
public_network: "{{ cidr_networks.storage }}"
cluster_network: "{{ cidr_networks.storage }}"
journal_size: 10240 # size in MB
# ceph-ansible automatically creates pools & keys for OpenStack services

View File

@ -16,8 +16,8 @@
## ceph-ansible AIO settings
is_hci: true
common_single_host_mode: true
monitor_interface: "{{ ('metal' in bootstrap_host_scenarios_expanded) | ternary('br-mgmt', 'eth1') }}" # Management network in the AIO
public_network: "{{ (mgmt_range ~ '.0/' ~ netmask) | ansible.utils.ipaddr('net') }}"
monitor_interface: "{{ ('metal' in bootstrap_host_scenarios_expanded) | ternary('br-storage', 'eth2') }}" # Storage network in the AIO
public_network: "{{ (storage_range ~ '.0/' ~ netmask) | ansible.utils.ipaddr('net') }}"
journal_size: 100
osd_scenario: collocated
ceph_conf_overrides_custom: