]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: resync iscsigw group name with master
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 10 Aug 2018 07:04:32 +0000 (09:04 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 13 Aug 2018 10:24:59 +0000 (12:24 +0200)
let's align the name of that group in stable-3.1 with master branch.

Not having the same group name on different branches is confusing and
make some nightlies job failing in the CI.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Vagrantfile
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
infrastructure-playbooks/purge-iscsi-gateways.yml
roles/ceph-defaults/defaults/main.yml
site.yml.sample
tests/conftest.py
tests/functional/centos/7/cluster/group_vars/iscsi-gws [deleted file]
tests/functional/centos/7/cluster/group_vars/iscsigws [new file with mode: 0644]
tests/functional/centos/7/cluster/hosts

index 5984042e5e9e758e3d06d96a751abb70b2770419..e0c5dcc9a30d0214e2eb6e5f155dc16e4c0e9194 100644 (file)
@@ -57,7 +57,7 @@ ansible_provision = proc do |ansible|
     'nfss'             => (0..NNFSS - 1).map { |j| "#{LABEL_PREFIX}nfs#{j}" },
     'rbd_mirrors'      => (0..NRBD_MIRRORS - 1).map { |j| "#{LABEL_PREFIX}rbd_mirror#{j}" },
     'clients'          => (0..CLIENTS - 1).map { |j| "#{LABEL_PREFIX}client#{j}" },
-    'iscsi_gws'        => (0..NISCSI_GWS - 1).map { |j| "#{LABEL_PREFIX}iscsi_gw#{j}" },
+    'iscsigws'        => (0..NISCSI_GWS - 1).map { |j| "#{LABEL_PREFIX}iscsigw#{j}" },
     'mgrs'             => (0..MGRS - 1).map { |j| "#{LABEL_PREFIX}mgr#{j}" }
   }
 
index a2adeb602c87e9909f3ae1eea483853ef036b0ec..a68999ee3b12330bc6ee78b39f9afe0a7e958619 100644 (file)
@@ -52,7 +52,7 @@ dummy:
 #restapi_group_name: restapis
 #rbdmirror_group_name: rbdmirrors
 #client_group_name: clients
-#iscsi_gw_group_name: iscsi-gws
+#iscsi_gw_group_name: iscsigws
 #mgr_group_name: mgrs
 
 # If check_firewall is true, then ansible will try to determine if the
index 9897d662a40db9b1dda28c6e99580631999b8cf9..2b25c3a2adb00bf5dd9d45e15b4f2e8d8fd5bc01 100644 (file)
@@ -52,7 +52,7 @@ fetch_directory: ~/ceph-ansible-keys
 #restapi_group_name: restapis
 #rbdmirror_group_name: rbdmirrors
 #client_group_name: clients
-#iscsi_gw_group_name: iscsi-gws
+#iscsi_gw_group_name: iscsigws
 #mgr_group_name: mgrs
 
 # If check_firewall is true, then ansible will try to determine if the
index a773ba6789785aa7a4f19164bf31df925bdba7b9..fa86d126eb6bc0d65b0cd85e7538a5106c358b86 100644 (file)
@@ -20,7 +20,7 @@
         igw_purge_type: "{{ purge_config }}"
 
 - name: Removing the gateway configuration
-  hosts: iscsi-gws
+  hosts: iscsigws
   become: yes
   vars:
     - igw_purge_type: "{{hostvars['localhost']['igw_purge_type']}}"
index 8e343f57b7d7069faf7c920133e66046f2ee858d..863f95fb8e5fc5af2269f2dc12d40e1cdb41b494 100644 (file)
@@ -44,7 +44,7 @@ nfs_group_name: nfss
 restapi_group_name: restapis
 rbdmirror_group_name: rbdmirrors
 client_group_name: clients
-iscsi_gw_group_name: iscsi-gws
+iscsi_gw_group_name: iscsigws
 mgr_group_name: mgrs
 
 # If check_firewall is true, then ansible will try to determine if the
index 684d6278f81d43be156a92a485e16aa75af01441..9da493682963884e2d26f759ba2aa17c0af829a2 100644 (file)
@@ -12,7 +12,7 @@
   - rbdmirrors
   - clients
   - mgrs
-  - iscsi-gws
+  - iscsigws
 
   gather_facts: false
 
             status: "Complete"
             end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
 
-- hosts: iscsi-gws
+- hosts: iscsigws
   gather_facts: false
   become: True
   pre_tasks:
index 1c1a2285f390b8574bb297df6903ed8ccca11b2c..23fbdedcdb38a2e029325d47a9b7bb9ac0bf3b9a 100644 (file)
@@ -60,7 +60,7 @@ def node(host, request):
     if "nfss" in group_names and ceph_stable_release == "jewel":
         pytest.skip("nfs nodes can not be tested with ceph release jewel")
 
-    if group_names == ["iscsi-gws"] and ceph_stable_release == "jewel":
+    if group_names == ["iscsigws"] and ceph_stable_release == "jewel":
         pytest.skip("iscsigws nodes can not be tested with ceph release jewel")  # noqa E501
 
     if request.node.get_closest_marker("from_luminous") and ceph_release_num[ceph_stable_release] < ceph_release_num['luminous']:  # noqa E501
diff --git a/tests/functional/centos/7/cluster/group_vars/iscsi-gws b/tests/functional/centos/7/cluster/group_vars/iscsi-gws
deleted file mode 100644 (file)
index f5b41fc..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
----
-gateway_ip_list: 192.168.1.90
-generate_crt: True
diff --git a/tests/functional/centos/7/cluster/group_vars/iscsigws b/tests/functional/centos/7/cluster/group_vars/iscsigws
new file mode 100644 (file)
index 0000000..f5b41fc
--- /dev/null
@@ -0,0 +1,3 @@
+---
+gateway_ip_list: 192.168.1.90
+generate_crt: True
index 7a0cb15acdc9cad79771c88279175ba60a539ec2..8b193dcfec33227019317c1faf67d73e66e28764 100644 (file)
@@ -26,5 +26,5 @@ ceph-nfs0
 [rbdmirrors]
 ceph-rbd-mirror0
 
-[iscsi-gws]
+[iscsigws]
 ceph-iscsi-gw0 ceph_repository="dev"