Bug 766570 - [Text] Storage: Can't remove NFS pool with all domains deactivated: "domain does not exist"
Summary: [Text] Storage: Can't remove NFS pool with all domains deactivated: "domain d...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: unspecified
Hardware: Unspecified
OS: Linux
medium
low
Target Milestone: ---
: 3.4.0
Assignee: Tal Nisan
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-12 11:07 UTC by Daniel Paikov
Modified: 2016-02-10 17:18 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-16 09:48:11 UTC
oVirt Team: Storage
Target Upstream Version:
scohen: needinfo+


Attachments (Terms of Use)
vdsm.log (127.79 KB, application/x-compressed-tar)
2011-12-12 11:54 UTC, Daniel Paikov
no flags Details

Description Daniel Paikov 2011-12-12 11:07:05 UTC
* Pool with several domains.
* Deactivate all domains, including master.
* Try to remove DC.
* Failure on VDSM side because it can't find some of the domains, even though they all exist.

Comment 3 Daniel Paikov 2011-12-12 11:54:05 UTC
Created attachment 545688 [details]
vdsm.log

Woops. Attach didn't work for some reason the first time.

Comment 4 Dan Kenigsberg 2011-12-12 12:08:57 UTC
Thread-46675::ERROR::2011-12-12 13:03:56,509::task::868::TaskManager.Task::(_setError) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 876, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/hsm.py", line 621, in public_destroyStoragePool
    self.spm.detachAllDomains(pool)
  File "/usr/share/vdsm/storage/spm.py", line 115, in run
    return self.func(*args, **kwargs)
  File "/usr/share/vdsm/storage/spm.py", line 1050, in detachAllDomains
    pool.detachSD(sdUUID=sdUUID, msdUUID=sd.BLANK_UUID, masterVersion=0)
  File "/usr/share/vdsm/storage/sp.py", line 703, in detachSD
    dom = SDF.produce(sdUUID)
  File "/usr/share/vdsm/storage/sdf.py", line 30, in produce
    newSD = cls.__sdc.lookup(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 77, in lookup
    dom = self._findDomain(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 101, in _findDomain
    raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist: ('ab800c64-3caa-4c28-b61f-c3073d487c50',)

It is not surprising that you are unable to perform a pool operation without an active master domain. The error message could have been prettier, though.

Comment 5 RHEL Program Management 2012-05-04 04:04:52 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 7 Ayal Baron 2012-08-15 07:29:45 UTC
Sounds to me like the issue is that engine disconnected the host from the storage and it cannot reach any of the domains.
If this is correct then this is an engine bug.

Comment 8 RHEL Program Management 2012-12-14 06:56:08 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.


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