Bug 1774367 - Unsupported parameters for (copy) module
Summary: Unsupported parameters for (copy) module
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: 3.*
Assignee: Guillaume Abrioux
QA Contact: Vasishta
URL:
Whiteboard:
: 1853381 (view as bug list)
Depends On:
Blocks: 1578730
TreeView+ depends on / blocked
 
Reported: 2019-11-20 07:01 UTC by Ravi Singh
Modified: 2020-07-08 13:51 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-26 09:11:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Ravi Singh 2019-11-20 07:01:44 UTC
Description of problem:
I have been deploying OSP13z9 in lab environment & deployment failed with below error on ceph-ansible workflow. It looks to me problem with copy module with original_basename parameter.

~~~
019-11-19 09:22:16,753 p=16174 u=mistral |  Tuesday 19 November 2019  09:22:16 -0500 (0:00:00.533)       0:01:22.804 ****** 
2019-11-19 09:22:18,659 p=16174 u=mistral |  fatal: [172.16.0.22]: 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"}
2019-11-19 09:22:18,661 p=16174 u=mistral |  PLAY RECAP *********************************************************************
2019-11-19 09:22:18,661 p=16174 u=mistral |  172.16.0.21                : ok=2    changed=0    unreachable=0    failed=0   
2019-11-19 09:22:18,661 p=16174 u=mistral |  172.16.0.22                : ok=41   changed=4    unreachable=0    failed=1   
2019-11-19 09:22:18,661 p=16174 u=mistral |  172.16.0.24                : ok=2    changed=0    unreachable=0    failed=0   
2019-11-19 09:22:18,662 p=16174 u=mistral |  172.16.0.25                : ok=2    changed=0    unreachable=0    failed=0   
2019-11-19 09:22:18,662 p=16174 u=mistral |  172.16.0.27                : ok=2    changed=0    unreachable=0    failed=0   
2019-11-19 09:22:18,662 p=16174 u=mistral |  172.16.0.32                : ok=2    changed=0    unreachable=0    failed=0   
2019-11-19 09:22:18,662 p=16174 u=mistral |  INSTALLER STATUS ***************************************************************
2019-11-19 09:22:18,665 p=16174 u=mistral |  Install Ceph Monitor        : In Progress (0:01:05)
2019-11-19 09:22:18,666 p=16174 u=mistral |     This phase can be restarted by running: roles/ceph-mon/tasks/main.yml
2019-11-19 09:22:18,666 p=16174 u=mistral |  Tuesday 19 November 2019  09:22:18 -0500 (0:00:01.912)       0:01:24.717 ****** 
2019-11-19 09:22:18,666 p=16174 u=mistral |  =============================================================================== 
~~~

Just to hack I changed parameter 'original_basename' to '_original_basename' in below files & deployment succeded, but that's something we will recommend to customers.

~~~
/usr/share/ceph-ansible/plugins/actions/_v1_config_template.py
/usr/share/ceph-ansible/plugins/actions/_v2_config_template.py
/usr/share/ceph-ansible/roles/ceph-common/plugins/actions/_v1_config_template.py
~~~

[root@undercloud ~]# ansible --version
ansible 2.6.19
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Jun 11 2019, 14:33:56) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]


Version-Release number of selected component (if applicable):

OSP13
How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Deployment failed.

Expected results:

The deployment should succeed.

Additional info:

Comment 1 Giulio Fidente 2019-11-20 15:21:02 UTC
Not sure what version of ceph-ansible is this?

Comment 8 Giulio Fidente 2020-07-08 13:51:47 UTC
*** Bug 1853381 has been marked as a duplicate of this bug. ***


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