Engine update failing 4.5.1.3-1 -> 4.5.2-1

Hi there, I'm trying to update my engine version so I can mitigate a bug which was in the previous update and is failing. The log file is proving to be very difficult to pinpoint the cause of the error however I can provide it. Wondering if anyone else has had this issue and if there's a way to fix it while preserving the VMs I have on this single host setup. [ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [OK]: [ INFO ] Hosted Engine HA is in Global Maintenance mode. Setup version: 4.5.2-1.el8 Engine version: 4.5.1.3-1.el8 [ ERROR ] Failed to execute stage 'Setup validation': Setup and (updated) Engine versions must match [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20220728194403-9ev4xe.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20220728194429-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed

Il giorno gio 28 lug 2022 alle ore 21:51 <xavierl@rogers.com> ha scritto:
Hi there,
I'm trying to update my engine version so I can mitigate a bug which was in the previous update and is failing. The log file is proving to be very difficult to pinpoint the cause of the error however I can provide it. Wondering if anyone else has had this issue and if there's a way to fix it while preserving the VMs I have on this single host setup.
[ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [OK]: [ INFO ] Hosted Engine HA is in Global Maintenance mode. Setup version: 4.5.2-1.el8 Engine version: 4.5.1.3-1.el8 [ ERROR ] Failed to execute stage 'Setup validation': Setup and (updated) Engine versions must match
Did you run `dnf update ovirt\*setup\*` as per https://ovirt.org/documentation/upgrade_guide/index.html#Updating_the_Red_Ha... ? -- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://www.redhat.com/> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.*

On Fri, Jul 29, 2022 at 2:04 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Il giorno gio 28 lug 2022 alle ore 21:51 <xavierl@rogers.com> ha scritto:
Hi there,
I'm trying to update my engine version so I can mitigate a bug which was in the previous update and is failing. The log file is proving to be very difficult to pinpoint the cause of the error however I can provide it. Wondering if anyone else has had this issue and if there's a way to fix it while preserving the VMs I have on this single host setup.
[ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [OK]: [ INFO ] Hosted Engine HA is in Global Maintenance mode. Setup version: 4.5.2-1.el8 Engine version: 4.5.1.3-1.el8 [ ERROR ] Failed to execute stage 'Setup validation': Setup and (updated) Engine versions must match
Did you run `dnf update ovirt\*setup\*` as per https://ovirt.org/documentation/upgrade_guide/index.html#Updating_the_Red_Ha... ?
Xavier, I'm confused, 4.5.2-1.el8 has not gone GA into the https://resources.ovirt.org/pub/ovirt-4.5/rpm/el8/noarch/ repository and all of the 4.5.2 packages are in https://resources.ovirt.org/pub/ovirt-4.5-pre/rpm/el8/noarch/ . Did we add or alter the file /etc/yum.repos.d/CentOS-oVirt-4.5.repo and add the "4.5-pre" repo and enable *ALL* of the packages from there for your upgrade? Thanks in advance for clarification.

I haven't altered the repo as of yet, essentially I have only ran 'dnf update ovirt\*setup\*' & engine-setup. Should I add the 4.5-pre repo? I appreciate you taking the time to look into my issue, Xavier

I went ahead and added the repo, updated the setup, then removed it which seems to have fixed the issue I was encountering before. However, I have encountered a second error when trying to install the update: [ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute. I have explicitly told it not to renew the PKI cert however it still tries anyway let me know if a log file is needed. Cheers, Xavier

Yes I have, I was following that guide and was surprised that the update was not working as I have followed it in the past and there were no issues. Thank you very much for your reply, Xavier
participants (3)
-
Sandro Bonazzola
-
Scott Worthington
-
xavierl@rogers.com