remove warning for unsupported variables

As promised, these will go unsupported for 3.1 so let's actually remove
them :).

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1622729
Signed-off-by: Sébastien Han <seb@redhat.com>
pull/3074/merge
Sébastien Han 2018-08-27 13:58:20 -07:00
parent e1ff438800
commit 9ba670567e
5 changed files with 22 additions and 73 deletions

View File

@ -126,14 +126,7 @@ dummy:
########### ###########
# INSTALL # # INSTALL #
########### ###########
#ceph_rhcs_cdn_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1 #ceph_repository_type: dummy
#ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_rhcs_iso_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_rhcs: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_stable: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_dev: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_stable_uca: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_custom: False # backward compatibility with stable-2.2, will disappear in stable 3.1
# ORIGIN SOURCE # ORIGIN SOURCE
# #
@ -142,14 +135,14 @@ dummy:
# - 'distro' means that no separate repo file will be added # - 'distro' means that no separate repo file will be added
# you will get whatever version of Ceph is included in your Linux distro. # you will get whatever version of Ceph is included in your Linux distro.
# 'local' means that the ceph binaries will be copied over from the local machine # 'local' means that the ceph binaries will be copied over from the local machine
#ceph_origin: "{{ 'repository' if ceph_rhcs or ceph_stable or ceph_dev or ceph_stable_uca or ceph_custom else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #ceph_origin: dummy
#valid_ceph_origins: #valid_ceph_origins:
# - repository # - repository
# - distro # - distro
# - local # - local
#ceph_repository: "{{ 'community' if ceph_stable else 'rhcs' if ceph_rhcs else 'dev' if ceph_dev else 'uca' if ceph_stable_uca else 'custom' if ceph_custom else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #ceph_repository: dummy
#valid_ceph_repository: #valid_ceph_repository:
# - community # - community
# - rhcs # - rhcs
@ -347,7 +340,7 @@ dummy:
# These variables must be defined at least in all.yml and overrided if needed (inventory host file or group_vars/*.yml). # These variables must be defined at least in all.yml and overrided if needed (inventory host file or group_vars/*.yml).
# Eg. If you want to specify for each monitor which address the monitor will bind to you can set it in your **inventory host file** by using 'monitor_address' variable. # Eg. If you want to specify for each monitor which address the monitor will bind to you can set it in your **inventory host file** by using 'monitor_address' variable.
# Preference will go to monitor_address if both monitor_address and monitor_interface are defined. # Preference will go to monitor_address if both monitor_address and monitor_interface are defined.
#monitor_interface: "{{ ceph_mon_docker_interface if ceph_mon_docker_interface != 'interface' else 'interface' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #monitor_interface: interface
#monitor_address: 0.0.0.0 #monitor_address: 0.0.0.0
#monitor_address_block: subnet #monitor_address_block: subnet
# set to either ipv4 or ipv6, whichever your network is using # set to either ipv4 or ipv6, whichever your network is using
@ -368,7 +361,7 @@ dummy:
## OSD options ## OSD options
# #
#journal_size: 5120 # OSD journal size in MB #journal_size: 5120 # OSD journal size in MB
#public_network: "{{ ceph_mon_docker_subnet if ceph_mon_docker_subnet != '0.0.0.0/0' else '0.0.0.0/0' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #public_network: 0.0.0.0/0
#cluster_network: "{{ public_network | regex_replace(' ', '') }}" #cluster_network: "{{ public_network | regex_replace(' ', '') }}"
#osd_mkfs_type: xfs #osd_mkfs_type: xfs
#osd_mkfs_options_xfs: -f -i size=2048 #osd_mkfs_options_xfs: -f -i size=2048
@ -407,7 +400,7 @@ dummy:
# Eg. If you want to specify for each radosgw node which address the radosgw will bind to you can set it in your **inventory host file** by using 'radosgw_address' variable. # Eg. If you want to specify for each radosgw node which address the radosgw will bind to you can set it in your **inventory host file** by using 'radosgw_address' variable.
# Preference will go to radosgw_address if both radosgw_address and radosgw_interface are defined. # Preference will go to radosgw_address if both radosgw_address and radosgw_interface are defined.
#radosgw_interface: interface #radosgw_interface: interface
#radosgw_address: "{{ '0.0.0.0' if rgw_containerized_deployment else 'address' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #radosgw_address: address
#radosgw_address_block: subnet #radosgw_address_block: subnet
#radosgw_keystone_ssl: false # activate this when using keystone PKI keys #radosgw_keystone_ssl: false # activate this when using keystone PKI keys
# Rados Gateway options # Rados Gateway options
@ -521,12 +514,6 @@ dummy:
#ceph_docker_registry: docker.io #ceph_docker_registry: docker.io
#ceph_docker_enable_centos_extra_repo: false #ceph_docker_enable_centos_extra_repo: false
#ceph_docker_on_openstack: false #ceph_docker_on_openstack: false
#ceph_mon_docker_interface: "interface" # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_mon_docker_subnet: "0.0.0.0/0" # backward compatibility with stable-2.2, will disappear in stable 3.1
#mon_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#osd_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#mds_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#rgw_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#containerized_deployment: False #containerized_deployment: False
############ ############

