From f7e8f66e2a1fffef70ff6615a1dde4a1454f042f Mon Sep 17 00:00:00 2001 From: Janine Fuchs Date: Thu, 21 Sep 2023 10:31:36 +0200 Subject: [PATCH] sap_storage_setup: fix: throttle NFS mount tasks --- .../tasks/generic_tasks/configure_nfs_filesystems.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/sap_storage_setup/tasks/generic_tasks/configure_nfs_filesystems.yml b/roles/sap_storage_setup/tasks/generic_tasks/configure_nfs_filesystems.yml index 622a27fa5..303174207 100644 --- a/roles/sap_storage_setup/tasks/generic_tasks/configure_nfs_filesystems.yml +++ b/roles/sap_storage_setup/tasks/generic_tasks/configure_nfs_filesystems.yml @@ -113,6 +113,7 @@ register: sap_storage_setup_tmpnfs_register - name: SAP Storage Setup - ({{ nfs_item.name }}) Attach NFS host root for subdirectory verification/creation + throttle: 1 # avoid NFS request flooding and silent timeout failures (observed on MS Azure Files) ansible.posix.mount: path: "{{ sap_storage_setup_tmpnfs_register.path }}" src: "{{ attach_item.nfs_server | default(sap_storage_setup_nfs_server) }}" @@ -154,6 +155,7 @@ always: - name: SAP Storage Setup - ({{ nfs_item.name }}) Remove temporary NFS mount + throttle: 1 # avoid NFS request flooding and silent timeout failures (observed on MS Azure Files) ansible.posix.mount: path: "{{ sap_storage_setup_tmpnfs_register.path }}" state: absent @@ -175,6 +177,7 @@ # ##### - name: SAP Storage Setup - ({{ nfs_item.name }}) Mount NFS + throttle: 1 # avoid NFS request flooding and silent timeout failures (observed on MS Azure Files) ansible.posix.mount: path: "{{ mount_item.mountpoint }}" src: "{{ nfs_server }}/{{ mount_item.mount_src | regex_replace('^/', '') }}"