Re: Installing ceph monitor on Ubuntu denial: segmentation fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 *'

 

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.

 

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
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux