Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1505150

Summary: Live Merge: Reduce volume fails on nfs storage
Product: [oVirt] vdsm Reporter: Ala Hino <ahino>
Component: CoreAssignee: Ala Hino <ahino>
Status: CLOSED CURRENTRELEASE QA Contact: Avihai <aefrat>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.20.0CC: amureini, bugs, lleistne
Target Milestone: ovirt-4.2.0Keywords: Regression
Target Release: ---Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:26:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ala Hino 2017-10-22 13:05:52 UTC
Description of problem:

Reduce volume fails on nfs storage.

How reproducible:
100%

Steps to Reproduce:
1. Create two snapshots
2. Delete the first one (we need internal merge to execute reduce volume)

Actual results:
Fails with the following exception:
2017-10-22 15:26:15,149+0300 ERROR (tasks/5) [storage.TaskManager.Task] (Task='26968062-dc37-4e61-b3aa-887aa7d199b8') Unexpected error (task:872)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 879, in _run
    return fn(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 333, in run
    return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, in wrapper
    return method(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 1418, in reduceVolume
    dom.reduceVolume(imgUUID, volUUID, allowActive=allowActive)
TypeError: reduceVolume() got multiple values for keyword argument 'allowActive'



Expected results:
Reduce volume not to fail and merge to succeed

Comment 1 Red Hat Bugzilla Rules Engine 2017-10-22 13:09:00 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Ala Hino 2017-10-23 11:10:59 UTC
*** Bug 1504718 has been marked as a duplicate of this bug. ***

Comment 3 Avihai 2017-10-29 16:15:52 UTC
verified.

Engine: 4.2.0-0.0.master.20171027213842.gitded437c
VDSM:   4.20.4-12.git11d6d3d

Comment 4 Sandro Bonazzola 2017-12-20 11:26:40 UTC
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.