Bug 1224889
Summary: | engine-setup deletes adhoc reports on upgrade | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Andrew Burden <aburden> | ||||||||
Component: | ovirt-engine-reports | Assignee: | Yedidyah Bar David <didi> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Petr Kubica <pkubica> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 3.4.5 | CC: | adahms, bazulay, gklein, juwu, lsurette, melewis, pkubica, rbalakri, Rhev-m-bugs, rhodain, sbonazzo, sradco, yeylon, ykaul, ylavi | ||||||||
Target Milestone: | ovirt-3.6.0-rc | Keywords: | ZStream | ||||||||
Target Release: | 3.6.0 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: |
Previously, when engine-setup upgraded Reports, ad-hoc reports were exported using an incorrect url that contained a leading slash, and this caused the reports to be removed as they were not exported. Now, the code has been changed to remove leading and trailing slashes from the configured url so that the saved ad-hoc reports are correctly exported and imported during the upgrade.
|
Story Points: | --- | ||||||||
Clone Of: | |||||||||||
: | 1235243 (view as bug list) | Environment: | |||||||||
Last Closed: | 2016-03-09 21:19:22 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1092388, 1235243 | ||||||||||
Attachments: |
|
Description
Andrew Burden
2015-05-26 07:10:04 UTC
Created attachment 1029788 [details]
3.4 engine log
Created attachment 1029789 [details]
the most recent setup log
Now verified that this happens on 3.4.5 "upgrading" to itself. Changed summary accordingly, and a few other fields. Hi, in ovirt reports there aren't any adhoc reports, so it cannot be verified in ovirt (ovirt-3.6.0-3) In principle you can use upstream code with jasperreports-server-pro. This is a supported flow, in principle. In practice it might be better to wait for a first downstream build which is expected soon. As you can see in the patch page in gerrit, I verified it on 3.5 only. Didi already answered in comment #9, dropping needinfo on me How is BZ #1255434 related? this is a upgrade flow the other a restore flow. (In reply to Yaniv Dary from comment #11) > How is BZ #1255434 related? this is a upgrade flow the other a restore flow. In BZ #1255434 I don't make an upgrade. If I know correctly, I cannot restore database via engine-backup without clean engine. In reproduction steps (2 and 3) in comment #0 I must backup all and restore all. So my steps for verifying this is: Create a custom dashboard in reports backup all engine-cleanup (for restoring the backup) restore all make engine-setup (issue described in BZ #1255434) Check the dashboard in reports Ahh, now I understand what you mean. It confuses me the backup and restore part in comment #0. So if I understand it correctly, just create dashboard in 3.5, upgrade to 3.6 and check the dashboard ? (the issue was in upgrade process ?) (In reply to Petr Kubica from comment #13) > Ahh, now I understand what you mean. It confuses me the backup and restore > part in comment #0. So if I understand it correctly, just create dashboard > in 3.5, upgrade to 3.6 and check the dashboard ? (the issue was in upgrade > process ?) You create a ad hoc report and save it to saved reports folder (any other location is not saved) then upgrade and make sure that it kept and not deleted. Verified in rhevm-reports-3.6.0-0.6.el6ev.noarch Added some commas, hope that's ok Looks good. Thanks for the added commas. :) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0425.html |