]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/orch/cephadm/smb: add new smb.workunit tasks to some AD tests
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 29 Sep 2025 18:34:56 +0000 (14:34 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 9 Dec 2025 21:32:39 +0000 (16:32 -0500)
These tests will automatically use a user account from the known
AD environment.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
qa/suites/orch/cephadm/smb/tasks/deploy_smb_mgr_domain.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_mgr_res_dom.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_proxy_disabled.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_proxy_enabled.yaml

index 985eb4cf4f8aa8b482462867a2034494ec41cd1b..ef084ae55a1b699e3eb80d66cdeb68a18bbc0b63 100644 (file)
@@ -53,6 +53,17 @@ tasks:
       - "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share1 -c ls"
       - "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share2 -c ls"
 
+- smb.workunit:
+    admin_node: host.a
+    smb_nodes: [host.a]
+    smb_shares:
+      - share1
+      - share2
+    timeout: 1h
+    clients:
+      client.0:
+        - [default]
+
 - cephadm.shell:
     host.a:
       - cmd: ceph smb share rm modtest1 share2
index 36f15575ee9b4558e4de2844dcb3683e0df6fe6f..077b3e7a704bb397c791d8926d4deba583e73033 100644 (file)
@@ -82,6 +82,17 @@ tasks:
       - "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share1 -c ls"
       - "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share2 -c ls"
 
+- smb.workunit:
+    admin_node: host.a
+    smb_nodes: [host.a]
+    smb_shares:
+      - share1
+      - share2
+    timeout: 1h
+    clients:
+      client.0:
+        - [default]
+
 - cephadm.shell:
     host.a:
       - cmd: ceph smb apply -i -
index a7253328c29b872cf024c3aa0649da0dce302455..a633cccf4e01eb0984d8c64475070b4213d8671c 100644 (file)
@@ -84,6 +84,17 @@ tasks:
       - "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share1 -c ls"
       - "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share2 -c ls"
 
+- smb.workunit:
+    admin_node: host.a
+    smb_nodes: [host.a]
+    smb_shares:
+      - share1
+      - share2
+    timeout: 1h
+    clients:
+      client.0:
+        - [default]
+
 - exec:
     host.a:
       - |
index 05001b67f684b0738d417e2d5d8a5d7a10e66745..03ba1cd48fc7085fda29b564e8dfa7b7919259ac 100644 (file)
@@ -84,6 +84,17 @@ tasks:
       - "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share1 -c ls"
       - "{{ctx.samba_client_container_cmd|join(' ')}} smbclient -U DOMAIN1\\\\ckent%1115Rose. //{{'host.a'|role_to_remote|attr('ip_address')}}/share2 -c ls"
 
+- smb.workunit:
+    admin_node: host.a
+    smb_nodes: [host.a]
+    smb_shares:
+      - share1
+      - share2
+    timeout: 1h
+    clients:
+      client.0:
+        - [default]
+
 - exec:
     host.a:
       - |