DescriptionTridibesh Chakraborty
2023-06-09 09:17:01 UTC
Description of problem:
Unable to get Ceph configuration value via Cephadm ansible playbook using module ceph_config
Version-Release number of selected component (if applicable):
RHCS 5.3z3 (16.2.10-172.el8cp)
How reproducible:
It is happening all the time if we choose specific few ceph configuration parameters
Steps to Reproduce:
1. Write a cephadm-ansible playbook using ceph_config task
2. Try to get the value of a Ceph configuration (example, mgr/dashboard/<NODE_NAME>/server_addr)
3. The task fails to get the value, although same value can be retrieved via ceph config dump.
Actual results:
It is failed to fetch the value
~~~
TASK [get the mgr/dashboard/<NODE_NAME>/server_addr configuration] ******************************************************************************************************************************************************
task path: /usr/share/cephadm-ansible/test.yml:7
ok: [rhcs5-admin] => changed=false
ansible_facts:
discovered_interpreter_python: /usr/libexec/platform-python
cmd:
- cephadm
- shell
- ceph
- config
- dump
- --format
- json
delta: '0:00:02.256076'
end: '2023-06-07 18:02:25.640664'
rc: 0
start: '2023-06-07 18:02:23.384588'
stderr: No value found for who=mgr option=mgr/dashboard/<NODE_NAME>/server_addr <=== Unable to find the config parameter
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
~~~
Expected results:
It should be able to fetch the value
Additional info:
It is not happening for all the ceph configuration parameters, I have noticed it for the parameter mgr/dashboard/<NODE_NAME>/server_addr.
Description of problem: Unable to get Ceph configuration value via Cephadm ansible playbook using module ceph_config Version-Release number of selected component (if applicable): RHCS 5.3z3 (16.2.10-172.el8cp) How reproducible: It is happening all the time if we choose specific few ceph configuration parameters Steps to Reproduce: 1. Write a cephadm-ansible playbook using ceph_config task 2. Try to get the value of a Ceph configuration (example, mgr/dashboard/<NODE_NAME>/server_addr) 3. The task fails to get the value, although same value can be retrieved via ceph config dump. Actual results: It is failed to fetch the value ~~~ TASK [get the mgr/dashboard/<NODE_NAME>/server_addr configuration] ****************************************************************************************************************************************************** task path: /usr/share/cephadm-ansible/test.yml:7 ok: [rhcs5-admin] => changed=false ansible_facts: discovered_interpreter_python: /usr/libexec/platform-python cmd: - cephadm - shell - ceph - config - dump - --format - json delta: '0:00:02.256076' end: '2023-06-07 18:02:25.640664' rc: 0 start: '2023-06-07 18:02:23.384588' stderr: No value found for who=mgr option=mgr/dashboard/<NODE_NAME>/server_addr <=== Unable to find the config parameter stderr_lines: <omitted> stdout: '' stdout_lines: <omitted> ~~~ Expected results: It should be able to fetch the value Additional info: It is not happening for all the ceph configuration parameters, I have noticed it for the parameter mgr/dashboard/<NODE_NAME>/server_addr.