]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-defaults: remove radosgw_civetweb_ variables
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 29 Jul 2021 15:42:03 +0000 (11:42 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Aug 2021 07:13:08 +0000 (09:13 +0200)
radosgw_civetweb_xxx variables are legacy variables and users should
have switched to radosgw_frontend_xxx variables instead.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-validate/tasks/main.yml

index 1bc2ada0277ab937e735e6450dd6b446ba214482..20f5e0f5a33bd5259f35e45ba828f2dc484f24f1 100644 (file)
@@ -367,18 +367,11 @@ dummy:
 #
 #radosgw_frontend_type: beast # For additional frontends see: https://docs.ceph.com/en/latest/radosgw/frontends/
 
-#radosgw_civetweb_port: 8080
-#radosgw_civetweb_num_threads: 512
-#radosgw_civetweb_options: "num_threads={{ radosgw_civetweb_num_threads }}"
-# For additional civetweb configuration options available such as logging,
-# keepalive, and timeout settings, please see the civetweb docs at
-# https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md
-
-#radosgw_frontend_port: "{{ radosgw_civetweb_port if radosgw_frontend_type == 'civetweb' else '8080' }}"
+#radosgw_frontend_port: 8080
 # The server private key, public certificate and any other CA or intermediate certificates should be in one file, in PEM format.
 #radosgw_frontend_ssl_certificate: ""
 #radosgw_frontend_ssl_certificate_data: "" # certificate contents to be written to path defined by radosgw_frontend_ssl_certificate
-#radosgw_frontend_options: "{{ radosgw_civetweb_options if radosgw_frontend_type == 'civetweb' else '' }}"
+#radosgw_frontend_options: ""
 #radosgw_thread_pool_size: 512
 
 
index 949e8dd65eb132b406943418acf1da7ab625290b..fe664b30a1593315180232a16a1e265d4efe7b85 100644 (file)
@@ -367,18 +367,11 @@ ceph_iscsi_config_dev: false
 #
 #radosgw_frontend_type: beast # For additional frontends see: https://docs.ceph.com/en/latest/radosgw/frontends/
 
-#radosgw_civetweb_port: 8080
-#radosgw_civetweb_num_threads: 512
-#radosgw_civetweb_options: "num_threads={{ radosgw_civetweb_num_threads }}"
-# For additional civetweb configuration options available such as logging,
-# keepalive, and timeout settings, please see the civetweb docs at
-# https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md
-
-#radosgw_frontend_port: "{{ radosgw_civetweb_port if radosgw_frontend_type == 'civetweb' else '8080' }}"
+#radosgw_frontend_port: 8080
 # The server private key, public certificate and any other CA or intermediate certificates should be in one file, in PEM format.
 #radosgw_frontend_ssl_certificate: ""
 #radosgw_frontend_ssl_certificate_data: "" # certificate contents to be written to path defined by radosgw_frontend_ssl_certificate
-#radosgw_frontend_options: "{{ radosgw_civetweb_options if radosgw_frontend_type == 'civetweb' else '' }}"
+#radosgw_frontend_options: ""
 #radosgw_thread_pool_size: 512
 
 
index 63747125b483594dec0057889be7e4faf4e03c5d..c4cf1aa08f935404fc1a693ed3cdac4a513e24e1 100644 (file)
@@ -359,18 +359,11 @@ mds_max_mds: 1
 #
 radosgw_frontend_type: beast # For additional frontends see: https://docs.ceph.com/en/latest/radosgw/frontends/
 
-radosgw_civetweb_port: 8080
-radosgw_civetweb_num_threads: 512
-radosgw_civetweb_options: "num_threads={{ radosgw_civetweb_num_threads }}"
-# For additional civetweb configuration options available such as logging,
-# keepalive, and timeout settings, please see the civetweb docs at
-# https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md
-
-radosgw_frontend_port: "{{ radosgw_civetweb_port if radosgw_frontend_type == 'civetweb' else '8080' }}"
+radosgw_frontend_port: 8080
 # The server private key, public certificate and any other CA or intermediate certificates should be in one file, in PEM format.
 radosgw_frontend_ssl_certificate: ""
 radosgw_frontend_ssl_certificate_data: "" # certificate contents to be written to path defined by radosgw_frontend_ssl_certificate
-radosgw_frontend_options: "{{ radosgw_civetweb_options if radosgw_frontend_type == 'civetweb' else '' }}"
+radosgw_frontend_options: ""
 radosgw_thread_pool_size: 512
 
 
index ddde4ae74113c4e25665b1b24ec60ce5fc22eda4..28ba31635ed992691ba1db00bdeb801bbdba8f7e 100644 (file)
   include_tasks: check_iscsi.yml
   when: iscsi_gw_group_name in group_names
 
-- name: warn about radosgw_civetweb_num_threads option deprecation
-  debug:
-    msg: "WARNING: radosgw_civetweb_num_threads variable is deprecated. Please use radosgw_thread_pool_size instead"
-  when:
-    - radosgw_frontend_type == 'civetweb'
-    - radosgw_civetweb_num_threads is defined
-
 - name: include check_nfs.yml
   include_tasks: check_nfs.yml
   when: inventory_hostname in groups.get(nfs_group_name, [])