Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update variables to make host upgrade work with rhel7 #567

Merged
merged 3 commits into from
Aug 3, 2022

Conversation

dangel101
Copy link
Member

@dangel101
Copy link
Member Author

/ost

ovirt_openvswitch_pre: "{{ ansible_facts.packages['openvswitch'] | first }}"
when:
- ansible_facts.packages['openvswitch'] is defined

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not good, OVS/OVN upgrade from 2.11 to 2.15 should happen only on EL8. On EL7 we should stay on OVS/OVN 2.11 forever (no longer supported since 4.5.0) and on EL9 we have 2.15 from beginning.

So we should check for el_ver | int == 8 in blocks dealing with 2.11 -> 2.15 upgrade

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could have been >= because there is no chance that the pre version will be 2.11 on el9, but this will work as well.

@dangel101
Copy link
Member Author

/ost

@mwperina mwperina merged commit e8f6361 into oVirt:master Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants