Description of problem: ====================== Created a ceph cluster using ceph-ansible and in the 'all' file update the cluster name as "cluster: master" and the same is not getting reflecting after the configuration is done. The contents of /etc/ceph directory still shows ceph.conf file and not master.conf The container are running on atomic hosts. [root@dhcp43-179 ceph-ansible]# cat group_vars/all |grep cluster cluster: master [root@dhcp43-179 ceph-ansible]# Other parameters given in 'all' file : ceph_mon_docker_username: hchen ceph_mon_docker_imagename: rhceph2 ceph_osd_docker_username: hchen ceph_osd_docker_imagename: rhceph2 mon_containerized_deployment: 'true' osd_containerized_deployment: 'true' ceph_mon_docker_interface: eth0 ceph_mon_docker_subnet: 10.70.37.0/23 ceph_osd_docker_extra_env: "CEPH_DAEMON=OSD_CEPH_DISK,OSD_JOURNAL_SIZE=100" ceph_osd_docker_devices: "[ '/dev/sdb', '/dev/sdc', '/dev/sdd', '/dev/sde' ]" [root@dhcp37-41 /]# ll /etc/ceph/ total 20 -rw-------. 1 root root 137 Aug 8 10:56 ceph.client.admin.keyring -rw-r--r--. 1 root root 841 Aug 8 10:56 ceph.conf -rw-------. 1 ceph ceph 77 Aug 8 10:56 ceph.mon.keyring -rw-r--r--. 1 ceph ceph 195 Aug 8 10:56 monmap For RBD mirroring cases cluster names are needed. This blocks in verifying those all. Version-Release number of selected component (if applicable): ============================================================= ceph version 10.2.2-5.el7cp (49c93ac9dceaa9318129ece8b0f45a3968d9c981) How reproducible: ================= 100% Steps to Reproduce: 1. Use ceph-ansible script to configure the cluster. Update the cluster name in group_vars/all file. Actual results: Expected results: Additional info:
https://github.com/ceph/ceph-ansible/pull/915
The default cluster name doesn't work. I have tried couple of times with ansible as well too.
Do you mean you tried with the name "ceph" and it failed?
Yes, with the default cluster name as 'ceph', it doesn't work.
(In reply to Bhaskarakiran from comment #8) > Yes, with the default cluster name as 'ceph', it doesn't work. Please provide log output from ceph-ansible, output of ceph.conf and /var/lib/ceph/ contents, and anything else that might explain how this doesn't work
The setup is no more. Will update the logs once its ready.
Can you provide a copy of vagrant_variables.yml and group_vars/all, please.
I will update the files once the setup is ready.
Created attachment 1202458 [details] group_vars/all
Created attachment 1202459 [details] varant_variables.yml
We test containerized deployments upstream now with custom cluster names, I believe this should be fixed.
Verified with below version ceph-ansible-2.2.7-1.el7scon.noarch ansible-2.2.3.0-1.el7.noarch Able to bring up cluster having name other than 'ceph'
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1496