Bug 810499

Summary: [vdsm] Directory is not removed if storage domain creation fails
Product: [Retired] oVirt Reporter: Jakub Libosvar <jlibosva>
Component: vdsmAssignee: Mark Wu <wudxw>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, amureini, bazulay, dyasny, iheim, mgoldboi, wudxw, ykaul
Target Milestone: ---   
Target Release: 3.3.4   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-30 22:50:36 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:
Attachments:
Description Flags
vdsm log none

Description Jakub Libosvar 2012-04-06 13:07:07 UTC
Created attachment 575738 [details]
vdsm log

Description of problem:
If wrong path for NFS domain is filled in GUI, it fails nicely but mount-point directory for that domain is not removed on host in /rhev/data-center/mnt.

Version-Release number of selected component (if applicable):
vdsm-4.9.6-5.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Try to create NFS SD with wrong path (e.g. example.com:_export_1234)
2. Check /rhev/data-center/mnt directory on SPM
  
Actual results:
There is example.com:_export_1234 directory

Expected results:
Directory is removed in case domain creation fails

Additional info:

Comment 1 Mark Wu 2012-05-10 09:44:46 UTC
Post patch to:
http://gerrit.ovirt.org/#change,4298

Comment 2 Itamar Heim 2013-01-30 22:50:36 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.