View File

@ -10,12 +10,6 @@ dummy:
# You can override default vars defined in defaults/main.yml here, # You can override default vars defined in defaults/main.yml here,
# but I would advice to use host or group vars instead # but I would advice to use host or group vars instead
#raw_journal_devices: [] # backward compatibility with stable-2.2, will disappear in stable 3.1
#journal_collocation: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#raw_multi_journal: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#dmcrypt_journal_collocation: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#dmcrypt_dedicated_journal: False # backward compatibility with stable-2.2, will disappear in stable 3.1
########### ###########
# GENERAL # # GENERAL #
@ -64,7 +58,7 @@ dummy:
# Encrypt your OSD device using dmcrypt # Encrypt your OSD device using dmcrypt
# If set to True, no matter which osd_objecstore and osd_scenario you use the data will be encrypted # If set to True, no matter which osd_objecstore and osd_scenario you use the data will be encrypted
#dmcrypt: "{{ True if dmcrypt_journal_collocation or dmcrypt_dedicated_journal else False }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #dmcrypt: False
# I. First scenario: collocated # I. First scenario: collocated
@ -88,7 +82,7 @@ dummy:
# #
# Note: This scenario uses the ceph-disk tool to provision OSDs # Note: This scenario uses the ceph-disk tool to provision OSDs
#osd_scenario: "{{ 'collocated' if journal_collocation or dmcrypt_journal_collocation else 'non-collocated' if raw_multi_journal or dmcrypt_dedicated_journal else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #osd_scenario: dummy
#valid_osd_scenarios: #valid_osd_scenarios:
# - collocated # - collocated
# - non-collocated # - non-collocated
@ -149,7 +143,7 @@ dummy:
# /dev/sdb2: PARTLABEL="ceph block.wal" PARTUUID="af3f8327-9aa9-4c2b-a497-cf0fe96d126a" # /dev/sdb2: PARTLABEL="ceph block.wal" PARTUUID="af3f8327-9aa9-4c2b-a497-cf0fe96d126a"
# #
# Note: This scenario uses the ceph-disk tool to provision OSDs # Note: This scenario uses the ceph-disk tool to provision OSDs
#dedicated_devices: "{{ raw_journal_devices if raw_multi_journal or dmcrypt_dedicated_journal else [] }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #dedicated_devices: []
# More device granularity for Bluestore # More device granularity for Bluestore

View File

