Bug 672055

Summary: Unhandled Exception in setStorageDomainDescription
Product: Red Hat Enterprise Linux 6 Reporter: Moran Goldboim <mgoldboi>
Component: vdsmAssignee: Igor Lvovsky <ilvovsky>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.1CC: abaron, bazulay, iheim, lpeer, mgoldboi, rvaknin, srevivo
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdsm-4_9-44_el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-19 15:22:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
vdsm log none

Description Moran Goldboim 2011-01-23 15:56:39 UTC
Created attachment 474829 [details]
vdsm log

When changing a name of ISO storage domain, the operation fails due to unhandeled exception of the setStorageDomainDescription operation in VDSM.

Scenario:
Go to the Storage tab in the front-end, choose an active iso domain and click on Edit, change the name and click on OK, an error message appears: "Operation Canceled   Internal THEVM Error (Error code: VDC)", and the state of all the storage domains (both iscsi and nfs) change to Inactive for few minutes (due to SPM failover).


Attachements: VDSM log.

Comment 1 Moran Goldboim 2011-01-23 15:59:21 UTC
from vdsm log:
Thread-3559::ERROR::2011-01-23 16:53:36,071::task::854::TaskManager.Task::(_setError) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 862, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/hsm.py", line 1264, in public_setStorageDomainDescription
    self.spm.setDomainDescription(spUUID=spUUID, sdUUID=sdUUID, description=description)
  File "/usr/share/vdsm/storage/spm.py", line 110, in run
    return self.func(*args, **kwargs)
  File "/usr/share/vdsm/storage/spm.py", line 1104, in setDomainDescription
    vars.task.getExclusiveLock(STORAGE, sdUUID)
  File "/usr/share/vdsm/storage/task.py", line 1306, in getExclusiveLock
    self.resOwner.acquire(namespace, resName, resourceManager.LockType.exclusive, timeout)
  File "/usr/share/vdsm/storage/resourceManager.py", line 673, in acquire
    raise ValueError("Owner %s: acquire: resource %s is already acquired" % (str(self), fullName))
ValueError: Owner 3f35de87-5f55-4647-92b6-839e9d7b6714: acquire: resource Storage.e669a9c4-aecb-46d0-b092-9f654141181f is already acquired

Comment 3 Moran Goldboim 2011-02-02 18:42:37 UTC
verified - changed active iso domain successfully 
e0307110d562c4b4b612582e37b2c8884247e2e8

Comment 4 Moran Goldboim 2011-02-02 18:44:25 UTC
vdsm-4.9-47.el6.x86_64