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

Alon Bar-Lev alonbl at redhat.com
Sun Apr 6 00:13:11 UTC 2014



----- Original Message -----
> From: "Gianluca Cecchi" <gianluca.cecchi at gmail.com>
> To: "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: "users" <users at ovirt.org>
> Sent: Sunday, April 6, 2014 2:50:24 AM
> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> On Sun, Apr 6, 2014 at 1:25 AM, Alon Bar-Lev <alonbl at redhat.com> wrote:
> 
> >
> > """
> > Target "gen-config-ce" does not exist in the project "buildomatic".
> > """
> >
> > Hmm... it should have been gen-config without the -ce.
> >
> > The tags of ovirt-engine-dwh/ovirt-engine-reports are incorrect or correct
> > but the release misses fixes as far as I can see, so I do not know what
> > exactly do you have... But I think this[1] is the fix.
> >
> > [1] http://gerrit.ovirt.org/#/c/25998/
> 
> My packages should be the official ones at the moment:
> 
> rpm -q ovirt-engine-dwh ovirt-engine-reports ovirt-engine-dwh-setup
> ovirt-engine-reports-setup
> ovirt-engine-dwh-3.4.0-2.fc19.noarch
> ovirt-engine-reports-3.4.0-2.fc19.noarch
> ovirt-engine-dwh-setup-3.4.0-2.fc19.noarch
> ovirt-engine-reports-setup-3.4.0-2.fc19.noarch
> 
> hum...
> tried also approach of reinstall, as I saw that some .pyc files
> resulted modified after my first tried patch when I edited
> reportsconstants.py and deploy.py
> don't know if expected that also .pyc files are modified after
> changing .py files but I had now:
> 
> # rpm -qV ovirt-engine-dwh ovirt-engine-reports ovirt-engine-dwh-setup
> ovirt-engine-reports-setup
> S.5....T.
> /usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/ovirt-engine-dwh/legacy/config.py
> --> the only one I expected
> S.5....T.
> /usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/ovirt-engine-dwh/legacy/config.pyc
> .......T.
> /usr/share/ovirt-engine/setup/ovirt_engine_setup/reportsconstants.pyc
> S.5....T.
> /usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/jasper/deploy.pyc
> 
> So
> # yum reinstall ovirt-engine-dwh ovirt-engine-reports
> ovirt-engine-dwh-setup ovirt-engine-reports-setup
> 
> Reinstalling:
>  ovirt-engine-dwh                              noarch
>   3.4.0-2.fc19                    ovirt-stable                    1.2
> M
>  ovirt-engine-dwh-setup                        noarch
>   3.4.0-2.fc19                    ovirt-stable                     48
> k
>  ovirt-engine-reports                          noarch
>   3.4.0-2.fc19                    ovirt-stable                    1.0
> M
>  ovirt-engine-reports-setup                    noarch
>   3.4.0-2.fc19                    ovirt-stable                     49
> k
> 
> [root at tekkaman ~]# rpm -qV ovirt-engine-dwh ovirt-engine-reports
> ovirt-engine-dwh-setup ovirt-engine-reports-setup
> [root at tekkaman ~]#
> 
> then applied
> http://gerrit.ovirt.org/#/c/26118/
> for config.py
> 
> But now I see that if I run engine-setup again it tries a fresh
> install and doesn't recognize it is an already configured anvironment
> (I pressed Ctrl-C at RDBMS question to avoid further problems...)
> 
> [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-20140406013743.log
>           Version: otopi-1.2.0 (otopi-1.2.0-1.fc19)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment setup
> [ INFO  ] Stage: Environment customization
> 
>           --== PRODUCT OPTIONS ==--
> 
>           Configure Reports on this host (Yes, No) [Yes]:
> 
>           --== PACKAGES ==--
> 
> [ INFO  ] Checking for product updates...
> [ INFO  ] No product updates found
> 
>           --== NETWORK CONFIGURATION ==--
> 
> [WARNING] Failed to resolve tekkaman.localdomain.local using DNS, it
> can be resolved only locally
>           Setup can automatically configure the firewall on this system.
>           Note: automatic configuration of the firewall may overwrite
> current settings.
>           Do you want Setup to configure the firewall? (Yes, No) [Yes]:
> [ INFO  ] iptables will be configured as firewall manager.
> 
>           --== DATABASE CONFIGURATION ==--
> 
>           Where is the Reports database located? (Local, Remote)
> [Local]: ^C[ ERROR ] Failed to execute stage 'Environment
> customization': SIG2
> [ INFO  ] Stage: Clean up
>           Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20140406013743.log
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
> 
> setup log here:
> https://drive.google.com/file/d/0BwoPbcrMv8mvQnd4WGxuOENzZTg/edit?usp=sharing
> 
> 
> Now it is time to go to sleep to be sure not to do worse... ;-)
> But if you have any hint about this problem tomorrow (today actually.. ;-)
> I can dig more.

This is a progress... :)

Now... do you have anything at:

/usr/share/jasperreports-server/buildomatic/build_conf/default/master.properties

Do you have:

/var/lib/ovirt-engine-reports/build-conf/master.properties


> 
> Thanks again
> Gianluca
> 



More information about the Users mailing list