Bug 803622

Summary: [ovirt] [vdsm] disconnect storage pool fails in case master domain is missing
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, amureini, bazulay, ewarszaw, hateya, iheim, mgoldboi, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-12 09:38:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Haim 2012-03-15 09:42:55 UTC
Description of problem:

Action: using vdsClient, try to disconnectStoragePool 
Result: Cannot activate Logical Volumes: ('General Storage Exception: (\'5 [] [\\\'  Volume group "91f4fea6-8cc6-4425-8cd7-247bf0dac703" not found\\\', \\\'  Skipping volume group 91f4fea6-8cc6-4425-8cd7-247bf0dac703\\\']\\n91f4fea6-8cc6-4425-8cd7-247bf0dac703/[\\\'metadata\\\']\',)',)

Scenario: 

- createStoragePool (SAN)
- connectSoragePool
- brutally, remove all storage domains:
  cmd: gremove `vgs --noheadings | awk '!/vg0/{print $1}'` --force
- using vdsClient, disconenctStoragePool

vdsClient 0 disconnectStoragePool  `vdsClient 0 getConnectedStoragePoolsList` 1 `vdsClient 0 getConnectedStoragePoolsList`

Notes:

- we had some work around this scenario in the past, and it used to work, from some reason, code has changed to read master domain metadata - we don't need that.

Comment 1 Itamar Heim 2013-03-12 09:38:02 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.