Skip to contentSkip to conversation

: sometime, the method of GetObject in phosphor-objmgr cannot get path or object

obmc www 2 participants 3 messages Dec 24, 2021 – Jan 12, 2022

lore
Share & tools
lore

www

author
#0 lore raw

Dear All,

Sometimes the GetObject method in phosphor-objmgr fails to obtain path or object. Does anyone know why? How to solve it?

Services and objects exist.

thanks,
Byron

#1 lore raw
Quoted 6 lines · www

Dear All, Sometimes the GetObject method in phosphor-objmgr fails to obtain path or object. Does anyone know why? How to solve it? Services and objects exist. thanks, Byron ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ Dear All,

Sometimes the GetObject method in phosphor-objmgr fails to obtain path or object. Does anyone know why? How to solve it?

Services and objects exist.

I've never heard of any sort of mapper problems like this.  How often does it happen?

If you were to restart that service, would the mapper then see it? Can you tell from the journal if that service starts before or after the mapper service (not that it should matter of course)?

Quoted 6 lines

thanks,
Byron

author
#2 lore raw

According to my test, maybe a service is busy, mapper can't introspect the objects and interfaces of this service.

thanks,
Byron

Quoted 30 lines · Matt Spinler
Quoted 7 lines · www

Dear All, Sometimes the GetObject method in phosphor-objmgr fails to obtain path or object. Does anyone know why? How to solve it? Services and objects exist. thanks, Byron ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍
Dear All,

Quoted 5 lines

Sometimes the GetObject method in phosphor-objmgr fails to obtain path or object. Does anyone know why? How to solve it?

Services and objects exist.

I've never heard of any sort of mapper problems like this. How often does it happen?

If you were to restart that service, would the mapper then see it? Can you tell from the journal if that service starts before or after the mapper service (not that it should matter of course)?

Quoted 6 lines

thanks,
Byron