Skip to content

Commit

Permalink
cluster_upgrade: Add default random uuid to engine_correlation_id (oV…
Browse files Browse the repository at this point in the history
…irt#624)

Signed-off-by: Martin Nečas <necas.marty@gmail.com>

Signed-off-by: Martin Nečas <necas.marty@gmail.com>
  • Loading branch information
mnecas authored and mwperina committed Nov 15, 2022
1 parent 7bc8a5c commit f00dce1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- cluster_upgrade - Add default random uuid to engine_correlation_id (https://github.com/oVirt/ovirt-ansible-collection/pull/624).
2 changes: 1 addition & 1 deletion roles/cluster_upgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Role Variables
| healing_in_progress_checks | 6 | Maximum number of attempts to check if gluster healing is still in progress. |
| healing_in_progress_check_delay | 300 | The delay in seconds between each attempt to check if gluster healing is still in progress. |
| wait_to_finish_healing | 5 | Delay in minutes to wait to finish gluster healing process after successful host upgrade. |
| engine_correlation_id | UNDEF | The correlation id with which be the role run. |
| engine_correlation_id | <i>Randomly generated UUID</i> | The correlation id with which be the role run. |

Example Playbook
----------------
Expand Down
1 change: 1 addition & 0 deletions roles/cluster_upgrade/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ pinned_vms_names: []
healing_in_progress_checks: 6
healing_in_progress_check_delay: 300
wait_to_finish_healing: 5
engine_correlation_id: "{{ 99999999 | random | to_uuid }}"

0 comments on commit f00dce1

Please sign in to comment.