Bug 1645310

Summary: rolling_update failed with "Unsupported parameters for (copy) module: original_basename..."
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Tiffany Nguyen <tunguyen>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED NOTABUG QA Contact: Tiffany Nguyen <tunguyen>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.1CC: aschoen, ceph-eng-bugs, gmeno, hnallurv, jharriga, kdreyer, nthomas, rlondhe, sankarshan, tunguyen, vakulkar
Target Milestone: rc   
Target Release: 3.2   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1728960 (view as bug list) Environment:
Last Closed: 2018-11-07 11:21:45 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: 1641792, 1728960    
Attachments:
Description Flags
ansible-playbook full log none

Description Tiffany Nguyen 2018-11-01 22:12:40 UTC
Created attachment 1500263 [details]
ansible-playbook full log

Description of problem:
When upgrade from ceph 3.1 to 3.2, rolling_update.yml failed when using ansible 2.6.

TASK [ceph-config : generate ceph configuration file: ceph.conf] ***************************************************************************************
Thursday 01 November 2018  16:47:26 +0000 (0:00:00.264)       0:06:20.515 ***** 
fatal: [c05-h33-6018r]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (copy) module: original_basename Supported parameters include: _original_basename, attributes, backup, checksum, content, delimiter, dest, directory_mode, follow, force, group, local_follow, mode, owner, regexp, remote_src, selevel, serole, setype, seuser, src, unsafe_writes, validate"}
 
Version-Release number of selected component (if applicable):
1. Ceph version 3.1 (12.2.5-42.el7cp)
2. Ansible: 2.6.6-1.el7ae
3. Ceph-ansible: 3.2.0-0.1.rc1.el7cp  

How to reproduce:
Deploy cluster with ceph version 3.1 running, then perform upgrade to ceph 3.2

Steps to Reproduce:
1. Cluster running ceph-ansible 3.1(3.1.5-1.el7cp) and ansible 2.4 (2.4.2.0-2.el7)
2. Upgrade ceph-asible to 3.2 (3.2.0-0.1.rc1.el7cp) and ansible 2.6 (2.6.6-1.el7ae)
3. Perform upgrade to ceph 3.1 using ansible-playbook:
   # ansible-playbook rolling_update.yml

Actual results:
Failed with error below:
TASK [ceph-config : generate ceph configuration file: ceph.conf] ***************************************************************************************
Thursday 01 November 2018  16:47:26 +0000 (0:00:00.264)       0:06:20.515 ***** 
fatal: [c05-h33-6018r]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (copy) module: original_basename Supported parameters include: _original_basename, attributes, backup, checksum, content, delimiter, dest, directory_mode, follow, force, group, local_follow, mode, owner, regexp, remote_src, selevel, serole, setype, seuser, src, unsafe_writes, validate"}

Expected results:
Upgrade should work without any issue.

Comment 3 Vasu Kulkarni 2018-11-02 18:14:06 UTC
This is a blocker for upgrade test

Comment 4 Sébastien Han 2018-11-05 13:28:36 UTC
You shouldn't have this issue if you use ansible 2.6.
Can we access the env to further debug? THanks

Comment 6 Sébastien Han 2018-11-07 11:21:45 UTC
Tiffany, you are not running the right ceph-ansible version.
You have 2 versions on your system, one in /root/ceph-ansible which is incorrect (looks like a 3.1.X) and one in /usr/share/ceph-ansible which is definitely 3.2, the later is the one you should use.

I'm closing this as not a bug.