-
Notifications
You must be signed in to change notification settings - Fork 43
remove version lock from the engine #318
remove version lock from the engine #318
Conversation
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 would have considered calling rm on the versionlock list file instead of calling yum
ci test please |
why is done in the ansible role and not inside engine-backup when doing the restore? How is it a unique problem to this role and not a general problem of restoring(upgrading) from older release? |
agreed, it better to be part of the |
f9a5c83
to
ea97f94
Compare
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.
oh, sorry, maybe I wasn't clear in the last comment. I meant to fix this in the restore script itself, i.e. in https://github.com/oVirt/ovirt-engine/blob/master/packaging/bin/engine-backup.sh.in
you will face the same problem when upgrading manually without any ansible role involved
@michalskrivanek, yes that what I was referring to. see didi's comment on that: |
ea97f94
to
834bccd
Compare
92d8837
to
8fd0fe4
Compare
removing the file /etc/dnf/plugins/versionlock.list causes this error when running engine-setup:
|
8fd0fe4
to
fb5a0a8
Compare
@eslutsky @sandrobonazzola but Didi's comment suggests a different path - to stop updating the package, i.e. invoke engine-setup with --offline. That does solve the problem without touching/removing any files anywhere. |
in this case we are invoking engine-setup role [0] [0]
|
yep, so that's the only change needed. any package upgrade/installation need to happen before restore and engine-setup. then everything's going to work nicely |
there are cases when |
engine-setup role yes, but not the hosted-engine setup. the step you're fixing is part of the installation originating from appliance, so you always have ovirt-engine installed. It just may not be up to date (along with other outdated packages, so "dnf upgrade" makes sense to do in earlier step anyway |
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1827135 Signed-off-by: Evgeny Slutsky <eslutsky@redhat.com>
fb5a0a8
to
e6fdb15
Compare
the patch removes the yam version lock , after the engine recovery and before the engine-setup role execution.
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1827135
Signed-off-by: Evgeny Slutsky eslutsky@redhat.com