Gianluca
On Tue, Mar 19, 2013 at 3:29 PM, Gianluca Cecchi
<gianluca.cecchi(a)gmail.com> wrote:
On Tue, Mar 19, 2013 at 2:16 PM, Alex Lourie
<alourie(a)redhat.com>
wrote:
>> > > * Perform the following steps to upgrade the history service
>> or the
>> > > reporting package:
>> > > 1. Execute: yum update ovirt-engine-reports*
>> > > 2. Execute: ovirt-engine-dwh-setup
>> > > 3. Execute: ovirt-engine-reports-setup
>> > > * DB Backup available at
>> > > >
>> > > >
>> /var/lib/ovirt-engine/backups/ovirt-engine_db_backup_2013_03_15_23_16_03.sql
>> > > > > [root@tekkaman ~]# yum update ovirt-engine-reports*
>> > > Loaded plugins: fastestmirror, langpacks, presto, >
>> > > refresh-packagekit,
>> > > versionlock
>> > > Loading mirror speeds from cached hostfile
>> > > * fedora: fedora.mirror.garr.it
>> > > * livna: ftp-stud.fht-esslingen.de
>> > > * rpmfusion-free: ftp.nluug.nl
>> > > * rpmfusion-free-updates: ftp.nluug.nl
>> > > * rpmfusion-nonfree: ftp.nluug.nl
>> > > * rpmfusion-nonfree-updates: ftp.nluug.nl
>>
In my case, I have a cluster with two f18 nodes with 3.2 and an f18
engine with 3.2.
I updated engine to 3.2.1.
I got the same error and:
1) yum update ovirt-engine-reports*
gives nothing to update
I presume I still have to run 2) and 3) or not if 1) doesn't catch
anything?
In anu case:
2) ovirt-engine-dwh-setup
# ovirt-engine-dwh-setup
Setting DB connectivity... [DONE]
Upgrade DB... [DONE ]
Starting ovirt-engine... [DONE ]
Starting oVirt-ETL... [DONE]
Successfully installed ovirt-engine-dwh.
The installation log file is available at:
/var/log/ovirt-engine/ovirt-engine-dwh-setup-2013_03_19_09_32_22.log
3)
# ovirt-engine-reports-setup
Welcome to ovirt-engine-reports setup utility
Exporting current users... [DONE]
Updating Redirect Servlet... [DONE]
Importing reports... [DONE]
Importing current users... [DONE]
Customizing Server... [DONE]
Running post setup steps... [DONE]
Starting ovirt-engine... [DONE]
Succesfully installed ovirt-engine-reports.
The installation log file is available at:
/var/log/ovirt-engine/ovirt-engine-reports-setup-2013_03_19_09_32_57.log
Then update my other f18 packages (comprising the ovirt ones for
possible new nodes deploy..)
4) yum update
5) reboot
(at 12:16)
At first ovirt-engine-dwhd didn't start correctly and then at 12:47 I
started it manually and seems to be ok now.
See messages:
Mar 19 12:16:49 f18engine systemd[1]: Started PostgreSQL database
server.
Mar 19 12:16:49 f18engine systemd[1]: Starting oVirt Engine...
Mar 19 12:16:50 f18engine systemd[1]: Started The Apache HTTP Server.
Mar 19 12:16:50 f18engine libvirtd[901]: 2013-03-19 11:16:50.984+0000:
1046: error : virNWFilterSnoopLeaseFileRefresh:1903 : o
pen("/var/run/libvirt/network/nwfilter.ltmp"): No such file or
directory
Mar 19 12:16:52 f18engine chronyd[641]: Selected source 131.175.12.3
Mar 19 12:16:55 f18engine ovirt-engine-dwhd[892]: Starting
ovirt-engine-dwhd: at Tue Mar 19 12:16:43 CET
2013[ OK ]
Mar 19 12:16:55 f18engine systemd[1]: Started LSB: oVirt Engine
History ETL Service for Data Warehouse and Reporting.
Mar 19 12:16:56 f18engine kernel: [ 28.759401] Ebtables v2.0
registered
Mar 19 12:16:56 f18engine kernel: [ 29.161347] ip6_tables: (C)
2000-2006 Netfilter Core Team
Mar 19 12:16:57 f18engine engine-service[1050]: Started engine
process 1091.
Mar 19 12:16:57 f18engine engine-service[1050]: Starting
engine-service: [ OK ]
Mar 19 12:16:57 f18engine kernel: [ 30.004260] cgroup: libvirtd
(1046) created nested cgroup for controller "memory" which has
incomplete hierarchy support. Nested cgroups may change behavior in
the future.
Mar 19 12:16:57 f18engine kernel: [ 30.004263] cgroup: "memory"
requires setting use_hierarchy to 1 on the root.
Mar 19 12:16:57 f18engine kernel: [ 30.004306] cgroup: libvirtd
(1046) created nested cgroup for controller "devices" which has
incomplete hierarchy support. Nested cgroups may change behavior in
the future.
Mar 19 12:16:57 f18engine kernel: [ 30.004352] cgroup: libvirtd
(1046) created nested cgroup for controller "blkio" which has
incomplete hierarchy support. Nested cgroups may change behavior in
the future.
Mar 19 12:16:57 f18engine systemd[1]: Started oVirt Engine.
Mar 19 12:16:57 f18engine systemd[1]: Starting Multi-User.
Mar 19 12:16:57 f18engine systemd[1]: Reached target Multi-User.
Mar 19 12:16:57 f18engine systemd[1]: Starting Update UTMP about
System Runlevel Changes...
Mar 19 12:16:57 f18engine systemd[1]: Starting Stop Read-Ahead Data
Collection 10s After Completed Startup.
Mar 19 12:16:57 f18engine systemd[1]: Started Stop Read-Ahead Data
Collection 10s After Completed Startup.
Mar 19 12:16:58 f18engine systemd[1]: Started Update UTMP about System
Runlevel Changes.
Mar 19 12:16:58 f18engine systemd[1]: Startup finished in 1s 492ms
639us (kernel) + 2s 488ms 802us (initrd) + 26s 343ms 715us (userspace)
= 30s 325ms 156us.
Mar 19 12:17:02 f18engine systemd[1]: ovirt-engine-dwhd.service: main
process exited, code=exited, status=232/n/a
Mar 19 12:17:02 f18engine ovirt-engine-dwhd[1154]: Stopping
ovirt-engine-dwhd: [FAILED]
Mar 19 12:17:02 f18engine ovirt-engine-dwhd[1154]: oVirt ETL Service
is currently not running
Mar 19 12:17:02 f18engine systemd[1]: Unit ovirt-engine-dwhd.service
entered failed state
Mar 19 12:17:07 f18engine systemd[1]: Starting Stop Read-Ahead Data
Collection...
Mar 19 12:17:07 f18engine systemd[1]: Started Stop Read-Ahead Data
Collection.
Mar 19 12:27:12 f18engine systemd-logind[612]: New session 1 of user
g.cecchi.
Mar 19 12:31:27 f18engine systemd[1]: Starting Cleanup of Temporary
Directories...
Mar 19 12:31:28 f18engine systemd[1]: Started Cleanup of Temporary
Directories.
Mar 19 12:47:10 f18engine systemd[1]: Starting LSB: oVirt Engine
History ETL Service for Data Warehouse and Reporting...
Mar 19 12:47:20 f18engine ovirt-engine-dwhd[1797]: Starting
ovirt-engine-dwhd: at Tue Mar 19 12:47:10 CET 2013[ OK ]
Mar 19 12:47:20 f18engine systemd[1]: Started LSB: oVirt Engine
History ETL Service for Data Warehouse and Reporting.
# systemctl status ovirt-engine-dwhd
ovirt-engine-dwhd.service - LSB: oVirt Engine History ETL Service for
Data Warehouse and Reporting
Loaded: loaded (/etc/rc.d/init.d/ovirt-engine-dwhd)
Active: active (running) since Tue 2013-03-19 12:47:20 CET; 13s ago
Process: 1154 ExecStop=/etc/rc.d/init.d/ovirt-engine-dwhd stop
(code=exited, status=0/SUCCESS)
Process: 1797 ExecStart=/etc/rc.d/init.d/ovirt-engine-dwhd start
(code=exited, status=0/SUCCESS)
Main PID: 1805 (java)
CGroup: name=systemd:/system/ovirt-engine-dwhd.service
└─1805 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java -Xms256M
-Xmx1024M -Djavax.net...
Mar 19 12:47:10 f18engine systemd[1]: Starting LSB: oVirt Engine
History ETL Service......
Mar 19 12:47:10 f18engine runuser[1802]: pam_unix(runuser:session):
session opened fo...0)
Mar 19 12:47:10 f18engine runuser[1802]: pam_unix(runuser:session):
session closed fo...ot
Mar 19 12:47:20 f18engine ovirt-engine-dwhd[1797]: Starting
ovirt-engine-dwhd: at Tue ...]
Mar 19 12:47:20 f18engine systemd[1]: Started LSB: oVirt Engine
History ETL Service ...ng.
Right before update, connecting from a pc with chrome returned correct
reports gui.
As soon I started again, after update, the same client gets scrambled
reports output, as I already posted in the first e-mail of this
thread.
Please open a bug on reports; attach server logs.
Thanks.
Gianluca