Sigh. Put the reboot in a block.
Podman gating tests failed: ... back_again.changed): 'dict object' has no attribute 'changed' Previous error (ignored) was a timeout in the reboot step. I have no idea how to fix this, so let's try putting the reboot and wait steps into a 'block' section and removing the '.changed'. Tested with 1minutetip. Seems to work, but the reboot was quick so it didn't trigger the same code. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
26947b7ed2
commit
5b50b233ab
@ -28,18 +28,16 @@
|
|||||||
when: want_cgroups == 1
|
when: want_cgroups == 1
|
||||||
|
|
||||||
# If want != have, reboot
|
# If want != have, reboot
|
||||||
- name: reboot
|
- name: reboot and wait
|
||||||
|
block:
|
||||||
|
- name: reboot
|
||||||
reboot:
|
reboot:
|
||||||
reboot_timeout: 900
|
reboot_timeout: 900
|
||||||
register: back_again
|
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
when: want_cgroups|int != current_cgroups|int
|
- name: wait and reconnect
|
||||||
|
|
||||||
- name: wait and reconnect
|
|
||||||
wait_for_connection:
|
wait_for_connection:
|
||||||
timeout: 900
|
timeout: 900
|
||||||
register: back_again2
|
when: want_cgroups|int != current_cgroups|int
|
||||||
when: want_cgroups|int != current_cgroups|int and not back_again.changed
|
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
expected_fstype:
|
expected_fstype:
|
||||||
|
Loading…
Reference in New Issue
Block a user