Description of problem: /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh supports 5 object types vm, template, disk, snapshot and all. But type "all" is not implemented for queries and may be confusing. Version-Release number of selected component (if applicable): 4.1.5 How reproducible: 100% Steps to Reproduce: 1. lock a disk 2. 3. Actual results: The following command returns some records: # ./unlock_entity.sh -u engine -t disk -q 6b324a40-6699-454c-8033-6e4070823e92 | 2a3fd3a2-f627-467b-bda0-06dc01e1c982 6b324a40-6699-454c-8033-6e4070823e92 | 2a3fd3a2-f627-467b-bda0-06dc01e1c982 But inthe same time the following command does not report anything: # ./unlock_entity.sh -u engine -t all -q Expected results: When querying type all, all locked object should be reported.
Verified that all types of object are reported when using 'all' type option. Version RHVM 4.2.0-6. [root@system-ge-3 dbutils]# ./unlock_entity.sh -q -t all; echo "---"; ./unlock_entity.sh -q -t disk Locked VMs: Locked templates: Locked disks: fff5df59-32bc-4fe8-b604-2d8db0e972b3 | 5f6e1aa3-4db1-4c94-a65e-a08a2fe21579 Locked snapshots: --- fff5df59-32bc-4fe8-b604-2d8db0e972b3 | 5f6e1aa3-4db1-4c94-a65e-a08a2fe21579
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.