Upgrade guide for node from 4.2->4.3

Hi! Thanks for the new release. I managed to upgrade the engine from 4.2->4.3 with old upgrade instructions but I'm having problems with 4.2 node upgrades. Adding repos with ovirt-release43 doesn't allow node upgrade. Lot's of missing dependencies. Dpdk depencies could be solved with adding Centos Extras, but what repo you should use for openscap, openscap-utils and scap-security-guide packages? -Juhani

Il giorno lun 4 feb 2019 alle ore 16:35 Juhani Rautiainen < juhani.rautiainen@gmail.com> ha scritto:
Hi!
Thanks for the new release. I managed to upgrade the engine from 4.2->4.3 with old upgrade instructions but I'm having problems with 4.2 node upgrades. Adding repos with ovirt-release43 doesn't allow node upgrade. Lot's of missing dependencies. Dpdk depencies could be solved with adding Centos Extras, but what repo you should use for openscap, openscap-utils and scap-security-guide packages?
Procedure should be: yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm yum update ovirt-node-ng-image-update In theory "yum update" should show only ovirt-node-ng-image-update as update, looks like we have a bug there. As an alternative, yum update https://resources.ovirt.org/pub/ovirt-4.3/rpm/el7/noarch/ovirt-node-ng-image... should also work since the update includes ovirt-reelease43 too. Yuval, Nir, can you please investigate on this issue?
-Juhani _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VG7MIXCONKHP35...
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig>

Il giorno lun 4 feb 2019 alle ore 16:50 Sandro Bonazzola < sbonazzo@redhat.com> ha scritto:
Il giorno lun 4 feb 2019 alle ore 16:35 Juhani Rautiainen < juhani.rautiainen@gmail.com> ha scritto:
Hi!
Thanks for the new release. I managed to upgrade the engine from 4.2->4.3 with old upgrade instructions but I'm having problems with 4.2 node upgrades. Adding repos with ovirt-release43 doesn't allow node upgrade. Lot's of missing dependencies. Dpdk depencies could be solved with adding Centos Extras, but what repo you should use for openscap, openscap-utils and scap-security-guide packages?
Procedure should be: yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm yum update ovirt-node-ng-image-update
In theory "yum update" should show only ovirt-node-ng-image-update as update, looks like we have a bug there.
As an alternative, yum update https://resources.ovirt.org/pub/ovirt-4.3/rpm/el7/noarch/ovirt-node-ng-image... should also work since the update includes ovirt-reelease43 too.
Yuval, Nir, can you please investigate on this issue?
Investigated a bit. On a clean 4.2.8 allo repos in ovirt* are enabled but with the following directive: # imgbased: set-enabled includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance installing ovirt-release43.rpm <https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm> doesn't apply above directives because they're added there by ovirt-release-host-node post installation script. So, if you install ovirt-release43, then you need to: yum update ovirt-release-host-node; yum update; to finish the node upgrade. So the most clean way to upgrade from 4.2.8 to 4.3 is "yum install https://resources.ovirt.org/pub/ovirt-4.3/rpm/el7/noarch/ovirt-node-ng-image... " this leave ovirt-4.2 repo files in /etc/yum.repos.d ; after rebooting into 4.3 layer it's safe to remove them.
-Juhani _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VG7MIXCONKHP35...
--
SANDRO BONAZZOLA
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <https://red.ht/sig>
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig>

On Mon, Feb 4, 2019 at 8:02 PM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Investigated a bit. On a clean 4.2.8 allo repos in ovirt* are enabled but with the following directive: # imgbased: set-enabled includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance
installing ovirt-release43.rpm <https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm> doesn't apply above directives because they're added there by ovirt-release-host-node post installation script.
So, if you install ovirt-release43, then you need to: yum update ovirt-release-host-node; yum update;
to finish the node upgrade.
So the most clean way to upgrade from 4.2.8 to 4.3 is "yum install https://resources.ovirt.org/pub/ovirt-4.3/rpm/el7/noarch/ovirt-node-ng-image... "
this leave ovirt-4.2 repo files in /etc/yum.repos.d ; after rebooting into 4.3 layer it's safe to remove them
Thanks. I managed to upgrade the nodes. Both of those instructions worked
and nodes are now in 4.3 level. -Juhani

Juhani, how did you upgrade from 4.2 to 4.3? You followed one of this guides? https://www.ovirt.org/documentation/upgrade-guide/upgrade-guide.html <https://www.ovirt.org/documentation/upgrade-guide/upgrade-guide.html> I’m looking for the correct way to do the upgrade. Thanks,
On 4 Feb 2019, at 13:34, Juhani Rautiainen <juhani.rautiainen@gmail.com> wrote:
Hi!
Thanks for the new release. I managed to upgrade the engine from 4.2->4.3 with old upgrade instructions but I'm having problems with 4.2 node upgrades. Adding repos with ovirt-release43 doesn't allow node upgrade. Lot's of missing dependencies. Dpdk depencies could be solved with adding Centos Extras, but what repo you should use for openscap, openscap-utils and scap-security-guide packages?
-Juhani _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VG7MIXCONKHP35...

On Mon, Feb 4, 2019 at 5:58 PM Vinícius Ferrão <ferrao@versatushpc.com.br> wrote:
Juhani, how did you upgrade from 4.2 to 4.3?
You followed one of this guides? https://www.ovirt.org/documentation/upgrade-guide/upgrade-guide.html
On engine (self-hosted) I first upgraded to latest 4.2 (4.2.8) with "Update the oVirt Engine"-chapter. I also rebooted the engine because there was kernel upgrade in yum updates (enable global HA before this). After that I installed oVirt 4.3 repos with yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm Without that I couldn't find the 4.3 packages with engine-upgrade-check . This step was not in the instructions but it seemed the logical next step. After that I just did same steps as above. When I could confirm that 4.3 engine was running I removed 4.2 repos with yum remove ovirt-release42
I’m looking for the correct way to do the upgrade.
Thanks,
Hopefully this helps, Juhani
participants (3)
-
Juhani Rautiainen
-
Sandro Bonazzola
-
Vinícius Ferrão