Bug 1206585

Summary: bind-mount conversion not adding "bind" to options, resource fails to start
Product: [Fedora] Fedora Reporter: Patrik Hagara <phagara>
Component: clufterAssignee: Jan Pokorný [poki] <jpokorny>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jpokorny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-02 15:19:41 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1182358    
Attachments:
Description Flags
cluster.conf with bind-mount resource none

Description Patrik Hagara 2015-03-27 13:20:57 UTC
Description of problem:
Clufter does not add "bind" to the "options" option of filesystem resource. Because of this the resource fails to start when config is deployed.

Version-Release number of selected component (if applicable):
next branch, commit f5fa0f8fccacb1bdc76ec792df34f9bf373f8229

How reproducible:
always

Steps to Reproduce:
1. working cluster.conf with bind-mount resource
2. convert with clufter
3. deploy to pacemaker cluster

Actual results:
$ pcs status
...
RESOURCE-bind-mount-foo	(ocf::heartbeat:Filesystem):	Stopped
...
RESOURCE-bind-mount-foo_start_0 on host-028.example.com 'unknown error' (1): call=44, status=complete, exit-reason='Couldn't mount filesystem /var on /mnt/foo', last-rc-change='Fri Mar 27 08:05:36 2015', queued=0ms, exec=109ms
...

Expected results:
bind mount converted to working bind mount

Additional info:
none

Comment 1 Patrik Hagara 2015-04-01 14:06:26 UTC
Created attachment 1009682 [details]
cluster.conf with bind-mount resource

Comment 2 Jan Pokorný [poki] 2015-04-02 15:19:41 UTC
Fixed upstream as of:
https://github.com/jnpkrn/clufter/commit/be5f2b1411d43270c35b4a9c8452c996064eaba9