Bug 1201290 - [ccs2pcs] Samba resource conversion does not preserve any option
Summary: [ccs2pcs] Samba resource conversion does not preserve any option
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: 1208128
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-12 13:17 UTC by Patrik Hagara
Modified: 2015-04-03 13:59 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-03 13:59:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Patrik Hagara 2015-03-12 13:17:43 UTC
Description of problem:
All options of Samba server cman resource agent are ignored by clufter in the conversion process.

Version-Release number of selected component (if applicable):
6653eb19834b66b3dde4dafc1e4533e4a00df748 from next branch

How reproducible:
always

Steps to Reproduce:
1. try converting cman cluster.conf containing samba resource with some options defined

Actual results:
resource gets converted to native LSB/systemd resource without migrating any of the options or printing any warning.

Expected results:
Show a warning that no options were migrated and should be changed in the respective system-wide config file on each node (if required).

Additional info:
none

Comment 1 Jan Pokorný [poki] 2015-04-03 11:40:51 UTC
Very reasonable suggestion, thanks.

Comment 2 Jan Pokorný [poki] 2015-04-03 13:59:21 UTC
Fixed upstream as of
https://github.com/jnpkrn/clufter/commit/894b76f8f949197175bd7aa5a3a83c3a04796e65

During the conversion involving samba resource, following is output:
> [ccsflat2cibprelude] XSLT: NOTE: cannot convert samba resource directly,
> hence some configuration bits can be lost (config_file,smbd_options,
> nmbd_options)


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