diff --git a/changelogs/fragments/624-cluster_upgrade-add-default-random-uuid-to-engine_correlation_id.yml b/changelogs/fragments/624-cluster_upgrade-add-default-random-uuid-to-engine_correlation_id.yml new file mode 100644 index 00000000..77b5aceb --- /dev/null +++ b/changelogs/fragments/624-cluster_upgrade-add-default-random-uuid-to-engine_correlation_id.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - cluster_upgrade - Add default random uuid to engine_correlation_id (https://github.com/oVirt/ovirt-ansible-collection/pull/624). diff --git a/roles/cluster_upgrade/README.md b/roles/cluster_upgrade/README.md index 8a17c050..9b30a839 100644 --- a/roles/cluster_upgrade/README.md +++ b/roles/cluster_upgrade/README.md @@ -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 | Randomly generated UUID | The correlation id with which be the role run. | Example Playbook ---------------- diff --git a/roles/cluster_upgrade/defaults/main.yml b/roles/cluster_upgrade/defaults/main.yml index 25c50b80..7423f262 100644 --- a/roles/cluster_upgrade/defaults/main.yml +++ b/roles/cluster_upgrade/defaults/main.yml @@ -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 }}"