fail if fqdn deployment attempted

fqdn configuration possibility caused a lot of trouble, it's adding a
lot of complexity because of multiple cases and the relation between
ceph-ansible and ceph-container. Moreover, there is no benefit for such
a feature.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1613155
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/3006/head
Sébastien Han 2018-08-13 11:40:56 +02:00
parent 2258e9a5e3
commit 15b72aec50
5 changed files with 33 additions and 0 deletions

View File

@ -616,3 +616,9 @@ dummy:
# - { name: client.gnocchi, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_gnocchi_pool.name }}"}, mode: "0600", }
# - { name: client.openstack, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_glance_pool.name }}, profile rbd pool={{ openstack_nova_pool.name }}, profile rbd pool={{ openstack_cinder_pool.name }}, profile rbd pool={{ openstack_cinder_backup_pool.name }}"}, mode: "0600" }
###############
# DEPRECATION #
###############
#use_fqdn_yes_i_am_sure: false

View File

@ -616,3 +616,9 @@ ceph_rhcs_version: 3
# - { name: client.gnocchi, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_gnocchi_pool.name }}"}, mode: "0600", }
# - { name: client.openstack, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_glance_pool.name }}, profile rbd pool={{ openstack_nova_pool.name }}, profile rbd pool={{ openstack_cinder_pool.name }}, profile rbd pool={{ openstack_cinder_backup_pool.name }}"}, mode: "0600" }
###############
# DEPRECATION #
###############
#use_fqdn_yes_i_am_sure: false

View File

@ -82,3 +82,10 @@
- radosgw_interface == 'interface'
- radosgw_address == 'address'
- radosgw_address_block == 'subnet'
- name: warning deprecation for fqdn configuration
fail:
msg: "fqdn configuration is not supported anymore. Use 'use_fqdn_yes_i_am_sure: true' if you really want to use it. See release notes for more details"
when:
- mon_use_fqdn or mds_use_fqdn
- not use_fqdn_yes_i_am_sure

View File

@ -608,3 +608,10 @@ openstack_keys:
- { name: client.cinder-backup, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_cinder_backup_pool.name }}"}, mode: "0600" }
- { name: client.gnocchi, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_gnocchi_pool.name }}"}, mode: "0600", }
- { name: client.openstack, caps: { mon: "profile rbd", osd: "profile rbd pool={{ openstack_glance_pool.name }}, profile rbd pool={{ openstack_nova_pool.name }}, profile rbd pool={{ openstack_cinder_pool.name }}, profile rbd pool={{ openstack_cinder_backup_pool.name }}"}, mode: "0600" }
###############
# DEPRECATION #
###############
use_fqdn_yes_i_am_sure: false

View File

@ -16,3 +16,10 @@
- radosgw_interface == 'interface'
- radosgw_address == 'address'
- radosgw_address_block == 'subnet'
- name: warning deprecation for fqdn configuration
fail:
msg: "fqdn configuration is not supported anymore. Use 'use_fqdn_yes_i_am_sure: true' if you really want to use it. See release notes for more details"
when:
- mon_use_fqdn or mds_use_fqdn
- not use_fqdn_yes_i_am_sure