Re: Why does ceph-osd not daemonize in ceph-disk

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

 




On 11/11/2016 16:30, Willem Jan Withagen wrote:
> On 11-11-2016 16:21, Sage Weil wrote:
>> On Fri, 11 Nov 2016, Loic Dachary wrote:
>>> Hi,
>>>
>>> FYI when the init system is unknown, it runs ceph-osd directly instead of delegating to the init system.
>>>
>>> https://github.com/ceph/ceph/blob/master/src/ceph-disk/ceph_disk/main.py#L3468
>>>
>>> The reason why it does not daemonize is unclear to me.
>>
>> Does ceph-osd daemonize if you run it manually from the command line?
> 
> Yup,
> 
> created a small wrapper to see what happened in there, and I actually
> see the wrapper exiting. Only this happy event does not make it thru to
> the python friends. :( And after 360 sec timeout kills the lot.

Couldy you show the command line you're using to manually run the OSD ? I suspect the arguments are not the same: the python script populates the CEPH_ARGS environment variable.

Just a thought ;-)

-- 
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux