[Ceph] Unable to set or get global configuration values via cephadm-ansible task "ceph_config"
Issue
-
Unable to apply and get the value of any Ceph global configuration parameter via cephadm-ansible task
ceph_config. But at the same can be achieved via commandceph config get/set global <configuration parameter> [<value>]Example:
$ ansible-playbook -i hosts cluster-config_new.yml PLAY [set osd_pool_default_size] ********************************************************************************************************************************************************************************** TASK [set the osd_pool_default_size configuration] **************************************************************************************************************************************************************** fatal: [NODE1]: FAILED! => changed=false ansible_facts: discovered_interpreter_python: /usr/libexec/platform-python msg: Can't get current value. who=global option=osd_pool_default_size rc: 1 PLAY RECAP ******************************************************************************************************************************************************************************************************** NODE1 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Environment
- Red Hat Ceph Storage 5.0 - 5.3z2
- Cephadm-ansible version <1.15.0-1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.