@ -126,14 +126,7 @@ fetch_directory: ~/ceph-ansible-keys
########### ###########
# INSTALL # # INSTALL #
########### ###########
#ceph_rhcs_cdn_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1 #ceph_repository_type: dummy
#ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_rhcs_iso_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_rhcs: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_stable: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_dev: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_stable_uca: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_custom: False # backward compatibility with stable-2.2, will disappear in stable 3.1
# ORIGIN SOURCE # ORIGIN SOURCE
# #
@ -347,7 +340,7 @@ ceph_rhcs_version: 3
# These variables must be defined at least in all.yml and overrided if needed (inventory host file or group_vars/*.yml). # These variables must be defined at least in all.yml and overrided if needed (inventory host file or group_vars/*.yml).
# Eg. If you want to specify for each monitor which address the monitor will bind to you can set it in your **inventory host file** by using 'monitor_address' variable. # Eg. If you want to specify for each monitor which address the monitor will bind to you can set it in your **inventory host file** by using 'monitor_address' variable.
# Preference will go to monitor_address if both monitor_address and monitor_interface are defined. # Preference will go to monitor_address if both monitor_address and monitor_interface are defined.
#monitor_interface: "{{ ceph_mon_docker_interface if ceph_mon_docker_interface != 'interface' else 'interface' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #monitor_interface: interface
#monitor_address: 0.0.0.0 #monitor_address: 0.0.0.0
#monitor_address_block: subnet #monitor_address_block: subnet
# set to either ipv4 or ipv6, whichever your network is using # set to either ipv4 or ipv6, whichever your network is using
@ -368,7 +361,7 @@ ceph_rhcs_version: 3
## OSD options ## OSD options
# #
#journal_size: 5120 # OSD journal size in MB #journal_size: 5120 # OSD journal size in MB
#public_network: "{{ ceph_mon_docker_subnet if ceph_mon_docker_subnet != '0.0.0.0/0' else '0.0.0.0/0' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #public_network: 0.0.0.0/0
#cluster_network: "{{ public_network | regex_replace(' ', '') }}" #cluster_network: "{{ public_network | regex_replace(' ', '') }}"
#osd_mkfs_type: xfs #osd_mkfs_type: xfs
#osd_mkfs_options_xfs: -f -i size=2048 #osd_mkfs_options_xfs: -f -i size=2048
@ -407,7 +400,7 @@ ceph_rhcs_version: 3
# Eg. If you want to specify for each radosgw node which address the radosgw will bind to you can set it in your **inventory host file** by using 'radosgw_address' variable. # Eg. If you want to specify for each radosgw node which address the radosgw will bind to you can set it in your **inventory host file** by using 'radosgw_address' variable.
# Preference will go to radosgw_address if both radosgw_address and radosgw_interface are defined. # Preference will go to radosgw_address if both radosgw_address and radosgw_interface are defined.
#radosgw_interface: interface #radosgw_interface: interface
#radosgw_address: "{{ '0.0.0.0' if rgw_containerized_deployment else 'address' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 #radosgw_address: address
#radosgw_address_block: subnet #radosgw_address_block: subnet
#radosgw_keystone_ssl: false # activate this when using keystone PKI keys #radosgw_keystone_ssl: false # activate this when using keystone PKI keys
# Rados Gateway options # Rados Gateway options
@ -521,12 +514,6 @@ ceph_rhcs_version: 3
#ceph_docker_registry: docker.io #ceph_docker_registry: docker.io
#ceph_docker_enable_centos_extra_repo: false #ceph_docker_enable_centos_extra_repo: false
#ceph_docker_on_openstack: false #ceph_docker_on_openstack: false
#ceph_mon_docker_interface: "interface" # backward compatibility with stable-2.2, will disappear in stable 3.1
#ceph_mon_docker_subnet: "0.0.0.0/0" # backward compatibility with stable-2.2, will disappear in stable 3.1
#mon_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#osd_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#mds_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#rgw_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
#containerized_deployment: False #containerized_deployment: False
############ ############

View File

