-
Notifications
You must be signed in to change notification settings - Fork 261
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
remove network-scripts-openvswitch 2.11 package before upgrading packages #413
Conversation
Why can't we use the |
when using yum module dependencies are removed as well (such as vdsm), which are needed. I didn't see a parameter which allows to erase the package and not its dependencies, so I used shell instead |
Well, nothing should depend on this package, that's why we are removing it. Aren't the facts populated before this step? I can see it being called before |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After a discussion let's leave it this way. Thanks
packaging/ansible-runner-service-project/project/roles/ovirt-host-upgrade/tasks/main.yml
Show resolved
Hide resolved
packaging/ansible-runner-service-project/project/roles/ovirt-host-upgrade/tasks/main.yml
Show resolved
Hide resolved
@@ -36,6 +36,10 @@ | |||
- name: Remove network-scripts-openvswitch 2.11 package | |||
shell: rpm -e --nodeps network-scripts-openvswitch2.11 | |||
ignore_errors: true | |||
when: | |||
- el_ver|int >= 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd put there only EL8, because EL7 we don't upgrade and EL9 will already have 2.15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=2090670