Skip to content

Commit

Permalink
Backport: cluster_upgrade: Fix the engine_correlation_id location (#637
Browse files Browse the repository at this point in the history
…) (#638)

* cluster_upgrade: Fix the engine_correlation_id location (#637)

Signed-off-by: Martin Nečas <[email protected]>

Signed-off-by: Martin Nečas <[email protected]>

* Add python38 to el8stream build

Signed-off-by: Martin Nečas <[email protected]>

Signed-off-by: Martin Nečas <[email protected]>
  • Loading branch information
mnecas authored Nov 28, 2022
1 parent 92c095c commit d370299
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
container:
image: quay.io/ovirt/buildcontainer:${{ matrix.container-name }}
steps:
- name: Install python3.8
if: ${{ matrix.shortcut == 'cs8' }}
run: yum install python38 -y

- name: Install python3.8 modules
run: |
dnf install -y python38-devel python38-pip
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- cluster_upgrade - Fix the engine_correlation_id location (https://github.com/oVirt/ovirt-ansible-collection/pull/637).
1 change: 0 additions & 1 deletion roles/cluster_upgrade/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ 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 }}"
1 change: 1 addition & 0 deletions roles/cluster_upgrade/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
ansible.builtin.set_fact:
stop_non_migratable_vms: "{{ stop_non_migratable_vms }}"
provided_token: "{{ engine_token | default(lookup('env','OVIRT_TOKEN')) | default('') }}"
engine_correlation_id: "{{ 99999999 | random | to_uuid }}"

- name: Main block
block:
Expand Down

0 comments on commit d370299

Please sign in to comment.