Bug 1009899 - exportDbSchema scripts generates output file with wrong name
Summary: exportDbSchema scripts generates output file with wrong name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.3.2
Assignee: Eli Mesika
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-19 13:08 UTC by Sandro Bonazzola
Modified: 2013-12-19 14:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-19 14:24:50 UTC
oVirt Team: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 19679 0 None None None Never

Description Sandro Bonazzola 2013-09-19 13:08:51 UTC
Description of problem:
exportDbSchema scripts generates output file with wrong name

Version-Release number of selected component (if applicable):
ovirt-engine-dbscripts-3.4.0-0.2.master.20130918140615.git54da2f7.fc18.noarch

How reproducible:
100%

Steps to Reproduce:
1. /usr/share/ovirt-engine/dbscripts/exportDbSchema.sh -s localhost -d engine -u engine -v -l /tmp/log

Actual results:
-v doesn't trigger any verbosity and the ouptut is:
 Done.
 Exported file is .engine.select version from schema_version where current;
 03030890.schema.

The file created is:
"/usr/share/ovirt-engine/dbscripts/.engine.select version from schema_version where current;\n03030890.schema"


Expected results:
-v turn on verbosity or doesn't exist

 The output file created should be:
./usr/share/ovirt-engine/dbscripts/.engine.03030890.schema

Comment 1 Sandro Bonazzola 2013-09-19 13:28:32 UTC
(In reply to Sandro Bonazzola from comment #0)

> Actual results:
> -v doesn't trigger any verbosity and the ouptut is:
>  Done.
>  Exported file is .engine.select version from schema_version where current;
>  03030890.schema.
> 
> The file created is:
> "/usr/share/ovirt-engine/dbscripts/.engine.select version from
> schema_version where current;\n03030890.schema"

After further testing the wrong file naming is due to -v switch.


> Expected results:

-v turn on verbosity without causing wrong file naming

The output file created should be:
./usr/share/ovirt-engine/dbscripts/.engine.03030890.schema

Comment 2 Sandro Bonazzola 2013-11-06 16:02:34 UTC
Moving target release to 3.3.2 since it's not fixed in 3.3.1 and not considered blocking.

Comment 3 Sandro Bonazzola 2013-12-13 16:02:12 UTC
rc build done, moving to ON_QA, packages will be available on updates-testing repository.

Comment 4 Sandro Bonazzola 2013-12-19 14:24:50 UTC
oVirt 3.3.2 has been released resolving the problem described in this bug report.


Note You need to log in before you can comment on or make changes to this bug.