mirror of https://github.com/ceph/ceph-ansible.git
tests: resync iscsigw group name with master
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>pull/3006/merge
parent
32ef06e80f
commit
9a013ab333
|
@ -57,7 +57,7 @@ ansible_provision = proc do |ansible|
|
||||||
'nfss' => (0..NNFSS - 1).map { |j| "#{LABEL_PREFIX}nfs#{j}" },
|
'nfss' => (0..NNFSS - 1).map { |j| "#{LABEL_PREFIX}nfs#{j}" },
|
||||||
'rbd_mirrors' => (0..NRBD_MIRRORS - 1).map { |j| "#{LABEL_PREFIX}rbd_mirror#{j}" },
|
'rbd_mirrors' => (0..NRBD_MIRRORS - 1).map { |j| "#{LABEL_PREFIX}rbd_mirror#{j}" },
|
||||||
'clients' => (0..CLIENTS - 1).map { |j| "#{LABEL_PREFIX}client#{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}" }
|
'mgrs' => (0..MGRS - 1).map { |j| "#{LABEL_PREFIX}mgr#{j}" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ dummy:
|
||||||
#restapi_group_name: restapis
|
#restapi_group_name: restapis
|
||||||
#rbdmirror_group_name: rbdmirrors
|
#rbdmirror_group_name: rbdmirrors
|
||||||
#client_group_name: clients
|
#client_group_name: clients
|
||||||
#iscsi_gw_group_name: iscsi-gws
|
#iscsi_gw_group_name: iscsigws
|
||||||
#mgr_group_name: mgrs
|
#mgr_group_name: mgrs
|
||||||
|
|
||||||
# If check_firewall is true, then ansible will try to determine if the
|
# If check_firewall is true, then ansible will try to determine if the
|
||||||
|
|
|
@ -52,7 +52,7 @@ fetch_directory: ~/ceph-ansible-keys
|
||||||
#restapi_group_name: restapis
|
#restapi_group_name: restapis
|
||||||
#rbdmirror_group_name: rbdmirrors
|
#rbdmirror_group_name: rbdmirrors
|
||||||
#client_group_name: clients
|
#client_group_name: clients
|
||||||
#iscsi_gw_group_name: iscsi-gws
|
#iscsi_gw_group_name: iscsigws
|
||||||
#mgr_group_name: mgrs
|
#mgr_group_name: mgrs
|
||||||
|
|
||||||
# If check_firewall is true, then ansible will try to determine if the
|
# If check_firewall is true, then ansible will try to determine if the
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
igw_purge_type: "{{ purge_config }}"
|
igw_purge_type: "{{ purge_config }}"
|
||||||
|
|
||||||
- name: Removing the gateway configuration
|
- name: Removing the gateway configuration
|
||||||
hosts: iscsi-gws
|
hosts: iscsigws
|
||||||
become: yes
|
become: yes
|
||||||
vars:
|
vars:
|
||||||
- igw_purge_type: "{{hostvars['localhost']['igw_purge_type']}}"
|
- igw_purge_type: "{{hostvars['localhost']['igw_purge_type']}}"
|
||||||
|
|
|
@ -44,7 +44,7 @@ nfs_group_name: nfss
|
||||||
restapi_group_name: restapis
|
restapi_group_name: restapis
|
||||||
rbdmirror_group_name: rbdmirrors
|
rbdmirror_group_name: rbdmirrors
|
||||||
client_group_name: clients
|
client_group_name: clients
|
||||||
iscsi_gw_group_name: iscsi-gws
|
iscsi_gw_group_name: iscsigws
|
||||||
mgr_group_name: mgrs
|
mgr_group_name: mgrs
|
||||||
|
|
||||||
# If check_firewall is true, then ansible will try to determine if the
|
# If check_firewall is true, then ansible will try to determine if the
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
- rbdmirrors
|
- rbdmirrors
|
||||||
- clients
|
- clients
|
||||||
- mgrs
|
- mgrs
|
||||||
- iscsi-gws
|
- iscsigws
|
||||||
|
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
|
@ -347,7 +347,7 @@
|
||||||
status: "Complete"
|
status: "Complete"
|
||||||
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
|
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
|
||||||
|
|
||||||
- hosts: iscsi-gws
|
- hosts: iscsigws
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
become: True
|
become: True
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
|
|
@ -60,7 +60,7 @@ def node(host, request):
|
||||||
if "nfss" in group_names and ceph_stable_release == "jewel":
|
if "nfss" in group_names and ceph_stable_release == "jewel":
|
||||||
pytest.skip("nfs nodes can not be tested with ceph 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
|
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
|
if request.node.get_closest_marker("from_luminous") and ceph_release_num[ceph_stable_release] < ceph_release_num['luminous']: # noqa E501
|
||||||
|
|
|
@ -26,5 +26,5 @@ ceph-nfs0
|
||||||
[rbdmirrors]
|
[rbdmirrors]
|
||||||
ceph-rbd-mirror0
|
ceph-rbd-mirror0
|
||||||
|
|
||||||
[iscsi-gws]
|
[iscsigws]
|
||||||
ceph-iscsi-gw0 ceph_repository="dev"
|
ceph-iscsi-gw0 ceph_repository="dev"
|
||||||
|
|
Loading…
Reference in New Issue