[Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

Alon Bar-Lev alonbl at redhat.com
Sat Apr 5 20:43:02 UTC 2014



----- Original Message -----
> From: "Gianluca Cecchi" <gianluca.cecchi at gmail.com>
> To: "users" <users at ovirt.org>
> Sent: Saturday, April 5, 2014 8:12:31 PM
> Subject: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> Hello,
> on F19 I upgraded engine from 3..3.4 to 3.4.0.
> Then
> yum update ovirt-engine-dwh ovirt-engine-reports
> ...
> Running transaction
>   Installing : ovirt-engine-dwh-setup-3.4.0-2.fc19.noarch
>                                                   1/8
>   Installing : ovirt-engine-reports-setup-3.4.0-2.fc19.noarch
>                                                   2/8
>   Updating   : jasperreports-server-5.5.0-7.fc19.noarch
>                                                   3/8
>   Updating   : ovirt-engine-reports-3.4.0-2.fc19.noarch
>                                                   4/8
>   Updating   : ovirt-engine-dwh-3.4.0-2.fc19.noarch
>                                                   5/8
>   Cleanup    : ovirt-engine-reports-3.3.4-1.fc19.noarch
>                                                   6/8
>   Cleanup    : jasperreports-server-5.5.0-1.noarch
>                                                   7/8
>   Cleanup    : ovirt-engine-dwh-3.3.4-1.fc19.noarch
>                                                   8/8
>   Verifying  : jasperreports-server-5.5.0-7.fc19.noarch
>                                                   1/8
>   Verifying  : ovirt-engine-reports-setup-3.4.0-2.fc19.noarch
>                                                   2/8
>   Verifying  : ovirt-engine-dwh-setup-3.4.0-2.fc19.noarch
>                                                   3/8
>   Verifying  : ovirt-engine-dwh-3.4.0-2.fc19.noarch
>                                                   4/8
>   Verifying  : ovirt-engine-reports-3.4.0-2.fc19.noarch
>                                                   5/8
>   Verifying  : jasperreports-server-5.5.0-1.noarch
>                                                   6/8
>   Verifying  : ovirt-engine-reports-3.3.4-1.fc19.noarch
>                                                   7/8
>   Verifying  : ovirt-engine-dwh-3.3.4-1.fc19.noarch
>                                                   8/8
> 
> Dependency Installed:
>   ovirt-engine-dwh-setup.noarch 0:3.4.0-2.fc19
> ovirt-engine-reports-setup.noarch 0:3.4.0-2.fc19
> 
> Updated:
>   ovirt-engine-dwh.noarch 0:3.4.0-2.fc19
> ovirt-engine-reports.noarch 0:3.4.0-2.fc19
> 
> Dependency Updated:
>   jasperreports-server.noarch 0:5.5.0-7.fc19
> 
> Complete!
> 
> But now I see I have neither ovirt-engine-dwh-setup nor
> ovirt-engine-reports.setup as in 3.3.4...
> 
> What to do?
> 
> I only see this thread
> http://lists.ovirt.org/pipermail/users/2014-March/022205.html
> 
> and other infos that suggests for new installation engine-setup should
> care about dwh too (but I don't know for reports...)
> 
> What about pre-existing 3.3.4 installations with dwh and reports?
> 
> The engine-setup for upgrade from 3.3.4 to 3.4 didn't notice anything
> about dwh/reports and didn't update any package:
> 
>           --== CONFIGURATION PREVIEW ==--
> 
>           Engine database name                    : engine
>           Engine database secured connection      : False
>           Engine database host                    : localhost
>           Engine database user name               : engine
>           Engine database host name validation    : False
>           Engine database port                    : 5432
>           NFS setup                               : True
>           Firewall manager                        : iptables
>           Update Firewall                         : True
>           Configure WebSocket Proxy               : True
>           Host FQDN                               :
>           tekkaman.localdomain.local
>           NFS mount point                         : /ISO
>           Set application as default page         : True
>           Configure Apache SSL                    : False
>           Require packages rollback               : False
>           Upgrade packages                        : True
> 
>           Please confirm installation settings (OK, Cancel) [OK]:
> 
> 
> If I try to run engine-setup again I get
> 
> [root at tekkaman ~]# engine-setup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>           Configuration files:
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf',
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-aio.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>           Log file:
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20140405184435.log
>           Version: otopi-1.2.0 (otopi-1.2.0-1.fc19)
> [ ERROR ] Failed to execute stage 'Environment setup': initial_value
> must be unicode or None, not str
> [ INFO  ] Stage: Clean up
>           Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20140405184435.log
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed

Please attach setup log, need to see where it comes from.

> 
>  If I patch as in
> http://gerrit.ovirt.org/#/c/26005/

You should not patch unless we find an issue, but this error is strange, as patch does contains this variable[1]

[1] http://gerrit.ovirt.org/#/c/26005/4/packaging/setup/ovirt_engine_setup/reportsconstants.py,cm

> 
> I get
> # engine-setup
> [ INFO  ] Stage: Initializing
> [ ERROR ] Failed to execute stage 'Initializing': type object
> 'ConfigEnv' has no attribute 'LEGACY_REPORTS_WAR'
> [ INFO  ] Stage: Clean up
>           Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20140405190842.log
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
> 
> any hint?

Thanks!



More information about the Users mailing list