Browse Source

Pass monitor_address_block to ceph-ansible for mon_host

The ip address which clients and other nodes use to connect to the
monitors is derived from the monitor_interface parameter unless
a monitor_address or monitor_address_block is given (to set mon_host
into ceph.conf); this change adds setting for monitor_address_block to
match the public_network so that clients attempt to connect to the mons
on the appropriate network.

Change-Id: I7187e739e9f777eab724fbc09e8b2c8ddedc552d
Closes-Bug: #1709485
tags/7.0.0.0rc1
Giulio Fidente 1 year ago
parent
commit
de3717ecf8
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      docker/services/ceph-ansible/ceph-base.yaml

+ 1
- 0
docker/services/ceph-ansible/ceph-base.yaml View File

@@ -142,6 +142,7 @@ outputs:
142 142
           ceph_docker_image_tag: {str_split: [':', {get_param: DockerCephDaemonImage}, 1]}
143 143
           containerized_deployment: true
144 144
           public_network: {get_param: [ServiceData, net_cidr_map, {get_param: [ServiceNetMap, CephMonNetwork]}]}
145
+          monitor_address_block: {get_param: [ServiceData, net_cidr_map, {get_param: [ServiceNetMap, CephMonNetwork]}]}
145 146
           cluster_network: {get_param: [ServiceData, net_cidr_map, {get_param: [ServiceNetMap, CephClusterNetwork]}]}
146 147
           user_config: true
147 148
           ceph_stable: true

Loading…
Cancel
Save