Description of problem: In a working cluster, after adding mon host under [restapis] in 'hosts' file and rerunning the playbook, the calamari-ctl initialize fails with following messages in /var/log/messages: Apr 6 12:12:58 magna013 yum[15292]: Installed: calamari-server-1.4.0-0.2.rc6.el7cp.x86_64 Apr 6 12:12:58 magna013 python: detected unhandled Python exception in '/opt/calamari/venv/bin/calamari-lite' Apr 6 12:12:58 magna013 abrt-server: Package 'calamari-server' isn't signed with proper key Apr 6 12:12:58 magna013 abrt-server: 'post-create' on '/var/spool/abrt/Python-2016-04-06-12:12:58-15348' exited with 1 Apr 6 12:12:58 magna013 abrt-server: Deleting problem directory '/var/spool/abrt/Python-2016-04-06-12:12:58-15348' Apr 6 12:12:59 magna013 python: detected unhandled Python exception in '/opt/calamari/venv/bin/calamari-lite' Apr 6 12:12:59 magna013 python: ansible-command Invoked with creates=None executable=None chdir=None args=calamari-ctl initialize removes=None NO_LOG=None shell=False warn=True Apr 6 12:13:00 magna013 abrt-server: Not saving repeating crash in '/opt/calamari/venv/bin/calamari-lite' Apr 6 12:14:00 magna013 systemd-logind: Removed session 246. Version-Release number of selected component (if applicable): 10.1.0-1.el7cp How reproducible: always Steps to Reproduce: 1. create cluster using ceph-ansible. 2. add the mon node under [restapis] in "hosts" file 3. Re-run the ceph-ansible command to create the cluster Actual results: Expected results: Additional info:
Created attachment 1144223 [details] mon logs file.
Created attachment 1144224 [details] ceph-ansible files
Harish I believe this error is caused by https://bugzilla.redhat.com/show_bug.cgi?id=1326131 Would you please attempt the following work-around to confirm? On nodes that you intend to be monitors enable the storage-console puddle and cd /etc/yum.repos.d && sudo curl \ http://puddle.ceph.redhat.com/puddles/rhscon/2/latest/RHSCON-2.repo -O yum install salt-minion salt-common then install calamari using ceph-ansible. If the problem disappears you'll know that it's the same problem as in 1326131 Either way would you please let me know here?
I had already installed salt-minion. When I tried installing salt-common, it failed saying "No package salt-common available.". I did not find salt-common in http://puddle.ceph.redhat.com/puddles/rhscon/2/2016-04-10.1/RHSCON-2/x86_64/os/Packages/. Logs: ====== [root@magna013 yum.repos.d]# cat RHSCON-2.repo [RHSCON-2] name=RHSCON-2 baseurl=http://puddle.ceph.redhat.com/puddles/rhscon/2/2016-04-10.1/RHSCON-2/$basearch/os gpgcheck=0 enabled=1 [RHSCON-2-debug] name=RHSCON-2 Debuginfo baseurl=http://puddle.ceph.redhat.com/puddles/rhscon/2/2016-04-10.1/RHSCON-2/$basearch/debuginfo gpgcheck=0 enabled=0 [RHSCON-2-sources] name=RHSCON-2 Sources baseurl=http://puddle.ceph.redhat.com/puddles/rhscon/2/2016-04-10.1/RHSCON-2/source gpgcheck=0 enabled=0 [root@magna013 yum.repos.d]# yum install salt-minion salt-common Loaded plugins: fastestmirror, langpacks, priorities, product-id, search-disabled-repos, subscription-manager Loading mirror speeds from cached hostfile Package salt-minion-2015.5.5-1.el7.noarch already installed and latest version No package salt-common available. Nothing to do [root@magna013 yum.repos.d]#
*** This bug has been marked as a duplicate of bug 1326131 ***