Hi Gianluca,
I had the same problem.
The issue is with the updated ansible-core package (I am
running ansible-core-2.16.1-1.el8.x86_64) -- they have removed the
"include" directive in 2.16 (was deprecated already), and the upgrade
playbook is now failing.
I have modified the playbook
(/usr/share/ovirt-engine/ansible-runner-service-project/project/ovirt-host-upgrade.yml)
by replacing the "include" directive with "import_tasks" -- not sure
if it
is the proper solution, but it worked for me.
--- ovirt-host-upgrade.yml.original 2023-12-27 18:40:10.425430841 +0000
+++ ovirt-host-upgrade.yml 2023-12-27 18:41:08.283251148 +0000
@@ -10,7 +10,7 @@
pre_tasks:
- include_vars: ovirt_host_upgrade_vars.yml
- - include: ovirt-host-yum-conf.yml
+ - import_tasks: ovirt-host-yum-conf.yml
- block:
# Check if certificates need re-enrollment:
@@ -74,5 +74,5 @@
- name: ovirt-host-deploy-vnc-certificates
post_tasks:
- - include: ovirt-host-remove-yum-conf.yml
- - include: ovirt-host-reconfigure-ovn.yml
+ - import_tasks: ovirt-host-remove-yum-conf.yml
+ - import_tasks: ovirt-host-reconfigure-ovn.yml
Let me know if this worked for you as well
Regards,
Marco
On Thu, 4 Jan 2024 at 11:22, Gianluca Amato <gianluca.amato.74(a)gmail.com>
wrote:
Hello,
I am trying to update my oVirt installation to 4.5.5, but while I had no
problems upgrading the self-hosted ovirt-engine, I am not able to upgrade
any node (running oVirt Node NG 4.5.4 or older). I just click Upgrade in
the oVirt Manager, and I get a bunch of events telling me that everything
was OK and the upgrade succeeded, but in reality nothing happened on the
nodes: the result of "nodectl info" before and after the upgrade process
is exactly the same.
I gave a look to the engine.log and to the relevant
ovirt-host-mgmt-ansible log in the ovirt-engine VM, but I cannot find the
problem. Do any of you have any ideas ? I am attaching some relevant files.
Note that the upgrade consistently fails in the same way on other nodes,
which have other versions of oVirt Node NG (always in the 4.5 family).
Thanks for your help
--gianluca
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OVJVQ5CD6J6...