Skip to content

Commit 6bf1dbb

Browse files
authored
Fix site.yml hanging on initial deploy (#648)
* revert PR 635 - prevents site.yml contining on first boot * bump CI image
1 parent 9ca2d7f commit 6bf1dbb

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

ansible/roles/compute_init/files/compute-init.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@
6262
group: root
6363
mode: u=rX,g=rwX,o=
6464

65-
- name: Wait for NFS to reachable (checks host network up)
66-
ansible.builtin.wait_for:
67-
port: 2049
68-
host: '{{ server_node_ip }}'
69-
timeout: 120
70-
7165
- name: Mount /mnt/cluster
7266
mount:
7367
path: /mnt/cluster
@@ -76,6 +70,9 @@
7670
opts: ro,sync
7771
state: mounted
7872
register: _mount_mnt_cluster
73+
ignore_errors: true
74+
# exits from playbook if this failed below, allowing ansible-init to
75+
# finish, which allows site.yml to continue on initial deploy
7976

8077
- block:
8178
- name: Report skipping initialization if cannot mount nfs
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cluster_image": {
3-
"RL8": "openhpc-RL8-250408-0812-c3b68b9c",
4-
"RL9": "openhpc-RL9-250408-0813-c3b68b9c"
3+
"RL8": "openhpc-RL8-250409-0953-f5aefb1e",
4+
"RL9": "openhpc-RL9-250409-0953-f5aefb1e"
55
}
66
}

0 commit comments

Comments
 (0)