You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ss...@apache.org on 2026/02/27 17:18:29 UTC
(ozone-installer) 01/02: Do a timeout for unarchive after 10 minutes
This is an automated email from the ASF dual-hosted git repository.
ssulav pushed a commit to branch HDDS-14720
in repository https://gitbox.apache.org/repos/asf/ozone-installer.git
commit 80e242f7eaf5830cfc0b3bb3fd75171bfd60f9a4
Author: Soumitra Sulav <ss...@cloudera.com>
AuthorDate: Fri Feb 27 22:07:55 2026 +0530
Do a timeout for unarchive after 10 minutes
---
inventories/dev/group_vars/all.yml | 2 +-
playbooks/cluster.yml | 4 ++--
roles/ozone_fetch/tasks/main.yml | 4 ++++
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/inventories/dev/group_vars/all.yml b/inventories/dev/group_vars/all.yml
index 31f7b9e..ac727e6 100644
--- a/inventories/dev/group_vars/all.yml
+++ b/inventories/dev/group_vars/all.yml
@@ -42,7 +42,7 @@ use_sudo: true
start_after_install: true
ozone_opts: "-Xmx1024m -XX:ParallelGCThreads=8"
service_command_timeout: 300 # seconds for service init/start commands
-ansible_remote_tmp: "/tmp/.ansible-{{ ansible_user_id }}"
+ansible_remote_tmp: "/tmp/.ansible-tmp"
# SSH bootstrap
allow_cluster_ssh_key_deploy: false
diff --git a/playbooks/cluster.yml b/playbooks/cluster.yml
index 1420f1b..ed05af7 100644
--- a/playbooks/cluster.yml
+++ b/playbooks/cluster.yml
@@ -44,10 +44,10 @@
- name: "Pre-install: Ensure Ansible remote tmp exists"
file:
- path: "{{ (ansible_env.TMPDIR | default('/tmp')) ~ '/.ansible-' ~ ansible_user_id }}"
+ path: "{{ (ansible_env.TMPDIR | default('/tmp')) ~ '/.ansible-' ~ (ansible_user_id | default(ansible_user) | default('ansible')) }}"
state: directory
mode: "0700"
- owner: "{{ ansible_user_id }}"
+ owner: "{{ ansible_user_id | default(ansible_user) | default('ansible') }}"
roles:
- role: ozone_stop
diff --git a/roles/ozone_fetch/tasks/main.yml b/roles/ozone_fetch/tasks/main.yml
index b4f2b24..bb85eaf 100644
--- a/roles/ozone_fetch/tasks/main.yml
+++ b/roles/ozone_fetch/tasks/main.yml
@@ -60,6 +60,8 @@
group: "{{ service_group }}"
when: _src_mode != 'local'
become: true
+ async: 300 # allow up to 5 minutes per host
+ poll: 30 # show progress every 30s so it doesn't appear hung
- name: "Upstream | Link current"
file:
@@ -106,6 +108,8 @@
keep_newer: true
when: _src_mode == 'local'
become: true
+ async: 300 # allow up to 5 minutes per host
+ poll: 30 # show progress every 30s so it doesn't appear hung
- name: "Local | Link current"
file:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org