Bug 1021374
Summary: | Can't remove unattached storage domain (master) after removing the DC | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ohad Basan <obasan> |
Component: | ovirt-engine | Assignee: | Federico Simoncelli <fsimonce> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Leonid Natapov <lnatapov> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.3.0 | CC: | abaron, acanan, acathrow, amureini, eedri, ewarszaw, fsimonce, gickowic, iheim, knesenko, lpeer, Rhev-m-bugs, scohen, yeylon |
Target Milestone: | --- | Keywords: | Regression, TestBlocker |
Target Release: | 3.3.0 | Flags: | amureini:
Triaged+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | storage | ||
Fixed In Version: | is26 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-21 22:20:06 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: | |||
Bug Depends On: | 1021557 | ||
Bug Blocks: | 1044030 |
Description
Ohad Basan
2013-10-21 07:57:56 UTC
All, just to be more focused - The issue is that we can't remove the unattached storage domain (master) after removing the DC, It has nothing to do with automation as manual doesn't work as well. The automation test fails because of the cleanup - the test itself pass. to reproduce - 1. setup DC with one storage domain (master) 2. enter SD to maintenance 3. remove the DC 4. try to remove the SD fails due to - Thread-4486::ERROR::2013-10-27 15:43:20,166::task::850::TaskManager.Task::(_setError) Task=`9b129564-1fcf-4a93-bd7c-10d1625e337f`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 857, in _run return fn(*args, **kargs) File "/usr/share/vdsm/logUtils.py", line 45, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/storage/hsm.py", line 2701, in formatStorageDomain raise se.CannotFormatAttachedStorageDomain(sdUUID) format storage domain for a regular, properly detached domain works. It only fails when the ids stays open/locked by sanlock due to error in flow by engine during remove data center that causes disconnectStorageServer before disconnectStoragePool: [root@aqua-vds4 ~]# grep 'formatStorageDomain' /var/log/vdsm/vdsm.log Thread-169857::INFO::2013-10-27 16:09:53,319::logUtils::44:ispatcher:wrapper) Run and protect: formatStorageDomain(sdUUID='040c5c60-72a9-447a-a0df-b65be3c8311b', autoDetach=False, options=None) Thread-169857:EBUG::2013-10-27 16:09:55,545::resourceManager::197::ResourceManager.Request:__init__) ResName=`Storage.040c5c60-72a9-447a-a0df-b65be3c8311b`ReqID=`88ad1086-857c-4b24-b642-83164915b91b`::Request was made in '/usr/share/vdsm/storage/hsm.py' line '2682' at 'formatStorageDomain' Thread-169857::INFO::2013-10-27 16:10:01,472::logUtils::47:ispatcher:wrapper) Run and protect: formatStorageDomain, Return response: None This is most likely a duplicate of bug 1021557. Please check bug 1021557 comment 9. I can't say if it is dup or not, fede, yours... in case it is please mark as dup' if not and we want to keep them both add comment. Thanks. verified using is24.1 following steps in comment #4 is26. tested as described in comment #4. Master SD was successfully removed. Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |