Skip to content

Commit

Permalink
Customizable verification command for control plane rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
jistr committed Mar 28, 2024
1 parent f13e30e commit 1052296
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/roles/control_plane_rollback/defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
control_plane_rollback_verify_command: |
$CONTROLLER1_SSH OS_CLOUD=standalone openstack user list
3 changes: 2 additions & 1 deletion tests/roles/control_plane_rollback/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@
no_log: "{{ use_no_log }}"
ansible.builtin.shell: |
{{ shell_header }}
ssh -i {{ edpm_privatekey_path }} root@{{ edpm_node_ip }} OS_CLOUD=standalone openstack user list
{{ control_plane_rollback_shell_vars }}
{{ control_plane_rollback_verify_command }}
register: source_control_plane_responding_result
until: source_control_plane_responding_result is success
retries: 60
Expand Down

0 comments on commit 1052296

Please sign in to comment.