Bug 1371501 - remove deprecated changedbowner.sh script
Summary: remove deprecated changedbowner.sh script
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Database.Core
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.0-alpha
: 4.1.0.2
Assignee: Eli Mesika
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks: RHV_EnterpriseDB_support
TreeView+ depends on / blocked
 
Reported: 2016-08-30 11:07 UTC by Sharon Naftaly
Modified: 2017-02-01 14:59 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:59:55 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 63984 0 master MERGED core: removing changedbowner.sh script 2016-09-19 15:58:32 UTC

Description Sharon Naftaly 2016-08-30 11:07:53 UTC
Description of problem:

When running the script changedbowner.sh found in the ovirt-engine repo (ovirt-engine-4.0 branch) under packaging/setup/dbutils on, the script hangs, and the operation never finishes, unless aborted manually.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. run the following command on a database named engine:
./changedbowner.sh -d engine -f postgres -t engine

Actual results:
script hangs

Expected results:
script finishes successfully

Comment 1 Oved Ourfali 2016-09-05 12:18:00 UTC
Eli - do we even support this utility?

Comment 2 Eli Mesika 2016-09-06 09:15:35 UTC
(In reply to Oved Ourfali from comment #1)
> Eli - do we even support this utility?

As far as I know this procedure was created in order to support a case in which the backup was created with a different user other than 'engine' and the restore is done with an engine user , in that case we will have permissions issues unless we are using this utility on the backup source before the restore and change the ownership to engine 

I don't remember that we ever said that we are stopping to support that, the script is part of our DbUtils

Comment 3 Eli Mesika 2016-09-08 13:54:06 UTC
The utility is no longer supported , it will be removed from the dbutils directory and this BZ will be closed as WONTFIX

Comment 5 Sandro Bonazzola 2016-12-12 14:03:49 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 6 Lucie Leistnerova 2017-01-18 10:42:01 UTC
script removed

verified in ovirt-engine-4.1.0-0.4.master.20170117182028.git4678f8c.el7.centos.noarch


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