Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 717225

Summary: Export Domain can not be attached to Data Center
Product: Red Hat Enterprise Linux 6 Reporter: Rami Vaknin <rvaknin>
Component: vdsmAssignee: Eduardo Warszawski <ewarszaw>
Status: CLOSED WONTFIX QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2CC: abaron, bazulay, danken, ewarszaw, iheim, mgoldboi, sgrinber, srevivo, yeylon, ykaul
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-29 10:55:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
VDSM Logs none

Description Rami Vaknin 2011-06-28 12:18:41 UTC
Created attachment 510259 [details]
VDSM Logs

Environment:
RHEVM 3.0 on dev env, backend on RHEL6, last commit bfe62be32c7ff836ba7784c807fef91d59e3a2fc
vdsm-4.9-77.el6.x86_64

Scenario:
1. Create new export domain or import an old one
2. Attach the export domain into data center

Results:
Attachement of export domain fails due to difference between the export domain version to the master storage domain version


Thread-61194::ERROR::2011-06-28 14:24:59,771::task::865::TaskManager.Task::(_setError) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 873, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/spm.py", line 115, in run
    return self.func(*args, **kwargs)
  File "/usr/share/vdsm/storage/spm.py", line 1119, in public_attachStorageDomain
    pool.attachSD(sdUUID)
  File "/usr/share/vdsm/storage/sp.py", line 650, in attachSD
    raise se.MixedSDVersionError(dom.sdUUID, dom.getVersion(), self.masterDomain.sdUUID, self.masterDomain.getVersion())
MixedSDVersionError: Domain `5b31ce31-93af-4c7e-8c7b-42d3e9239847` version (0) is different from msd 89508339-fed1-4729-ae96-66c11848d456 version (2): ''
Thread-61194::DEBUG::2011-06-28 14:24:59,772::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: Task._run: 51b9f5ff-4217-4746-839c-af4acb3162b8 ('5b31ce31-93af-4c7e-8c7b-42d3e9239847', '0069427d-ff65-4abd-a
bb7-58d555e4fea7') {} failed - stopping task
Thread-61194::DEBUG::2011-06-28 14:24:59,772::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: stopping in state preparing (force False)
Thread-61194::DEBUG::2011-06-28 14:24:59,772::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: ref 1 aborting True
Thread-61194::INFO::2011-06-28 14:24:59,773::task::1177::TaskManager.Task::(prepare) aborting: Task is aborted: 'Domain `5b31ce31-93af-4c7e-8c7b-42d3e9239847` version (0) is different from msd 89508339-fed1-4729-ae96-66c11848d456 version
 (2)' - code 398
Thread-61194::DEBUG::2011-06-28 14:24:59,773::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: Prepare: aborted: Domain `5b31ce31-93af-4c7e-8c7b-42d3e9239847` version (0) is different from msd 89508339-fed
1-4729-ae96-66c11848d456 version (2)
Thread-61194::DEBUG::2011-06-28 14:24:59,773::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: ref 0 aborting True
Thread-61194::DEBUG::2011-06-28 14:24:59,773::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: Task._doAbort: force False
Thread-61194::DEBUG::2011-06-28 14:24:59,774::resourceManager::821::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}
Thread-61194::DEBUG::2011-06-28 14:24:59,774::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: moving from state preparing -> state aborting
Thread-61194::DEBUG::2011-06-28 14:24:59,774::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: _aborting: recover policy none
Thread-61194::DEBUG::2011-06-28 14:24:59,775::task::492::TaskManager.Task::(_debug) Task 51b9f5ff-4217-4746-839c-af4acb3162b8: moving from state aborting -> state failed
Thread-61194::DEBUG::2011-06-28 14:24:59,775::resourceManager::786::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {'Storage.5b31ce31-93af-4c7e-8c7b-42d3e9239847': < ResourceRef 'Storage.5b31ce31-93af-4c7e-8c7
b-42d3e9239847', isValid: 'True' obj: 'None'>, 'Storage.0069427d-ff65-4abd-abb7-58d555e4fea7': < ResourceRef 'Storage.0069427d-ff65-4abd-abb7-58d555e4fea7', isValid: 'True' obj: 'None'>}
Thread-61194::DEBUG::2011-06-28 14:24:59,775::resourceManager::821::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}
Thread-61194::DEBUG::2011-06-28 14:24:59,776::resourceManager::517::ResourceManager::(releaseResource) Trying to release resource 'Storage.5b31ce31-93af-4c7e-8c7b-42d3e9239847'
Thread-61194::DEBUG::2011-06-28 14:24:59,776::resourceManager::532::ResourceManager::(releaseResource) Released resource 'Storage.5b31ce31-93af-4c7e-8c7b-42d3e9239847' (0 active users)
Thread-61194::DEBUG::2011-06-28 14:24:59,776::resourceManager::537::ResourceManager::(releaseResource) Resource 'Storage.5b31ce31-93af-4c7e-8c7b-42d3e9239847' is free, finding out if anyone is waiting for it.
Thread-61194::DEBUG::2011-06-28 14:24:59,777::resourceManager::544::ResourceManager::(releaseResource) No one is waiting for resource 'Storage.5b31ce31-93af-4c7e-8c7b-42d3e9239847', Clearing records.
Thread-61194::DEBUG::2011-06-28 14:24:59,777::resourceManager::517::ResourceManager::(releaseResource) Trying to release resource 'Storage.0069427d-ff65-4abd-abb7-58d555e4fea7'
Thread-61194::DEBUG::2011-06-28 14:24:59,777::resourceManager::532::ResourceManager::(releaseResource) Released resource 'Storage.0069427d-ff65-4abd-abb7-58d555e4fea7' (0 active users)
Thread-61194::DEBUG::2011-06-28 14:24:59,778::resourceManager::537::ResourceManager::(releaseResource) Resource 'Storage.0069427d-ff65-4abd-abb7-58d555e4fea7' is free, finding out if anyone is waiting for it.
Thread-61194::DEBUG::2011-06-28 14:24:59,778::resourceManager::544::ResourceManager::(releaseResource) No one is waiting for resource 'Storage.0069427d-ff65-4abd-abb7-58d555e4fea7', Clearing records.
Thread-61194::ERROR::2011-06-28 14:24:59,778::dispatcher::103::Storage.Dispatcher.Protect::(run) {'status': {'message': "Domain `5b31ce31-93af-4c7e-8c7b-42d3e9239847` version (0) is different from msd 89508339-fed1-4729-ae96-66c11848d456 version (2): ''", 'code': 398}}

Comment 1 Eduardo Warszawski 2011-06-28 15:09:38 UTC
http://gerrit.usersys.redhat.com/#change,628

Comment 5 RHEL Program Management 2011-06-29 10:55:18 UTC
Quality Engineering Management has reviewed and declined this request.  You may
appeal this decision by reopening this request.