Bug 1210808 - Cannot add new export domain due to existing connection
Summary: Cannot add new export domain due to existing connection
Keywords:
Status: CLOSED DUPLICATE of bug 1136930
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.5
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.5.1
Assignee: Maor
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-10 15:22 UTC by Adam Litke
Modified: 2016-02-10 17:34 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-14 20:06:17 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
vdsm log (1.88 MB, text/plain)
2015-04-10 15:22 UTC, Adam Litke
no flags Details
engine log (509.80 KB, text/plain)
2015-04-10 15:23 UTC, Adam Litke
no flags Details

Description Adam Litke 2015-04-10 15:22:34 UTC
Created attachment 1013179 [details]
vdsm log

Description of problem:

After trying to import an NFS-based export domain from an empty path, a stale connection to that path prevents creating a new domain there


Version-Release number of selected component (if applicable):
vdsm-4.17.0.3-176.git8e5a63e.fc20.x86_64
ovirt-engine-3.5.1.1

How reproducible: Always


Steps to Reproduce:
1. In the UI, attempt to import an export domain from an empty NFS remote dir
2. After engine reports an error, use the UI to attempt to create a new export domain at that same path

Actual results:

Engine reports the error: 
Error while executing action: Cannot add Storage Connection. Storage connection already exists.


Expected results:

The export domain should be created successfully.
Additional info:

Comment 1 Adam Litke 2015-04-10 15:23:04 UTC
Created attachment 1013180 [details]
engine log

Comment 2 Allon Mureinik 2015-04-12 05:34:27 UTC
Daniel/Maor, iirc, this issue is already tracked in a different BZ?

Comment 3 Maor 2015-04-12 16:37:10 UTC
(In reply to Allon Mureinik from comment #2)
> Daniel/Maor, iirc, this issue is already tracked in a different BZ?

yes, it is a duplicate candidate for https://bugzilla.redhat.com/1136930.


I've tried to reproduce it as Adam described, but it looks that it works on my env.

1. Tried to import an empty export Storage Domain
2. Got the following error:
  "There is no storage domain under the specified path. Check event pane for more details"
3. Validate - Checked the DB table of storage_server_connection - It did not contained the relevant path
4. Try to add a new NFS Storage Domain of the same path and succeeded

Adam, have you used oVirt 3.5.1.1? 
I see that the fix was already merged for oVirt 3.5.1 so it should be there, unless my reproduce steps are different then yours... was the error you got when importing the export domain was the same as mine,  "There is no storage domain under the specified path. Check event pane for more details"?

Comment 4 Adam Litke 2015-04-14 19:17:20 UTC
I am still using an old oVirt-3.5.0 build.  If you guys already addressed this issue in a different bug I am comfortable marking this one as a dup.  If the issue persists in 3.5.1.1+ than that first bug can be reopened.

Comment 5 Allon Mureinik 2015-04-14 20:06:17 UTC
Closing based on that comment.
If we see this problem return in a newer build, we can always reopen the original bz.

*** This bug has been marked as a duplicate of bug 1136930 ***

Comment 6 Jan Tymiński 2016-01-11 15:38:22 UTC
(In reply to Allon Mureinik from comment #5)
> Closing based on that comment.
> If we see this problem return in a newer build, we can always reopen the
> original bz.
> 
> *** This bug has been marked as a duplicate of bug 1136930 ***

I am still affected by this bug in 3.6.1


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