@ -118,14 +118,7 @@ ceph_use_distro_backports: false # DEBIAN ONLY
########### ###########
# INSTALL # # INSTALL #
########### ###########
ceph_rhcs_cdn_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1 ceph_repository_type: dummy
ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
ceph_rhcs_iso_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
ceph_rhcs: False # backward compatibility with stable-2.2, will disappear in stable 3.1
ceph_stable: False # backward compatibility with stable-2.2, will disappear in stable 3.1
ceph_dev: False # backward compatibility with stable-2.2, will disappear in stable 3.1
ceph_stable_uca: False # backward compatibility with stable-2.2, will disappear in stable 3.1
ceph_custom: False # backward compatibility with stable-2.2, will disappear in stable 3.1
# ORIGIN SOURCE # ORIGIN SOURCE
# #
@ -134,14 +127,14 @@ ceph_custom: False # backward compatibility with stable-2.2, will disappear in s
# - 'distro' means that no separate repo file will be added # - 'distro' means that no separate repo file will be added
# you will get whatever version of Ceph is included in your Linux distro. # you will get whatever version of Ceph is included in your Linux distro.
# 'local' means that the ceph binaries will be copied over from the local machine # 'local' means that the ceph binaries will be copied over from the local machine
ceph_origin: "{{ 'repository' if ceph_rhcs or ceph_stable or ceph_dev or ceph_stable_uca or ceph_custom else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 ceph_origin: dummy
valid_ceph_origins: valid_ceph_origins:
- repository - repository
- distro - distro
- local - local
ceph_repository: "{{ 'community' if ceph_stable else 'rhcs' if ceph_rhcs else 'dev' if ceph_dev else 'uca' if ceph_stable_uca else 'custom' if ceph_custom else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 ceph_repository: dummy
valid_ceph_repository: valid_ceph_repository:
- community - community
- rhcs - rhcs
@ -339,7 +332,7 @@ rbd_client_admin_socket_path: /var/run/ceph # must be writable by QEMU and allow
# These variables must be defined at least in all.yml and overrided if needed (inventory host file or group_vars/*.yml). # These variables must be defined at least in all.yml and overrided if needed (inventory host file or group_vars/*.yml).
# Eg. If you want to specify for each monitor which address the monitor will bind to you can set it in your **inventory host file** by using 'monitor_address' variable. # Eg. If you want to specify for each monitor which address the monitor will bind to you can set it in your **inventory host file** by using 'monitor_address' variable.
# Preference will go to monitor_address if both monitor_address and monitor_interface are defined. # Preference will go to monitor_address if both monitor_address and monitor_interface are defined.
monitor_interface: "{{ ceph_mon_docker_interface if ceph_mon_docker_interface != 'interface' else 'interface' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 monitor_interface: interface
monitor_address: 0.0.0.0 monitor_address: 0.0.0.0
monitor_address_block: subnet monitor_address_block: subnet
# set to either ipv4 or ipv6, whichever your network is using # set to either ipv4 or ipv6, whichever your network is using
@ -360,7 +353,7 @@ cephfs_pools:
## OSD options ## OSD options
# #
journal_size: 5120 # OSD journal size in MB journal_size: 5120 # OSD journal size in MB
public_network: "{{ ceph_mon_docker_subnet if ceph_mon_docker_subnet != '0.0.0.0/0' else '0.0.0.0/0' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 public_network: 0.0.0.0/0
cluster_network: "{{ public_network | regex_replace(' ', '') }}" cluster_network: "{{ public_network | regex_replace(' ', '') }}"
osd_mkfs_type: xfs osd_mkfs_type: xfs
osd_mkfs_options_xfs: -f -i size=2048 osd_mkfs_options_xfs: -f -i size=2048
@ -399,7 +392,7 @@ radosgw_frontend_options: "{{ radosgw_civetweb_options if radosgw_frontend_type
# Eg. If you want to specify for each radosgw node which address the radosgw will bind to you can set it in your **inventory host file** by using 'radosgw_address' variable. # Eg. If you want to specify for each radosgw node which address the radosgw will bind to you can set it in your **inventory host file** by using 'radosgw_address' variable.
# Preference will go to radosgw_address if both radosgw_address and radosgw_interface are defined. # Preference will go to radosgw_address if both radosgw_address and radosgw_interface are defined.
radosgw_interface: interface radosgw_interface: interface
radosgw_address: "{{ '0.0.0.0' if rgw_containerized_deployment else 'address' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 radosgw_address: address
radosgw_address_block: subnet radosgw_address_block: subnet
radosgw_keystone_ssl: false # activate this when using keystone PKI keys radosgw_keystone_ssl: false # activate this when using keystone PKI keys
# Rados Gateway options # Rados Gateway options
@ -513,12 +506,6 @@ ceph_docker_image_tag: latest
ceph_docker_registry: docker.io ceph_docker_registry: docker.io
ceph_docker_enable_centos_extra_repo: false ceph_docker_enable_centos_extra_repo: false
ceph_docker_on_openstack: false ceph_docker_on_openstack: false
ceph_mon_docker_interface: "interface" # backward compatibility with stable-2.2, will disappear in stable 3.1
ceph_mon_docker_subnet: "0.0.0.0/0" # backward compatibility with stable-2.2, will disappear in stable 3.1
mon_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
osd_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
mds_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
rgw_containerized_deployment: False # backward compatibility with stable-2.2, will disappear in stable 3.1
containerized_deployment: False containerized_deployment: False
############ ############

