Bug 1023739

Summary: Cannot create same Local SD path on different Hosts
Product: Red Hat Enterprise Virtualization Manager Reporter: Gilad Chaplik <gchaplik>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, amureini, dfediuck, iheim, lpeer, Rhev-m-bugs, s.kieske, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: is23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:11:22 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:
Bug Depends On:    
Bug Blocks: 1027349, 1032811    

Description Gilad Chaplik 2013-10-27 14:33:04 UTC
Description of problem:
Can't create more than 1 local storage domain with the same path. blocked by engine's validation.

How reproducible:
100%

Steps to Reproduce:
1. create local SD on host A with path xxx
2. create another SD on host B with path xxx


Actual results:
fails on ACTION_TYPE_FAILED_STORAGE_CONNECTION_ALREADY_EXISTS

Additional info:
There is another issue, if the operation fails (i.e AddStorageServerConnectionCommand fails), the record isn't being deleted from the SD connections table (that's how I managed to come across this bug).

Comment 1 Sven Kieske 2013-11-12 11:43:57 UTC
*** Bug 1029107 has been marked as a duplicate of this bug. ***

Comment 2 Sven Kieske 2013-11-12 12:46:03 UTC
Can this fix be included in 3.3.1 release?
Can this therfore be added as a blocker for the release tracker bug?

We need this feature

Comment 3 Allon Mureinik 2013-11-13 11:58:46 UTC
(In reply to Sven Kieske from comment #2)
> Can this fix be included in 3.3.1 release?
> Can this therfore be added as a blocker for the release tracker bug?
> 
> We need this feature
It is merged to the ovirt-engine-3.3 branch. Once 3.3.1 will be created, it should be there.

Comment 4 Elad 2013-11-14 09:17:16 UTC
Creation of 2 local storage domains residing on different data centers from 2 different hosts with the same storage connection path was done without any issue.

Checked on is23
rhevm-3.3.0-0.33.beta1.el6ev.noarch
vdsm-4.13.0-0.8.beta1.el6ev.x86_64

Comment 5 Sven Kieske 2013-11-15 10:23:18 UTC
I can confirm that this works after upgrading from ovirt-engine 3.3.1 to 3.3.1-2

fixed for me.

Thanks for your support!

Comment 6 Itamar Heim 2014-01-21 22:11:22 UTC
Closing - RHEV 3.3 Released