Bug 954138 - rhevm-upgrade creates log/helping files in /usr/share/ovirt-engine/dbscripts
Summary: rhevm-upgrade creates log/helping files in /usr/share/ovirt-engine/dbscripts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.2.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 3.2.0
Assignee: Ofer Schreiber
QA Contact: Ilanit Stein
URL:
Whiteboard: integration
Depends On: 947344
Blocks: 948448
TreeView+ depends on / blocked
 
Reported: 2013-04-21 07:03 UTC by Ofer Schreiber
Modified: 2015-09-22 13:09 UTC (History)
13 users (show)

Fixed In Version: sf16
Doc Type: Bug Fix
Doc Text:
Clone Of: 947344
Environment:
Last Closed:
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


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

Comment 1 Ilanit Stein 2013-05-22 07:21:56 UTC
Verified on sf12 -> sf17:

On sf12, clean install, the files, mentioned in the description, exist, and after upgrade to sf17, new ones were not generated: 

On sf-12 clean install:
----------------------
[root@istein-32 yum.repos.d]# find /usr/share/ovirt-engine/dbscripts -mtime 0 -exec sh -c '[ -d {} ] && ls -ld {} || ls -l {}' {} {} \;
drwxr-xr-x 4 root root 4096 May 21 21:34 /usr/share/ovirt-engine/dbscripts
drwxr-xr-x 2 root root 4096 May 21 21:29 /usr/share/ovirt-engine/dbscripts/db_schema_version_check
-rw-r--r-- 1 root root 681591 May 21 21:34 /usr/share/ovirt-engine/dbscripts/.schema
drwxr-xr-x 4 root root 20480 May 21 21:29 /usr/share/ovirt-engine/dbscripts/upgrade
drwxr-xr-x 2 root root 4096 May 21 21:29 /usr/share/ovirt-engine/dbscripts/upgrade/post_upgrade
drwxr-xr-x 2 root root 4096 May 21 21:29 /usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade
-rw-r--r-- 1 root root 19370 May 21 21:34 /usr/share/ovirt-engine/dbscripts/.engine.scripts.md5
-rw-r--r-- 1 root root 970783 May 21 21:34 /usr/share/ovirt-engine/dbscripts/create_db.sh.log
[root@istein-32 yum.repos.d]# date
Tue May 21 21:37:11 IDT 2013

After upgrade to sf17:
---------------------
[root@istein-32 yum.repos.d]# find /usr/share/ovirt-engine/dbscripts -mtime 0 -exec sh -c '[ -d {} ] && ls -ld {} || ls -l {}' {} {} \;
drwxr-xr-x 4 root root 4096 May 21 21:48 /usr/share/ovirt-engine/dbscripts
drwxr-xr-x 2 root root 4096 May 21 21:48 /usr/share/ovirt-engine/dbscripts/db_schema_version_check
-rw-r--r-- 1 root root 681591 May 21 21:34 /usr/share/ovirt-engine/dbscripts/.schema
drwxr-xr-x 4 root root 20480 May 21 21:48 /usr/share/ovirt-engine/dbscripts/upgrade
drwxr-xr-x 2 root root 4096 May 21 21:48 /usr/share/ovirt-engine/dbscripts/upgrade/post_upgrade
drwxr-xr-x 2 root root 4096 May 21 21:48 /usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade
-rw-r--r-- 1 root root 19544 May 21 21:48 /usr/share/ovirt-engine/dbscripts/.engine_2013_05_21_21_47_36.scripts.md5
-rw-r--r-- 1 root root 19370 May 21 21:34 /usr/share/ovirt-engine/dbscripts/.engine.scripts.md5
-rw-r--r-- 1 root root 970783 May 21 21:34 /usr/share/ovirt-engine/dbscripts/create_db.sh.log
[root@istein-32 yum.repos.d]# find / -name .schema
/usr/share/ovirt-engine/dbscripts/.schema

Comment 2 Itamar Heim 2013-06-11 09:08:53 UTC
3.2 has been released

Comment 3 Itamar Heim 2013-06-11 09:08:53 UTC
3.2 has been released

Comment 4 Itamar Heim 2013-06-11 09:08:56 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:37:15 UTC
3.2 has been released


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