[ovirt-users] Upgrade from 3.6 to 4.0
Gianluca Cecchi
gianluca.cecchi at gmail.com
Tue Jul 5 08:25:43 UTC 2016
On Mon, Jul 4, 2016 at 1:56 PM, Arman Khalatyan <arm2arm at gmail.com> wrote:
> about a n hour ago I just tested to setup ovirt 3.6, then upgrade it, 2
> nodes: host and ovirt on separated machines.
> very smoothly upgraded, first engine upgrade then host upgrade.
> The only trouble on hosts is that some pacages are still reffering to
> ovirt-3.6 repository even ovirt-4.0 is there.
> it is simple to fix: yum list installed| grep ovirt-3.6 then removing all
> possible packages
> next reinstall host from GUI.
> Thats it.
>
>
>
>
For the repo part I posted a question for clarification:
http://lists.ovirt.org/pipermail/users/2016-July/040910.html
see there for follow ups
In my case for single host environment with both host and hosted engine
(deployed as appliance) on CentOS 7.2 and storage domains on NFS served by
the host itself, this is the flow I followed to bring a 3.6.5 environment
to 4.0.
Problem still here is inability to upgrade the only existing cluster to 4.0
and then the datacenter to 4.0
Currently not possible due to :
https://bugzilla.redhat.com/show_bug.cgi?id=1351533
To update I kept valid what explained in the thread started here:
http://lists.ovirt.org/pipermail/users/2016-June/040649.html
yum update doesn't propose ovirt 4.0 packages
So I installed ovirt 4.0 repo (as in clean install description) and
disabled 3.6 ones.
yum update "ovirt-engine-setup*"
gives
Dependencies Resolved
===============================================================================================================
Package Arch Version
Repository Size
===============================================================================================================
Updating:
ovirt-engine-setup noarch
4.0.0.6-1.el7.centos ovirt-4.0 8.6 k
ovirt-engine-setup-base noarch
4.0.0.6-1.el7.centos ovirt-4.0 95 k
ovirt-engine-setup-plugin-ovirt-engine noarch
4.0.0.6-1.el7.centos ovirt-4.0 161 k
ovirt-engine-setup-plugin-ovirt-engine-common noarch
4.0.0.6-1.el7.centos ovirt-4.0 80 k
ovirt-engine-setup-plugin-vmconsole-proxy-helper noarch
4.0.0.6-1.el7.centos ovirt-4.0 27 k
ovirt-engine-setup-plugin-websocket-proxy noarch
4.0.0.6-1.el7.centos ovirt-4.0 26 k
Installing for dependencies:
antlr-tool noarch 2.7.7-30.el7
base 357 k
apache-commons-collections noarch 3.2.1-22.el7_2
updates 509 k
bea-stax noarch 1.2.0-9.el7
base 176 k
dom4j noarch 1.6.1-20.el7
base 277 k
hsqldb noarch
1:1.8.1.3-13.el7 base 950 k
isorelax noarch
1:0-0.15.release20050331.el7 base 75 k
jaxen noarch 1.1.3-11.el7
base 204 k
jdom noarch 1.1.3-6.el7
base 174 k
msv-msv noarch
1:2013.5.1-6.el7 base 3.7 M
msv-xsdlib noarch
1:2013.5.1-6.el7 base 1.1 M
ovirt-engine-dwh noarch
4.0.0-2.git38f5db5.el7.centos ovirt-4.0 2.1 M
ovirt-engine-dwh-setup noarch
4.0.0-2.git38f5db5.el7.centos ovirt-4.0 69 k
postgresql-jdbc noarch 9.2.1002-5.el7
base 447 k
relaxngDatatype noarch 1.0-11.el7
base 15 k
ws-jaxme noarch 0.5.2-10.el7
base 1.1 M
xpp3 noarch 1.1.3.8-11.el7
base 336 k
Updating for dependencies:
otopi noarch
1.5.0-1.el7.centos ovirt-4.0 160 k
otopi-java noarch
1.5.0-1.el7.centos ovirt-4.0 25 k
ovirt-engine-lib noarch
4.0.0.6-1.el7.centos ovirt-4.0 28 k
Transaction Summary
===============================================================================================================
Install ( 16 Dependent packages)
Upgrade 6 Packages (+ 3 Dependent packages)
engine-setup brings in the DWH database that I didn't have in 3.6 and now
seems to be required (probably for dashboard?).
[root at ractorshe ~]# engine-setup
...
--== DATABASE CONFIGURATION ==--
Where is the DWH database located? (Local, Remote) [Local]:
Setup can configure the local postgresql server automatically for
the DWH to run. This may conflict with existing applications.
Would you like Setup to automatically configure postgresql and
create DWH database, or prefer to perform that manually? (Automatic,
Manual) [Automatic]:
...
DWH database secured connection : False
DWH database host : localhost
DWH database user name : ovirt_engine_history
DWH database name : ovirt_engine_history
DWH database port : 5432
DWH database host name validation : False
...
DWH installation : True
Configure local DWH database : True
...
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ INFO ] Execution of setup completed successfully
[root at ractorshe ~]#
try connect admin portal --> ok (btw: no problems with certificates)
try user portal --> ok
shutdown engine vm --> ok
exit global maintenance --> ok engine vm starts automatically and I'm able
to connect to portals
again global maintenance, then
on engine vm
yum update
Dependencies Resolved
===============================================================================================================
Package Arch Version
Repository Size
===============================================================================================================
Installing:
kernel x86_64 3.10.0-327.22.2.el7
updates 33 M
python2-paramiko noarch 1.16.1-1.el7
epel 257 k
replacing python-paramiko.noarch 1.15.1-1.el7
Updating:
NetworkManager x86_64 1:1.0.6-30.el7_2
updates 2.0 M
NetworkManager-glib x86_64 1:1.0.6-30.el7_2
updates 385 k
NetworkManager-libnm x86_64 1:1.0.6-30.el7_2
updates 498 k
NetworkManager-team x86_64 1:1.0.6-30.el7_2
updates 132 k
NetworkManager-tui x86_64 1:1.0.6-30.el7_2
updates 212 k
chkconfig x86_64 1.3.61-5.el7_2.1
updates 173 k
device-mapper x86_64 7:1.02.107-5.el7_2.5
updates 252 k
device-mapper-event x86_64 7:1.02.107-5.el7_2.5
updates 167 k
device-mapper-event-libs x86_64 7:1.02.107-5.el7_2.5
updates 169 k
device-mapper-libs x86_64 7:1.02.107-5.el7_2.5
updates 305 k
device-mapper-multipath x86_64 0.4.9-85.el7_2.5
updates 119 k
device-mapper-multipath-libs x86_64 0.4.9-85.el7_2.5
updates 222 k
dracut x86_64 033-360.el7_2.1
updates 311 k
dracut-config-rescue x86_64 033-360.el7_2.1
updates 50 k
dracut-network x86_64 033-360.el7_2.1
updates 90 k
epel-release noarch 7-7
epel 14 k
firefox x86_64 45.2.0-1.el7.centos
updates 76 M
glibc x86_64 2.17-106.el7_2.6
updates 3.6 M
glibc-common x86_64 2.17-106.el7_2.6
updates 11 M
httpd x86_64 2.4.6-40.el7.centos.1
updates 2.7 M
httpd-tools x86_64 2.4.6-40.el7.centos.1
updates 82 k
iscsi-initiator-utils x86_64 6.2.0.873-33.el7_2.1
updates 418 k
iscsi-initiator-utils-iscsiuio x86_64 6.2.0.873-33.el7_2.1
updates 82 k
java-1.8.0-openjdk x86_64 1:1.8.0.91-1.b14.el7_2
updates 219 k
java-1.8.0-openjdk-headless x86_64 1:1.8.0.91-1.b14.el7_2
updates 31 M
kernel-tools x86_64 3.10.0-327.22.2.el7
updates 2.4 M
kernel-tools-libs x86_64 3.10.0-327.22.2.el7
updates 2.3 M
kpartx x86_64 0.4.9-85.el7_2.5
updates 60 k
libgudev1 x86_64 219-19.el7_2.11
updates 66 k
libndp x86_64 1.2-6.el7_2
updates 31 k
libtevent x86_64 0.9.26-1.el7_2.1
updates 33 k
libxml2 x86_64 2.9.1-6.el7_2.3
updates 668 k
libxml2-python x86_64 2.9.1-6.el7_2.3
updates 247 k
lvm2 x86_64 7:2.02.130-5.el7_2.5
updates 1.0 M
lvm2-libs x86_64 7:2.02.130-5.el7_2.5
updates 873 k
mod_ssl x86_64 1:2.4.6-40.el7.centos.1
updates 103 k
nfs-utils x86_64 1:1.3.0-0.21.el7_2.1
updates 371 k
ntpdate x86_64 4.2.6p5-22.el7.centos.2
updates 84 k
openssl x86_64 1:1.0.1e-51.el7_2.5
updates 712 k
openssl-libs x86_64 1:1.0.1e-51.el7_2.5
updates 952 k
ovirt-engine-sdk-python noarch 3.6.7.0-1.el7.centos
ovirt-4.0 480 k
ovirt-engine-webadmin-portal-debuginfo noarch 4.0.0.6-1.el7.centos
ovirt-4.0 39 M
ovirt-log-collector noarch 4.0.0-1.el7.centos
ovirt-4.0 49 k
ovirt-setup-lib noarch 1.0.2-1.el7.centos
ovirt-4.0 18 k
pcre x86_64 8.32-15.el7_2.1
updates 420 k
polkit x86_64 0.112-7.el7_2
updates 166 k
python-perf x86_64 3.10.0-327.22.2.el7
updates 2.4 M
python-websockify noarch 0.8.0-1.el7
centos-ovirt40-candidate 68 k
python2-boto noarch 2.40.0-1.el7
epel 1.7 M
rpcbind x86_64 0.2.0-33.el7_2.1
updates 58 k
selinux-policy noarch 3.13.1-60.el7_2.7
updates 376 k
selinux-policy-targeted noarch 3.13.1-60.el7_2.7
updates 3.9 M
systemd x86_64 219-19.el7_2.11
updates 5.1 M
systemd-libs x86_64 219-19.el7_2.11
updates 358 k
systemd-sysv x86_64 219-19.el7_2.11
updates 53 k
tzdata noarch 2016e-1.el7
updates 442 k
tzdata-java noarch 2016e-1.el7
updates 180 k
Transaction Summary
===============================================================================================================
Install 2 Packages
Upgrade 57 Packages
Total download size: 229 M
shutdown engine vm
exit global maintenance --> all ok
shutdown all vms but hosted engine
on host, to update it to 4.0 and then at reboot let starts all components,
I executed:
systemctl stop ovirt-ha-agent
systemctl stop ovirt-ha-broker
shutdown engine vm
on host again:
systemctl stop vdsmd
systemctl stop sanlock
systemctl stop wdmd
in messages
Jul 4 17:05:47 ractor wdmd[1258]: test failed rem 26 now 804 ping 760
close 770 renewal 697 expire 777 client 1285
sanlock_2025c2ea-6205-4bc1-b29d-745b47f8f806:1
Jul 4 17:05:48 ractor wdmd[1258]: test failed rem 25 now 805 ping 760
close 770 renewal 697 expire 777 client 1285
sanlock_2025c2ea-6205-4bc1-b29d-745b47f8f806:1
Jul 4 17:05:49 ractor wdmd[1258]: test failed rem 24 now 806 ping 760
close 770 renewal 697 expire 777 client 1285
sanlock_2025c2ea-6205-4bc1-b29d-745b47f8f806:1
Jul 4 17:05:50 ractor wdmd[1258]: test failed rem 23 now 807 ping 760
close 770 renewal 697 expire 777 client 1285
sanlock_2025c2ea-6205-4bc1-b29d-745b47f8f806:1
Jul 4 17:05:51 ractor wdmd[1258]: test failed rem 22 now 808 ping 760
close 770 renewal 697 expire 777 client 1285
sanlock_2025c2ea-6205-4bc1-b29d-745b47f8f806:1
Jul 4 17:05:51 ractor systemd[1]: wdmd.service stop-sigterm timed out.
Killing.
Jul 4 17:05:51 ractor systemd[1]: wdmd.service: main process exited,
code=killed, status=9/KILL
Jul 4 17:05:51 ractor systemd[1]: Stopped Watchdog Multiplexing Daemon.
Jul 4 17:05:51 ractor systemd[1]: Unit wdmd.service entered failed state.
Jul 4 17:05:51 ractor systemd[1]: wdmd.service failed.
PROBLEM: automatic reboot of node....
I asked for clarification here:
http://lists.ovirt.org/pipermail/users/2016-July/040912.html
In the mean time I manually let start the host in single user mode enabling
then only rsyslog, networking and ssh and
yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
disable ovirt-3.6 repos
yum update --exclude=ovirt-hosted-engine-setup,ovirt-engine-appliance
(otherwise getting error on dependencies)
Dependencies Resolved
===============================================================================================================
Package Arch Version
Repository Size
===============================================================================================================
Installing:
kernel x86_64 3.10.0-327.22.2.el7
updates 33 M
python2-ecdsa noarch 0.13-4.el7
ovirt-4.0-epel 83 k
replacing python-ecdsa.noarch 0.11-3.el7.centos
Updating:
NetworkManager x86_64 1:1.0.6-30.el7_2
updates 2.0 M
NetworkManager-libnm x86_64 1:1.0.6-30.el7_2
updates 498 k
NetworkManager-team x86_64 1:1.0.6-30.el7_2
updates 132 k
NetworkManager-tui x86_64 1:1.0.6-30.el7_2
updates 212 k
chkconfig x86_64 1.3.61-5.el7_2.1
updates 173 k
device-mapper x86_64 7:1.02.107-5.el7_2.5
updates 252 k
device-mapper-event x86_64 7:1.02.107-5.el7_2.5
updates 167 k
device-mapper-event-libs x86_64 7:1.02.107-5.el7_2.5
updates 169 k
device-mapper-libs x86_64 7:1.02.107-5.el7_2.5
updates 305 k
device-mapper-multipath x86_64 0.4.9-85.el7_2.5
updates 119 k
device-mapper-multipath-libs x86_64 0.4.9-85.el7_2.5
updates 222 k
dracut x86_64 033-360.el7_2.1
updates 311 k
dracut-config-rescue x86_64 033-360.el7_2.1
updates 50 k
dracut-network x86_64 033-360.el7_2.1
updates 90 k
firefox x86_64 45.2.0-1.el7.centos
updates 76 M
glibc x86_64 2.17-106.el7_2.6
updates 3.6 M
glibc-common x86_64 2.17-106.el7_2.6
updates 11 M
glusterfs x86_64 3.7.12-2.el7
ovirt-4.0-centos-gluster37 482 k
glusterfs-api x86_64 3.7.12-2.el7
ovirt-4.0-centos-gluster37 85 k
glusterfs-cli x86_64 3.7.12-2.el7
ovirt-4.0-centos-gluster37 179 k
glusterfs-client-xlators x86_64 3.7.12-2.el7
ovirt-4.0-centos-gluster37 857 k
glusterfs-fuse x86_64 3.7.12-2.el7
ovirt-4.0-centos-gluster37 130 k
glusterfs-libs x86_64 3.7.12-2.el7
ovirt-4.0-centos-gluster37 352 k
ioprocess x86_64 0.16.1-1.el7
ovirt-4.0 28 k
iscsi-initiator-utils x86_64 6.2.0.873-33.el7_2.1
updates 418 k
iscsi-initiator-utils-iscsiuio x86_64 6.2.0.873-33.el7_2.1
updates 82 k
kernel-tools x86_64 3.10.0-327.22.2.el7
updates 2.4 M
kernel-tools-libs x86_64 3.10.0-327.22.2.el7
updates 2.3 M
kpartx x86_64 0.4.9-85.el7_2.5
updates 60 k
libgudev1 x86_64 219-19.el7_2.11
updates 66 k
libguestfs x86_64 1:1.28.1-1.55.el7.centos.4
updates 1.7 M
libguestfs-tools-c x86_64 1:1.28.1-1.55.el7.centos.4
updates 2.2 M
libndp x86_64 1.2-6.el7_2
updates 31 k
libsss_idmap x86_64 1.13.0-40.el7_2.9
updates 103 k
libsss_nss_idmap x86_64 1.13.0-40.el7_2.9
updates 103 k
libtevent x86_64 0.9.26-1.el7_2.1
updates 33 k
libvirt-client x86_64 1.2.17-13.el7_2.5
updates 4.3 M
libvirt-daemon x86_64 1.2.17-13.el7_2.5
updates 585 k
libvirt-daemon-config-nwfilter x86_64 1.2.17-13.el7_2.5
updates 122 k
libvirt-daemon-driver-interface x86_64 1.2.17-13.el7_2.5
updates 162 k
libvirt-daemon-driver-network x86_64 1.2.17-13.el7_2.5
updates 302 k
libvirt-daemon-driver-nodedev x86_64 1.2.17-13.el7_2.5
updates 161 k
libvirt-daemon-driver-nwfilter x86_64 1.2.17-13.el7_2.5
updates 185 k
libvirt-daemon-driver-qemu x86_64 1.2.17-13.el7_2.5
updates 571 k
libvirt-daemon-driver-secret x86_64 1.2.17-13.el7_2.5
updates 155 k
libvirt-daemon-driver-storage x86_64 1.2.17-13.el7_2.5
updates 328 k
libvirt-daemon-kvm x86_64 1.2.17-13.el7_2.5
updates 118 k
libvirt-lock-sanlock x86_64 1.2.17-13.el7_2.5
updates 167 k
libxml2 x86_64 2.9.1-6.el7_2.3
updates 668 k
libxml2-python x86_64 2.9.1-6.el7_2.3
updates 247 k
lvm2 x86_64 7:2.02.130-5.el7_2.5
updates 1.0 M
lvm2-libs x86_64 7:2.02.130-5.el7_2.5
updates 873 k
mom noarch 0.5.4-1.el7.centos
ovirt-4.0 119 k
net-snmp-libs x86_64 1:5.7.2-24.el7_2.1
updates 747 k
net-snmp-utils x86_64 1:5.7.2-24.el7_2.1
updates 197 k
nfs-utils x86_64 1:1.3.0-0.21.el7_2.1
updates 371 k
ntp x86_64 4.2.6p5-22.el7.centos.2
updates 544 k
ntpdate x86_64 4.2.6p5-22.el7.centos.2
updates 84 k
ntsysv x86_64 1.3.61-5.el7_2.1
updates 36 k
openssl x86_64 1:1.0.1e-51.el7_2.5
updates 712 k
openssl-libs x86_64 1:1.0.1e-51.el7_2.5
updates 952 k
otopi noarch 1.5.0-1.el7.centos
ovirt-4.0 160 k
ovirt-engine-sdk-python noarch 3.6.7.0-1.el7.centos
ovirt-4.0 480 k
ovirt-host-deploy noarch 1.5.0-1.el7.centos
ovirt-4.0 99 k
ovirt-hosted-engine-ha noarch 2.0.0-1.el7.centos
ovirt-4.0 296 k
ovirt-setup-lib noarch 1.0.2-1.el7.centos
ovirt-4.0 18 k
ovirt-vmconsole noarch 1.0.3-1.el7.centos
ovirt-4.0 29 k
ovirt-vmconsole-host noarch 1.0.3-1.el7.centos
ovirt-4.0 16 k
pcre x86_64 8.32-15.el7_2.1
updates 420 k
polkit x86_64 0.112-7.el7_2
updates 166 k
python-ioprocess noarch 0.16.1-1.el7
ovirt-4.0 25 k
python-perf x86_64 3.10.0-327.22.2.el7
updates 2.4 M
rpcbind x86_64 0.2.0-33.el7_2.1
updates 58 k
selinux-policy noarch 3.13.1-60.el7_2.7
updates 376 k
selinux-policy-targeted noarch 3.13.1-60.el7_2.7
updates 3.9 M
spice-server x86_64 0.12.4-15.el7_2.1
updates 381 k
sssd-client x86_64 1.13.0-40.el7_2.9
updates 158 k
systemd x86_64 219-19.el7_2.11
updates 5.1 M
systemd-libs x86_64 219-19.el7_2.11
updates 358 k
systemd-python x86_64 219-19.el7_2.11
updates 99 k
systemd-sysv x86_64 219-19.el7_2.11
updates 53 k
tzdata noarch 2016e-1.el7
updates 442 k
vdsm x86_64 4.18.4.1-0.el7.centos
ovirt-4.0 685 k
vdsm-cli noarch 4.18.4.1-0.el7.centos
ovirt-4.0 67 k
vdsm-hook-vmfex-dev noarch 4.18.4.1-0.el7.centos
ovirt-4.0 6.5 k
vdsm-infra noarch 4.18.4.1-0.el7.centos
ovirt-4.0 12 k
vdsm-jsonrpc noarch 4.18.4.1-0.el7.centos
ovirt-4.0 25 k
vdsm-python noarch 4.18.4.1-0.el7.centos
ovirt-4.0 565 k
vdsm-xmlrpc noarch 4.18.4.1-0.el7.centos
ovirt-4.0 24 k
vdsm-yajsonrpc noarch 4.18.4.1-0.el7.centos
ovirt-4.0 27 k
virt-v2v x86_64 1:1.28.1-1.55.el7.centos.4
updates 12 M
Installing for dependencies:
NetworkManager-config-server x86_64 1:1.0.6-30.el7_2
updates 122 k
PyYAML x86_64 3.10-11.el7
base 153 k
libyaml x86_64 0.1.4-11.el7_0
base 55 k
openvswitch x86_64 2.5.0-2.el7
centos-ovirt40-candidate 2.3 M
ovirt-imageio-common noarch
0.3.0-0.201606191345.git9f3d6d4.el7.centos
ovirt-4.0 22 k
ovirt-imageio-daemon noarch
0.3.0-0.201606191345.git9f3d6d4.el7.centos
ovirt-4.0 22 k
python-webob noarch 1.2.3-6.el7
base 202 k
vdsm-api noarch 4.18.4.1-0.el7.centos
ovirt-4.0 52 k
Transaction Summary
===============================================================================================================
Install 2 Packages (+8 Dependent packages)
Upgrade 91 Packages
Total download size: 185 M
Is this ok [y/d/N]:
Then I put in place vdsm.conf.rpmnew changing inside it
[addresses]
management_ip = 0.0.0.0
This is necessary because I have disabled ipv6 at system os level and this
setting forces vdsmd to listen on IPV4, that is not the default.
Other settings I had in 3.6 vdsm.conf (put in by initial installation) were
not explicitly inserted because they already are the default ones. they are:
ssl=true
and
management_port = 54321
reboot host
after some minutes engine vm starts ok
Wait for stabilization.
All seems up and I'm able to boot and connect to my VMs.
At the beginning the host results as needing for upgrades, but after couple
of minutes the engine detects that it is ok, from a components version
point of view.
In webadmin portal I still see the host with exclamation mark on side of it
because of course I've not configured power management in this single host
environment.
Only thing I don't understand is that I also see an icon on side of host (I
don't understand its graphic; it seems a crown, or a tower ) and when I
mouse over it I see the tooltip
Action Items
But I don't understand how should I manage it...
see image here:
https://drive.google.com/file/d/0BwoPbcrMv8mvRzZCcDA0OG9HaGs/view?usp=sharing
HIH,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160705/206cfad4/attachment-0001.html>
More information about the Users
mailing list