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
Eli - do we even support this utility?
(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
The utility is no longer supported , it will be removed from the dbutils directory and this BZ will be closed as WONTFIX
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.
script removed verified in ovirt-engine-4.1.0-0.4.master.20170117182028.git4678f8c.el7.centos.noarch