On Fri, May 20, 2016 at 7:32 PM, Daniel Wilhelm <shieldwed@xxxxxxxxxxx> wrote: > Hi > > > > I relieved to have found a solution to this problem. > > > > The ansible script for generating the key did not pass the key to the > following command line and sent therefore an empty string to this script > (see monitor_secret). > > > > ceph-authtool /var/lib/ceph/tmp/keyring.mon.{{ monitor_name }} > --create-keyring --name=mon. --add-key={{ monitor_secret }} --cap mon 'allow > *' This issue is being handled in existing tracker http://tracker.ceph.com/issues/2904 > > > > Now when this invalid key is being used to create the ceph file systems it > seems to be copied to the location indicated below > (/var/lib/ceph/mon/ceph-control01/keyring), and is crashing the ceph command > below. > > > > Maybe a developer should have a look into this. It seems to me as if a > base64 decoding went wrong in his case and crashes the process. I was able to reproduce this and have created a patch. I've opened http://tracker.ceph.com/issues/16266 for it. Cheers, Brad > > > > Thanks anyway > > > > Cheers > > > > Daniel > > > > > > From: Daniel Wilhelm > Sent: Donnerstag, 19. Mai 2016 12:00 > To: ceph-users@xxxxxxxxxxxxxx > Subject: Installing ceph monitor on Ubuntu denial: segmentation > fault > > > > Hi > > > > I am trying to install ceph with the ceph ansible role: > https://github.com/shieldwed/ceph-ansible. > > > > I had to fix some ansible tasks to work correctly with ansible 2.0.2.0 but > now it seems to work quite well. > > Sadly I have now come across a bug, I cannot solve myself: > > > > When ansible is starting the service ceph-mon@ceph-control01.service, > ceph-create-keys@control01.service gets started as a dependency to create > the admin key. > > > > Within the unit log the following lines are shown: > > > > May 19 11:42:14 control01 ceph-create-keys[21818]: > INFO:ceph-create-keys:Talking to monitor... > > May 19 11:42:14 control01 ceph-create-keys[21818]: > INFO:ceph-create-keys:Cannot get or create admin key > > May 19 11:42:15 control01 ceph-create-keys[21818]: > INFO:ceph-create-keys:Talking to monitor... > > May 19 11:42:15 control01 ceph-create-keys[21818]: > INFO:ceph-create-keys:Cannot get or create admin key > > > > And so on. > > > > Since this script is calling “ceph --cluster=ceph --name=mon. > --keyring=/var/lib/ceph/mon/ceph-control01/keyring auth get-or-create > client.admin mon allow * osd allow * mds allow *” > > > > I tried to call this command myself and got this as a result: > > Segmentation fault (core dumped) > > > > As for the ceph versions, I tried two different with the same result: > > · Ubuntu integrated: ceph 10.1.2 > > · Official stable repo: http://download.ceph.com/debian-jewel so: > 10.2.1 > > > > How can I circumvent this problem? Or is there any solution to that? > > > > Thanks > > > > Daniel > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- Cheers, Brad _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com