Created attachment 735599[details]
logs
Description of problem:
I have two DC's both rhevm 3.0 (metadata v1).
I upgraded one DC and after I upgraded I moved/removed the disks on one of the domains -> detached and removed it in an orderly way.
I tried adding this lun to the second 3.0 DC (metadata v1 as well) and the lun is shown as used.
we seem to be removing the lun but leaving some leftovers so that if we try to attach it again after removing it is shown as used.
Version-Release number of selected component (if applicable):
sf13.1
upgrade from vdsm-4.10.2-1.9.el6ev.x86_64 to vdsm-4.10.2-15.0.el6ev.x86_64
How reproducible:
100%
Steps to Reproduce:
1. create two iscsi DC's in 3.0 with format v1 with 2 storage domains on each DC
2. create vm's (images and volumes) on all domains
3. uprgade one of the DC's
4. move/remove the images/volumes from one of the upgraded domains
5. detach and remove the domain
6. try to add the domain as a new domain in the second DC (who is still v1).
Actual results:
domain is shown as used
Expected results:
domain should not be shown as used.
Additional info: logs
Dafna, domains are never 'used', LUNs are used.
LUNs are never upgraded, domains are upgraded.
IIUC, the flow is:
create a domain on LUN in setup 1, remove the domain, try to use the LUN on setup 2, Is this correct?
Is it through the same host that you moved between setups or did you use separate hosts?
Did all hosts see the LUN from the beginning (lun mapping)?
Did you check why it failed?
Forcing creation, were you able to create the domain?
Created attachment 735599 [details] logs Description of problem: I have two DC's both rhevm 3.0 (metadata v1). I upgraded one DC and after I upgraded I moved/removed the disks on one of the domains -> detached and removed it in an orderly way. I tried adding this lun to the second 3.0 DC (metadata v1 as well) and the lun is shown as used. we seem to be removing the lun but leaving some leftovers so that if we try to attach it again after removing it is shown as used. Version-Release number of selected component (if applicable): sf13.1 upgrade from vdsm-4.10.2-1.9.el6ev.x86_64 to vdsm-4.10.2-15.0.el6ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. create two iscsi DC's in 3.0 with format v1 with 2 storage domains on each DC 2. create vm's (images and volumes) on all domains 3. uprgade one of the DC's 4. move/remove the images/volumes from one of the upgraded domains 5. detach and remove the domain 6. try to add the domain as a new domain in the second DC (who is still v1). Actual results: domain is shown as used Expected results: domain should not be shown as used. Additional info: logs