]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
igw: Update iscsigws.yml.sample for ceph-iscsi support
authorMike Christie <mchristi@redhat.com>
Sun, 12 May 2019 07:38:46 +0000 (02:38 -0500)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 4 Jul 2019 00:04:04 +0000 (00:04 +0000)
Update iscsigws.yml.sample to document that we cannot use ansible to
setup iSCSI objects and use the new ceph-iscsi package.

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 75fee55d19e1e2bec49d9bc4996787ba45f8a349)

group_vars/iscsigws.yml.sample
roles/ceph-iscsi-gw/defaults/main.yml

index 4ab76d2c5e5c27a3ec2f73da5b56f19f973220f0..1614f2cfc1e33c69ebd93bf0556c351dda85375a 100644 (file)
@@ -12,9 +12,58 @@ dummy:
 ###########
 # GENERAL #
 ###########
+# Whether or not to generate secure certificate to iSCSI gateway nodes
+#generate_crt: False
+
+#rbd_pool_size: "{{ osd_pool_default_size }}"
+
+##################
+# RBD-TARGET-API #
+##################
+# Optional settings related to the CLI/API service
+#api_user: admin
+#api_password: admin
+#api_port: 5000
+#api_secure: false
+#loop_delay: 1
+#trusted_ip_list: 192.168.122.1
+
+
+##########
+# DOCKER #
+##########
+
+# Resource limitation
+# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
+# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
+# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
+
+# TCMU_RUNNER resource limitation
+#ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
+#ceph_tcmu_runner_docker_cpu_limit: 1
+
+# RBD_TARGET_GW resource limitation
+#ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
+#ceph_rbd_target_gw_docker_cpu_limit: 1
+
+# RBD_TARGET_API resource limitation
+#ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
+#ceph_rbd_target_api_docker_cpu_limit: 1
+
+
+##################################
+# DEPRECIATED iSCSI TARGET SETUP #
+##################################
+
+# WARNING #
+
+# The following values are depreciated. To setup targets, gateways, LUNs, and
+# clients you should use gwcli or dashboard. If the following values are set,
+# the old ceph-iscsi-config/ceph-iscsi-cli packages will be used.
+
 # Specify the iqn for ALL gateways. This iqn is shared across the gateways, so an iscsi
 # client sees the gateway group as a single storage subsystem.
-#gateway_iqn: "iqn.2003-01.com.redhat.iscsi-gw:ceph-igw"
+#gateway_iqn: ""
 
 # gateway_ip_list provides a list of the IP Addrresses - one per gateway - that will be used
 # as an iscsi target portal ip. The list must be comma separated - and the order determines
@@ -60,42 +109,3 @@ dummy:
 
 #client_connections: {}
 
-
-# Whether or not to generate secure certificate to iSCSI gateway nodes
-#generate_crt: False
-
-#rbd_pool_size: "{{ osd_pool_default_size }}"
-
-##################
-# RBD-TARGET-API #
-##################
-# Optional settings related to the CLI/API service
-#api_user: admin
-#api_password: admin
-#api_port: 5000
-#api_secure: false
-#loop_delay: 1
-#trusted_ip_list: 192.168.122.1
-
-
-##########
-# DOCKER #
-##########
-
-# Resource limitation
-# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
-# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
-# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
-
-# TCMU_RUNNER resource limitation
-#ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
-#ceph_tcmu_runner_docker_cpu_limit: 1
-
-# RBD_TARGET_GW resource limitation
-#ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
-#ceph_rbd_target_gw_docker_cpu_limit: 1
-
-# RBD_TARGET_API resource limitation
-#ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
-#ceph_rbd_target_api_docker_cpu_limit: 1
-
index 5ffd64bb72f57cd0e6e4f144a8147ab0888de066..e2944ed9eaee62e6f5c309261b6f2ca4f11d2aca 100644 (file)
@@ -4,9 +4,58 @@
 ###########
 # GENERAL #
 ###########
+# Whether or not to generate secure certificate to iSCSI gateway nodes
+generate_crt: False
+
+rbd_pool_size: "{{ osd_pool_default_size }}"
+
+##################
+# RBD-TARGET-API #
+##################
+# Optional settings related to the CLI/API service
+api_user: admin
+api_password: admin
+api_port: 5000
+api_secure: false
+loop_delay: 1
+trusted_ip_list: 192.168.122.1
+
+
+##########
+# DOCKER #
+##########
+
+# Resource limitation
+# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
+# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
+# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
+
+# TCMU_RUNNER resource limitation
+ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
+ceph_tcmu_runner_docker_cpu_limit: 1
+
+# RBD_TARGET_GW resource limitation
+ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
+ceph_rbd_target_gw_docker_cpu_limit: 1
+
+# RBD_TARGET_API resource limitation
+ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
+ceph_rbd_target_api_docker_cpu_limit: 1
+
+
+##################################
+# DEPRECIATED iSCSI TARGET SETUP #
+##################################
+
+# WARNING #
+
+# The following values are depreciated. To setup targets, gateways, LUNs, and
+# clients you should use gwcli or dashboard. If the following values are set,
+# the old ceph-iscsi-config/ceph-iscsi-cli packages will be used.
+
 # Specify the iqn for ALL gateways. This iqn is shared across the gateways, so an iscsi
 # client sees the gateway group as a single storage subsystem.
-gateway_iqn: "iqn.2003-01.com.redhat.iscsi-gw:ceph-igw"
+gateway_iqn: ""
 
 # gateway_ip_list provides a list of the IP Addrresses - one per gateway - that will be used
 # as an iscsi target portal ip. The list must be comma separated - and the order determines
@@ -51,42 +100,3 @@ rbd_devices: {}
 #  - { client: 'iqn.1991-05.com.microsoft:w2k12r2', image_list: 'rbd.ansible4', chap: 'w2k12r2/microsoft_w2k12', status: 'absent' }
 
 client_connections: {}
-
-
-# Whether or not to generate secure certificate to iSCSI gateway nodes
-generate_crt: False
-
-rbd_pool_size: "{{ osd_pool_default_size }}"
-
-##################
-# RBD-TARGET-API #
-##################
-# Optional settings related to the CLI/API service
-api_user: admin
-api_password: admin
-api_port: 5000
-api_secure: false
-loop_delay: 1
-trusted_ip_list: 192.168.122.1
-
-
-##########
-# DOCKER #
-##########
-
-# Resource limitation
-# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
-# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
-# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
-
-# TCMU_RUNNER resource limitation
-ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
-ceph_tcmu_runner_docker_cpu_limit: 1
-
-# RBD_TARGET_GW resource limitation
-ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
-ceph_rbd_target_gw_docker_cpu_limit: 1
-
-# RBD_TARGET_API resource limitation
-ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
-ceph_rbd_target_api_docker_cpu_limit: 1