Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sap_storage_setup: fix: throttle NFS mount tasks #462

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand Down Expand Up @@ -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
Expand All @@ -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('^/', '') }}"
Expand Down