Udev doesnt trigger at start. But i have correct rules at udev-rules file.

   OS - debian jessie.ceph - jewel.




   Hello,

   I have a similar problem. I am not sure it's the same, but if i can help.

   I'm in jewel ( upgrade from firefly ) on jessie.

   The temporary solution that i found to start the OSD is to force udev to
   launch its triggers :

     udevadm trigger --action=add

   Regards

Yep, it`s same problem. It looks like bug. Manual udevadm trigger worked fine.


On 12/08/2016 05:36 PM, Joshua Schmid wrote:

On 12/08/2016 03:09 PM, Khramchikhin Nikolay wrote:
  No luck, i dont even have logs associate with ceph-disk at startup:
In that case your udev rules probably didn't trigger. Have a look in the
logs and see if udev invokes (/usr/sbin/ceph-disk --log-stdout -v
trigger /dev/$name)

you could also have a look if your lockbox partition matches the
parttypeuuid defined in /lib/udev/rules.d/95-ceph-osd.rules

with: udevadm info /dev/vdb<$ID>

$journalctl -u ceph-

  it shows me only standart ceph services, such ceph-osd@

  but after ceph-disk activate-lockbox, i can get logs:

journalctl -u
ceph-disk@dev-disk-by\\x2dpartuuid-2c6532f7\\x2d4c5c\\x2d4fc7\\x2dab6c\\x2da7d41e2f509a.service

-- Logs begin at Thu 2016-12-08 18:50:53 +06, end at Thu 2016-12-08
19:54:48 +06. --
Dec 08 18:58:15 labpve1 systemd[1]: Starting Ceph disk activation:
/dev/disk/by-partuuid/2c6a99f7-4c5c-4fc7-egjc-a7d41e2f509a...




On 12/08/2016 03:34 PM, Joshua Schmid wrote:
Hey Khramchikhin,

On 12/08/2016 12:22 PM, Khramchikhin Nikolay wrote:
   Hello, folks,

   I have problem with osd up after server reboot, all disk deployed with
ceph-deploy osd prepare --dmcrypt, i `ve tried ceph-deploy osd create
with no luck, same issue.

   After server reboot osd dont come up, i need to run

*ceph-disk activate-lockbox /dev/sdb3 **
Could you have a look at:

$ journalctl -u ceph-disk@dev-vdb3.service -l

and verify that it gets mounted correctly.

$ journalctl -u ceph-disk@dev-vdb1.service -l (if thats your data
partition)

should show you an attempt of ceph-disk to retrieve the decryption key
from the monitor ( get_dmcrypt_key: stderr obtained 'dm-crypt/osd $(UUID)

*
   for example, then everything works fine.

   Any suggestions?



_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


--
 Regards,

 Khramchikhin Nikolay,

BKC IH IT Department

8-495-988-55-46 ext 1654.

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to