Bug 1036089

Summary: mount.ceph drops the _netdev option resulting in CephFS unmounting after netwerk stop during shutdown
Product: [Fedora] Fedora EPEL Reporter: Rolf Fokkens <rolf>
Component: cephAssignee: Josef Bacik <josef>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: el6CC: josef
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-15 14:02:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
This patch fixes the issue none

Description Rolf Fokkens 2013-11-29 12:07:38 UTC
Description of problem:
CephFS mounts are unmounted after the network is stopped dispite the specification of _netdev. This results in a 2 minute delay during shutdown.

Version-Release number of selected component (if applicable):
ceph-0.67.3-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Specify a CephFS mount in /etc/fstab including a _netdev option
2. Mount the CephFS mount
3. Note the missing _netdev in /etc/mtab
4. Shutdown the system en note that it takes 2 minutes to unmount CephFS

Actual results:
Long delay during Ceph unmount

Expected results:
No delay during Ceph unmount

Additional info:

Comment 1 Rolf Fokkens 2013-11-29 12:11:39 UTC
Created attachment 830622 [details]
This patch fixes the issue

This patch makes mount.ceph store the _netdev option in /etc/mtab but not pass the _netdev option to the kernel.

This makes sure that CephFS mounts are unmounted before the network is stopped.