Skip to content

Commit fbf1e4f

Browse files
xbezdickopenshift-merge-bot[bot]
authored andcommitted
[adoption_osp_deploy] Enable network service on OSP17
OSP17 requires network service running as ifcfg is used as backend for os-net-config. Without it nodes loose network connection on reboot or ifcfg to nmstate migration. Resolves: OSPRH-31307 Signed-off-by: Lukas Bezdicka <lbezdick@redhat.com>
1 parent 97f346f commit fbf1e4f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

roles/adoption_osp_deploy/tasks/prepare_overcloud.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,17 @@
340340
loop_control:
341341
loop_var: overcloud_vm
342342

343+
- name: Enable and start network service for overcloud nodes
344+
become: true
345+
delegate_to: "{{ overcloud_vm }}"
346+
ansible.builtin.systemd:
347+
name: network
348+
enabled: true
349+
state: started
350+
loop: "{{ _tripleo_nodes_stack[_overcloud_name] }}"
351+
loop_control:
352+
loop_var: overcloud_vm
353+
343354
- name: Slurp undercloud public key for ssh access to overcloud nodes
344355
delegate_to: "osp-undercloud-0"
345356
ansible.builtin.slurp:

0 commit comments

Comments
 (0)