Bug 1505150 - Live Merge: Reduce volume fails on nfs storage
Summary: Live Merge: Reduce volume fails on nfs storage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.20.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Ala Hino
QA Contact: Avihai
URL:
Whiteboard:
: 1504718 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-22 13:05 UTC by Ala Hino
Modified: 2017-12-20 11:26 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:26:40 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 83058 0 master MERGED reduce-vol: Add missing argument to sd.reduceVolume 2020-07-14 10:38:45 UTC
oVirt gerrit 83091 0 master MERGED tests: Add test for sd.reduceVolume 2020-07-14 10:38:45 UTC

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.


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