View File

@ -2,12 +2,6 @@
# You can override default vars defined in defaults/main.yml here, # You can override default vars defined in defaults/main.yml here,
# but I would advice to use host or group vars instead # but I would advice to use host or group vars instead
raw_journal_devices: [] # backward compatibility with stable-2.2, will disappear in stable 3.1
journal_collocation: False # backward compatibility with stable-2.2, will disappear in stable 3.1
raw_multi_journal: False # backward compatibility with stable-2.2, will disappear in stable 3.1
dmcrypt_journal_collocation: False # backward compatibility with stable-2.2, will disappear in stable 3.1
dmcrypt_dedicated_journal: False # backward compatibility with stable-2.2, will disappear in stable 3.1
########### ###########
# GENERAL # # GENERAL #
@ -56,7 +50,7 @@ osd_auto_discovery: false
# Encrypt your OSD device using dmcrypt # Encrypt your OSD device using dmcrypt
# If set to True, no matter which osd_objecstore and osd_scenario you use the data will be encrypted # If set to True, no matter which osd_objecstore and osd_scenario you use the data will be encrypted
dmcrypt: "{{ True if dmcrypt_journal_collocation or dmcrypt_dedicated_journal else False }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 dmcrypt: False
# I. First scenario: collocated # I. First scenario: collocated
@ -80,7 +74,7 @@ dmcrypt: "{{ True if dmcrypt_journal_collocation or dmcrypt_dedicated_journal el
# #
# Note: This scenario uses the ceph-disk tool to provision OSDs # Note: This scenario uses the ceph-disk tool to provision OSDs
osd_scenario: "{{ 'collocated' if journal_collocation or dmcrypt_journal_collocation else 'non-collocated' if raw_multi_journal or dmcrypt_dedicated_journal else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 osd_scenario: dummy
valid_osd_scenarios: valid_osd_scenarios:
- collocated - collocated
- non-collocated - non-collocated
@ -141,7 +135,7 @@ valid_osd_scenarios:
# /dev/sdb2: PARTLABEL="ceph block.wal" PARTUUID="af3f8327-9aa9-4c2b-a497-cf0fe96d126a" # /dev/sdb2: PARTLABEL="ceph block.wal" PARTUUID="af3f8327-9aa9-4c2b-a497-cf0fe96d126a"
# #
# Note: This scenario uses the ceph-disk tool to provision OSDs # Note: This scenario uses the ceph-disk tool to provision OSDs
dedicated_devices: "{{ raw_journal_devices if raw_multi_journal or dmcrypt_dedicated_journal else [] }}" # backward compatibility with stable-2.2, will disappear in stable 3.1 dedicated_devices: []
# More device granularity for Bluestore # More device granularity for Bluestore