Re: [ceph-users] strange osd beacon

2019-06-17 Thread Rafał Wądołowski
Yes, but look into pgs array. It shouldn't be empty.

That should by addressed by this PR: https://tracker.ceph.com/issues/40377


Best Regards,

Rafał Wądołowski


On 16.06.2019 07:06, huang jun wrote:
> osd send osd beacons every 300s, and it's used to let mon know that
> osd is alive,
> for some cases, the osd don't have peers, ex, no pools created.
>
> Rafał Wądołowski  于2019年6月14日周五 下午12:53写道:
>> Hi,
>>
>> Is it normal that osd beacon could be without pgs? Like below. This
>> drive contain data, but I cannot make him to run.
>>
>> Ceph v.12.2.4
>>
>>
>>  {
>> "description": "osd_beacon(pgs [] lec 857158 v869771)",
>> "initiated_at": "2019-06-14 06:39:37.972795",
>> "age": 189.310037,
>> "duration": 189.453167,
>> "type_data": {
>> "events": [
>> {
>> "time": "2019-06-14 06:39:37.972795",
>> "event": "initiated"
>> },
>> {
>> "time": "2019-06-14 06:39:37.972954",
>> "event": "mon:_ms_dispatch"
>> },
>> {
>> "time": "2019-06-14 06:39:37.972956",
>> "event": "mon:dispatch_op"
>> },
>> {
>> "time": "2019-06-14 06:39:37.972956",
>> "event": "psvc:dispatch"
>> },
>> {
>> "time": "2019-06-14 06:39:37.972976",
>> "event": "osdmap:preprocess_query"
>> },
>> {
>> "time": "2019-06-14 06:39:37.972978",
>> "event": "osdmap:preprocess_beacon"
>> },
>> {
>> "time": "2019-06-14 06:39:37.972982",
>> "event": "forward_request_leader"
>> },
>> {
>> "time": "2019-06-14 06:39:37.973064",
>> "event": "forwarded"
>> }
>> ],
>> "info": {
>> "seq": 22378,
>> "src_is_mon": false,
>> "source": "osd.1092 10.11.2.33:6842/159188",
>> "forwarded_to_leader": true
>> }
>> }
>> }
>>
>>
>> Best Regards,
>>
>> Rafał Wądołowski
>>
>> ___
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] strange osd beacon

2019-06-15 Thread huang jun
osd send osd beacons every 300s, and it's used to let mon know that
osd is alive,
for some cases, the osd don't have peers, ex, no pools created.

Rafał Wądołowski  于2019年6月14日周五 下午12:53写道:
>
> Hi,
>
> Is it normal that osd beacon could be without pgs? Like below. This
> drive contain data, but I cannot make him to run.
>
> Ceph v.12.2.4
>
>
>  {
> "description": "osd_beacon(pgs [] lec 857158 v869771)",
> "initiated_at": "2019-06-14 06:39:37.972795",
> "age": 189.310037,
> "duration": 189.453167,
> "type_data": {
> "events": [
> {
> "time": "2019-06-14 06:39:37.972795",
> "event": "initiated"
> },
> {
> "time": "2019-06-14 06:39:37.972954",
> "event": "mon:_ms_dispatch"
> },
> {
> "time": "2019-06-14 06:39:37.972956",
> "event": "mon:dispatch_op"
> },
> {
> "time": "2019-06-14 06:39:37.972956",
> "event": "psvc:dispatch"
> },
> {
> "time": "2019-06-14 06:39:37.972976",
> "event": "osdmap:preprocess_query"
> },
> {
> "time": "2019-06-14 06:39:37.972978",
> "event": "osdmap:preprocess_beacon"
> },
> {
> "time": "2019-06-14 06:39:37.972982",
> "event": "forward_request_leader"
> },
> {
> "time": "2019-06-14 06:39:37.973064",
> "event": "forwarded"
> }
> ],
> "info": {
> "seq": 22378,
> "src_is_mon": false,
> "source": "osd.1092 10.11.2.33:6842/159188",
> "forwarded_to_leader": true
> }
> }
> }
>
>
> Best Regards,
>
> Rafał Wądołowski
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] strange osd beacon

2019-06-13 Thread Rafał Wądołowski
Hi,

Is it normal that osd beacon could be without pgs? Like below. This
drive contain data, but I cannot make him to run.

Ceph v.12.2.4


 {
    "description": "osd_beacon(pgs [] lec 857158 v869771)",
    "initiated_at": "2019-06-14 06:39:37.972795",
    "age": 189.310037,
    "duration": 189.453167,
    "type_data": {
    "events": [
    {
    "time": "2019-06-14 06:39:37.972795",
    "event": "initiated"
    },
    {
    "time": "2019-06-14 06:39:37.972954",
    "event": "mon:_ms_dispatch"
    },
    {
    "time": "2019-06-14 06:39:37.972956",
    "event": "mon:dispatch_op"
    },
    {
    "time": "2019-06-14 06:39:37.972956",
    "event": "psvc:dispatch"
    },
    {
    "time": "2019-06-14 06:39:37.972976",
    "event": "osdmap:preprocess_query"
    },
    {
    "time": "2019-06-14 06:39:37.972978",
    "event": "osdmap:preprocess_beacon"
    },
    {
    "time": "2019-06-14 06:39:37.972982",
    "event": "forward_request_leader"
    },
    {
    "time": "2019-06-14 06:39:37.973064",
    "event": "forwarded"
    }
    ],
    "info": {
    "seq": 22378,
    "src_is_mon": false,
    "source": "osd.1092 10.11.2.33:6842/159188",
    "forwarded_to_leader": true
    }
    }
    }


Best Regards,

Rafał Wądołowski

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