Bug 1206585 - bind-mount conversion not adding "bind" to options, resource fails to start
Summary: bind-mount conversion not adding "bind" to options, resource fails to start
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: clufter
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Pokorný [poki]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1182358
TreeView+ depends on / blocked
 
Reported: 2015-03-27 13:20 UTC by Patrik Hagara
Modified: 2015-04-02 15:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-02 15:19:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
cluster.conf with bind-mount resource (364 bytes, text/plain)
2015-04-01 14:06 UTC, Patrik Hagara
no flags Details

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


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