All of lore.kernel.org
 help / color / mirror / Atom feed
* using phosphor-dbus-monitor
@ 2019-04-08 13:42 Wim Vervoorn
  2019-04-09  3:44 ` Lei YU
  0 siblings, 1 reply; 11+ messages in thread
From: Wim Vervoorn @ 2019-04-08 13:42 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Hello,

I am trying to use phosphor-dbus-monitor to create logging of sensor exceptions like a Critical state on a specific sensor.

I am able to create a solution with a building yaml but at the end it doesn't deliver me the desired result.

As there are very limited examples (on a few in the witherspoon) it is very hard to figure out where the mistake is.

Are there any tools that can be used to make this easier?

Additionally is this the correct method to achieve this goal or should I use something else to define conditions for logging?

Best regards,

Wim Vervoorn


[-- Attachment #2: Type: text/html, Size: 2808 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: using phosphor-dbus-monitor
  2019-04-08 13:42 using phosphor-dbus-monitor Wim Vervoorn
@ 2019-04-09  3:44 ` Lei YU
  2019-04-09  7:23   ` Wim Vervoorn
  0 siblings, 1 reply; 11+ messages in thread
From: Lei YU @ 2019-04-09  3:44 UTC (permalink / raw)
  To: Wim Vervoorn, Matthew Barth; +Cc: openbmc

> I am trying to use phosphor-dbus-monitor to create logging of sensor exceptions like a Critical state on a specific sensor.
> I am able to create a solution with a building yaml but at the end it doesn’t deliver me the desired result.
> As there are very limited examples (on a few in the witherspoon) it is very hard to figure out where the mistake is.

There is an example yaml config in the repo:
https://github.com/openbmc/phosphor-dbus-monitor/blob/master/src/example/example.yaml

And I have the same feeling that it's hard to know what's wrong if
something is wrong.

> Are there any tools that can be used to make this easier?

@Matthew Barth Could you kindly help to add some doc/tool to make it
easier to use?

> Additionally is this the correct method to achieve this goal or should I use something else to define conditions for logging?

I think so. This repo is intended to watch the dbus and do stuff as yaml config.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: using phosphor-dbus-monitor
  2019-04-09  3:44 ` Lei YU
@ 2019-04-09  7:23   ` Wim Vervoorn
  2019-04-09 13:50     ` Matt Spinler
  0 siblings, 1 reply; 11+ messages in thread
From: Wim Vervoorn @ 2019-04-09  7:23 UTC (permalink / raw)
  To: Lei YU, Matthew Barth; +Cc: openbmc

Hello Lei,

Thanks for your response. I know this example too and it helps a bit but it doesn’t really clarify all issues.

As you've worked with this as well. Do you understand the meta item? The example indicates it has different meaning but doesn't provide any pointers to what those meanings are. Have you been able to find out?

Best Regards,
Wim Vervoorn

-----Original Message-----
From: Lei YU [mailto:mine260309@gmail.com] 
Sent: Tuesday, April 9, 2019 5:44 AM
To: Wim Vervoorn <wvervoorn@eltan.com>; Matthew Barth <msbarth@linux.ibm.com>
Cc: openbmc@lists.ozlabs.org
Subject: Re: using phosphor-dbus-monitor

> I am trying to use phosphor-dbus-monitor to create logging of sensor exceptions like a Critical state on a specific sensor.
> I am able to create a solution with a building yaml but at the end it doesn’t deliver me the desired result.
> As there are very limited examples (on a few in the witherspoon) it is very hard to figure out where the mistake is.

There is an example yaml config in the repo:
https://github.com/openbmc/phosphor-dbus-monitor/blob/master/src/example/example.yaml

And I have the same feeling that it's hard to know what's wrong if something is wrong.ei

> Are there any tools that can be used to make this easier?

@Matthew Barth Could you kindly help to add some doc/tool to make it easier to use?

> Additionally is this the correct method to achieve this goal or should I use something else to define conditions for logging?

I think so. This repo is intended to watch the dbus and do stuff as yaml config.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: using phosphor-dbus-monitor
  2019-04-09  7:23   ` Wim Vervoorn
@ 2019-04-09 13:50     ` Matt Spinler
  2019-04-09 13:59       ` Wim Vervoorn
  2019-04-09 14:12       ` Matthew Barth
  0 siblings, 2 replies; 11+ messages in thread
From: Matt Spinler @ 2019-04-09 13:50 UTC (permalink / raw)
  To: Wim Vervoorn, Lei YU, Matthew Barth; +Cc: openbmc

Hi Wim,

If you could post your YAML somewhere, I could take a look for any 
obvious problems.

On 4/9/2019 2:23 AM, Wim Vervoorn wrote:
> Hello Lei,
>
> Thanks for your response. I know this example too and it helps a bit but it doesn’t really clarify all issues.
>
> As you've worked with this as well. Do you understand the meta item? The example indicates it has different meaning but doesn't provide any pointers to what those meanings are. Have you been able to find out?
>
> Best Regards,
> Wim Vervoorn
>
> -----Original Message-----
> From: Lei YU [mailto:mine260309@gmail.com]
> Sent: Tuesday, April 9, 2019 5:44 AM
> To: Wim Vervoorn <wvervoorn@eltan.com>; Matthew Barth <msbarth@linux.ibm.com>
> Cc: openbmc@lists.ozlabs.org
> Subject: Re: using phosphor-dbus-monitor
>
>> I am trying to use phosphor-dbus-monitor to create logging of sensor exceptions like a Critical state on a specific sensor.
>> I am able to create a solution with a building yaml but at the end it doesn’t deliver me the desired result.
>> As there are very limited examples (on a few in the witherspoon) it is very hard to figure out where the mistake is.
> There is an example yaml config in the repo:
> https://github.com/openbmc/phosphor-dbus-monitor/blob/master/src/example/example.yaml
>
> And I have the same feeling that it's hard to know what's wrong if something is wrong.ei
>
>> Are there any tools that can be used to make this easier?
> @Matthew Barth Could you kindly help to add some doc/tool to make it easier to use?
>
>> Additionally is this the correct method to achieve this goal or should I use something else to define conditions for logging?
> I think so. This repo is intended to watch the dbus and do stuff as yaml config.
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: using phosphor-dbus-monitor
  2019-04-09 13:50     ` Matt Spinler
@ 2019-04-09 13:59       ` Wim Vervoorn
  2019-04-09 14:12       ` Matthew Barth
  1 sibling, 0 replies; 11+ messages in thread
From: Wim Vervoorn @ 2019-04-09 13:59 UTC (permalink / raw)
  To: Matt Spinler, Lei YU, Matthew Barth; +Cc: openbmc

Hello Matt,

I stripped one down to what I think is the bare minimum and included it in this email. I guess once I have this working the others should be fine as well.

Basically this yaml doesn't make much sense but I expected this to generate journal entries.

- name: voltage sensor path group
  class: group
  group: path
  members:
    - meta: SENSOR
      path: /xyz/openbmc_project/sensors/voltage/PVNN_PCH_AUX

- name: sensor value group
  description: >
    'sensor value.'
  class: group
  group: property
  type: int64
  members:
    - interface: xyz.openbmc_project.Sensors.Value
      meta: VOLTAGE
      property: Value

- name: watch sensor value
  description: >
    'Trigger logic on sensor value.'
  class: watch
  watch: property
  paths: voltage sensor path group
  properties: sensor value group
  callback: sensor value count condition

- name: sensor value count condition
  description: >
    'check critical condition of the sensors.'
  class: condition
  condition: count
  paths: voltage sensor path group
  properties: sensor value group
  callback: value handler callback
  countop: '>'
  countbound: 0
  op: '>'
  bound: 10
 
- name: value handler callback
  description: >
    'value handler call back.'
  class: callback
  callback: group
  members:
    - example journal callback value

- name: example journal callback value
  description: >
    simple joural entry.'
  class: callback
  callback: journal
  paths: voltage sensor path group
  properties: sensor value group
  severity: INFO
  message: Hello world from PDM Value!

Best regards,

Wim

-----Original Message-----
From: Matt Spinler [mailto:mspinler@linux.ibm.com] 
Sent: Tuesday, April 9, 2019 3:51 PM
To: Wim Vervoorn <wvervoorn@eltan.com>; Lei YU <mine260309@gmail.com>; Matthew Barth <msbarth@linux.ibm.com>
Cc: openbmc@lists.ozlabs.org
Subject: Re: using phosphor-dbus-monitor

Hi Wim,

If you could post your YAML somewhere, I could take a look for any obvious problems.

On 4/9/2019 2:23 AM, Wim Vervoorn wrote:
> Hello Lei,
>
> Thanks for your response. I know this example too and it helps a bit but it doesn’t really clarify all issues.
>
> As you've worked with this as well. Do you understand the meta item? The example indicates it has different meaning but doesn't provide any pointers to what those meanings are. Have you been able to find out?
>
> Best Regards,
> Wim Vervoorn
>
> -----Original Message-----
> From: Lei YU [mailto:mine260309@gmail.com]
> Sent: Tuesday, April 9, 2019 5:44 AM
> To: Wim Vervoorn <wvervoorn@eltan.com>; Matthew Barth 
> <msbarth@linux.ibm.com>
> Cc: openbmc@lists.ozlabs.org
> Subject: Re: using phosphor-dbus-monitor
>
>> I am trying to use phosphor-dbus-monitor to create logging of sensor exceptions like a Critical state on a specific sensor.
>> I am able to create a solution with a building yaml but at the end it doesn’t deliver me the desired result.
>> As there are very limited examples (on a few in the witherspoon) it is very hard to figure out where the mistake is.
> There is an example yaml config in the repo:
> https://github.com/openbmc/phosphor-dbus-monitor/blob/master/src/examp
> le/example.yaml
>
> And I have the same feeling that it's hard to know what's wrong if 
> something is wrong.ei
>
>> Are there any tools that can be used to make this easier?
> @Matthew Barth Could you kindly help to add some doc/tool to make it easier to use?
>
>> Additionally is this the correct method to achieve this goal or should I use something else to define conditions for logging?
> I think so. This repo is intended to watch the dbus and do stuff as yaml config.
>
>




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: using phosphor-dbus-monitor
  2019-04-09 13:50     ` Matt Spinler
  2019-04-09 13:59       ` Wim Vervoorn
@ 2019-04-09 14:12       ` Matthew Barth
  2019-04-09 14:22         ` Wim Vervoorn
  2019-04-10 14:27         ` Wim Vervoorn
  1 sibling, 2 replies; 11+ messages in thread
From: Matthew Barth @ 2019-04-09 14:12 UTC (permalink / raw)
  To: Matt Spinler, Wim Vervoorn, Lei YU; +Cc: openbmc



On 4/9/19 8:50 AM, Matt Spinler wrote:
> Hi Wim,
> 
> If you could post your YAML somewhere, I could take a look for any 
> obvious problems.
If you could also provide a little more details on the error your 
attempting to log would be helpful (i.e. is there a dbus interface?).
> 
> On 4/9/2019 2:23 AM, Wim Vervoorn wrote:
>> Hello Lei,
>>
>> Thanks for your response. I know this example too and it helps a bit 
>> but it doesn’t really clarify all issues.
>>
>> As you've worked with this as well. Do you understand the meta item? 
>> The example indicates it has different meaning but doesn't provide any 
>> pointers to what those meanings are. Have you been able to find out?
What meta item are you referring to?
>>
>> Best Regards,
>> Wim Vervoorn
>>
>> -----Original Message-----
>> From: Lei YU [mailto:mine260309@gmail.com]
>> Sent: Tuesday, April 9, 2019 5:44 AM
>> To: Wim Vervoorn <wvervoorn@eltan.com>; Matthew Barth 
>> <msbarth@linux.ibm.com>
>> Cc: openbmc@lists.ozlabs.org
>> Subject: Re: using phosphor-dbus-monitor
>>
>>> I am trying to use phosphor-dbus-monitor to create logging of sensor 
>>> exceptions like a Critical state on a specific sensor.
>>> I am able to create a solution with a building yaml but at the end it 
>>> doesn’t deliver me the desired result.
>>> As there are very limited examples (on a few in the witherspoon) it 
>>> is very hard to figure out where the mistake is.
>> There is an example yaml config in the repo:
>> https://github.com/openbmc/phosphor-dbus-monitor/blob/master/src/example/example.yaml 
>>
>>
>> And I have the same feeling that it's hard to know what's wrong if 
>> something is wrong.ei
>>
>>> Are there any tools that can be used to make this easier?
>> @Matthew Barth Could you kindly help to add some doc/tool to make it 
>> easier to use?
Originally, the example yaml was meant to be the document which I 
understand is probably not the greatest form when it comes to this. 
Unfortunately enhancing the documentation would be a low priority at 
this time but feel free to create/update the documentation from your 
findings and push them up for review if you'd like.
>>
>>> Additionally is this the correct method to achieve this goal or 
>>> should I use something else to define conditions for logging?
>> I think so. This repo is intended to watch the dbus and do stuff as 
>> yaml config.
Correct. This repo was intended to perform error logging and/or system 
level actions, such as a shutdown, based on object properties on dbus.
>>
>>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: using phosphor-dbus-monitor
  2019-04-09 14:12       ` Matthew Barth
@ 2019-04-09 14:22         ` Wim Vervoorn
  2019-04-10 14:27         ` Wim Vervoorn
  1 sibling, 0 replies; 11+ messages in thread
From: Wim Vervoorn @ 2019-04-09 14:22 UTC (permalink / raw)
  To: Matthew Barth, Matt Spinler, Lei YU; +Cc: openbmc

Hello Matt,

In this case it's just trying to make sure the logging is always triggered. It the condition is to log if the voltage on this sensor is above some very low value which I know it will be. I created this in the assumption it would always trigger.

The real thing I am trying to do is to trigger if a few sensors are reporting critical values. I included this here:

- name: voltage sensor path group
  class: group
  group: path
  members:
    - meta: SENSOR
      path: /xyz/openbmc_project/sensors/voltage/PVNN_PCH_AUX
    - meta: SENSOR
      path: /xyz/openbmc_project/sensors/voltage/P3VBAT

- name: sensor critical property group
  description: >
    'sensor state.'
  class: group
  group: property
  type: boolean
  members:
    - interface: xyz.openbmc_project.Sensors.Threshold.Critical
      meta: PROPERTY
      property: CriticalAlarmHigh
    - interface: xyz.openbmc_project.Sensors.Threshold.Critical
      meta: PROPERTY
      property: CriticalAlarmLow

- name: watch sensor state
  description: >
    'Trigger logic on sensor state.'
  class: watch
  watch: property
  paths: voltage sensor path group
  properties: sensor critical property group
  callback: sensor count condition

- name: sensor count condition
  description: >
    'check critical condition of the sensors.'
  class: condition
  condition: count
  paths: voltage sensor path group
  properties: sensor critical property group
  callback: log and shutdown
  countop: '>'
  countbound: 0
  op: '=='
  bound: true
 
- name: log and shutdown
  description: >
    'Shut the system down and log an event.'
  class: callback
  callback: group
  members:
    - example journal callback
    - sensor critical error
    - create shutdown error

- name: example journal callback
  description: >
    ' example journal callback'
  class: callback
  callback: journal
  paths: voltage sensor path group
  properties: sensor critical property group
  severity: INFO
  message: Hello world from PDM!

- name: sensor critical error
  class: callback
  callback: elog_with_metadata
  paths: voltage sensor path group
  properties: sensor critical property group
  error: xyz::openbmc_project::Sensor::Threshold::Error::CriticalHigh
  metadata: xyz::openbmc_project::Sensor::Threshold::CriticalHigh::SENSOR_DATA

- name: create shutdown error
  description: >
    'Create a SystemShutdown Error log.'
  class: callback
  callback: elog
  paths: voltage sensor path group
  properties: sensor critical property group
  error: xyz::openbmc_project::Sensor::Threshold::Error::CriticalHigh
  metadata:
    - name: xyz::openbmc_project::Sensor::Threshold::CriticalHigh::SENSOR_DATA
      value: testing...
      type: string



-----Original Message-----
From: Matthew Barth [mailto:msbarth@linux.ibm.com] 
Sent: Tuesday, April 9, 2019 4:12 PM
To: Matt Spinler <mspinler@linux.ibm.com>; Wim Vervoorn <wvervoorn@eltan.com>; Lei YU <mine260309@gmail.com>
Cc: openbmc@lists.ozlabs.org
Subject: Re: using phosphor-dbus-monitor



On 4/9/19 8:50 AM, Matt Spinler wrote:
> Hi Wim,
> 
> If you could post your YAML somewhere, I could take a look for any 
> obvious problems.
If you could also provide a little more details on the error your attempting to log would be helpful (i.e. is there a dbus interface?).
> 
> On 4/9/2019 2:23 AM, Wim Vervoorn wrote:
>> Hello Lei,
>>
>> Thanks for your response. I know this example too and it helps a bit 
>> but it doesn’t really clarify all issues.
>>
>> As you've worked with this as well. Do you understand the meta item? 
>> The example indicates it has different meaning but doesn't provide 
>> any pointers to what those meanings are. Have you been able to find out?
What meta item are you referring to?
>>
>> Best Regards,
>> Wim Vervoorn
>>
>> -----Original Message-----
>> From: Lei YU [mailto:mine260309@gmail.com]
>> Sent: Tuesday, April 9, 2019 5:44 AM
>> To: Wim Vervoorn <wvervoorn@eltan.com>; Matthew Barth 
>> <msbarth@linux.ibm.com>
>> Cc: openbmc@lists.ozlabs.org
>> Subject: Re: using phosphor-dbus-monitor
>>
>>> I am trying to use phosphor-dbus-monitor to create logging of sensor 
>>> exceptions like a Critical state on a specific sensor.
>>> I am able to create a solution with a building yaml but at the end 
>>> it doesn’t deliver me the desired result.
>>> As there are very limited examples (on a few in the witherspoon) it 
>>> is very hard to figure out where the mistake is.
>> There is an example yaml config in the repo:
>> https://github.com/openbmc/phosphor-dbus-monitor/blob/master/src/exam
>> ple/example.yaml
>>
>>
>> And I have the same feeling that it's hard to know what's wrong if 
>> something is wrong.ei
>>
>>> Are there any tools that can be used to make this easier?
>> @Matthew Barth Could you kindly help to add some doc/tool to make it 
>> easier to use?
Originally, the example yaml was meant to be the document which I understand is probably not the greatest form when it comes to this. 
Unfortunately enhancing the documentation would be a low priority at this time but feel free to create/update the documentation from your findings and push them up for review if you'd like.
>>
>>> Additionally is this the correct method to achieve this goal or 
>>> should I use something else to define conditions for logging?
>> I think so. This repo is intended to watch the dbus and do stuff as 
>> yaml config.
Correct. This repo was intended to perform error logging and/or system level actions, such as a shutdown, based on object properties on dbus.
>>
>>




^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: using phosphor-dbus-monitor
  2019-04-09 14:12       ` Matthew Barth
  2019-04-09 14:22         ` Wim Vervoorn
@ 2019-04-10 14:27         ` Wim Vervoorn
  2019-04-11 12:38           ` Lei YU
  1 sibling, 1 reply; 11+ messages in thread
From: Wim Vervoorn @ 2019-04-10 14:27 UTC (permalink / raw)
  To: Matthew Barth, Matt Spinler, Lei YU; +Cc: openbmc

Hello Matt,

I just found the reason why this wasn’t working. I overlooked a typo in the interface : Sensors instead of Sensor.

Best ergards,

Wim Vervoorn

-----Original Message-----
From: Matthew Barth [mailto:msbarth@linux.ibm.com] 
Sent: Tuesday, April 9, 2019 4:12 PM
To: Matt Spinler <mspinler@linux.ibm.com>; Wim Vervoorn <wvervoorn@eltan.com>; Lei YU <mine260309@gmail.com>
Cc: openbmc@lists.ozlabs.org
Subject: Re: using phosphor-dbus-monitor



On 4/9/19 8:50 AM, Matt Spinler wrote:
> Hi Wim,
> 
> If you could post your YAML somewhere, I could take a look for any 
> obvious problems.
If you could also provide a little more details on the error your attempting to log would be helpful (i.e. is there a dbus interface?).
> 
> On 4/9/2019 2:23 AM, Wim Vervoorn wrote:
>> Hello Lei,
>>
>> Thanks for your response. I know this example too and it helps a bit 
>> but it doesn’t really clarify all issues.
>>
>> As you've worked with this as well. Do you understand the meta item? 
>> The example indicates it has different meaning but doesn't provide 
>> any pointers to what those meanings are. Have you been able to find out?
What meta item are you referring to?
>>
>> Best Regards,
>> Wim Vervoorn
>>
>> -----Original Message-----
>> From: Lei YU [mailto:mine260309@gmail.com]
>> Sent: Tuesday, April 9, 2019 5:44 AM
>> To: Wim Vervoorn <wvervoorn@eltan.com>; Matthew Barth 
>> <msbarth@linux.ibm.com>
>> Cc: openbmc@lists.ozlabs.org
>> Subject: Re: using phosphor-dbus-monitor
>>
>>> I am trying to use phosphor-dbus-monitor to create logging of sensor 
>>> exceptions like a Critical state on a specific sensor.
>>> I am able to create a solution with a building yaml but at the end 
>>> it doesn’t deliver me the desired result.
>>> As there are very limited examples (on a few in the witherspoon) it 
>>> is very hard to figure out where the mistake is.
>> There is an example yaml config in the repo:
>> https://github.com/openbmc/phosphor-dbus-monitor/blob/master/src/exam
>> ple/example.yaml
>>
>>
>> And I have the same feeling that it's hard to know what's wrong if 
>> something is wrong.ei
>>
>>> Are there any tools that can be used to make this easier?
>> @Matthew Barth Could you kindly help to add some doc/tool to make it 
>> easier to use?
Originally, the example yaml was meant to be the document which I understand is probably not the greatest form when it comes to this. 
Unfortunately enhancing the documentation would be a low priority at this time but feel free to create/update the documentation from your findings and push them up for review if you'd like.
>>
>>> Additionally is this the correct method to achieve this goal or 
>>> should I use something else to define conditions for logging?
>> I think so. This repo is intended to watch the dbus and do stuff as 
>> yaml config.
Correct. This repo was intended to perform error logging and/or system level actions, such as a shutdown, based on object properties on dbus.
>>
>>




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: using phosphor-dbus-monitor
  2019-04-10 14:27         ` Wim Vervoorn
@ 2019-04-11 12:38           ` Lei YU
  2019-04-11 13:05             ` Wim Vervoorn
  0 siblings, 1 reply; 11+ messages in thread
From: Lei YU @ 2019-04-11 12:38 UTC (permalink / raw)
  To: Wim Vervoorn; +Cc: Matthew Barth, Matt Spinler, openbmc

> I just found the reason why this wasn’t working. I overlooked a typo in the interface : Sensors instead of Sensor.

This is the sign of what needs to be improved. Either make it report error at
compile time, or at least have a tool to verify the yaml.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: using phosphor-dbus-monitor
  2019-04-11 12:38           ` Lei YU
@ 2019-04-11 13:05             ` Wim Vervoorn
  2019-04-11 16:26               ` Matt Spinler
  0 siblings, 1 reply; 11+ messages in thread
From: Wim Vervoorn @ 2019-04-11 13:05 UTC (permalink / raw)
  To: Lei YU; +Cc: Matthew Barth, Matt Spinler, openbmc

I just found filed an issue because phosphor-dbus-monitor doesn't support "double" values this is required to make it work when dbus-sensors is used.

I also made 2 pull requests to resolve this.

Best regards,

Wim Vervoorn

-----Original Message-----
From: Lei YU [mailto:mine260309@gmail.com] 
Sent: Thursday, April 11, 2019 2:38 PM
To: Wim Vervoorn <wvervoorn@eltan.com>
Cc: Matthew Barth <msbarth@linux.ibm.com>; Matt Spinler <mspinler@linux.ibm.com>; openbmc@lists.ozlabs.org
Subject: Re: using phosphor-dbus-monitor

> I just found the reason why this wasn’t working. I overlooked a typo in the interface : Sensors instead of Sensor.

This is the sign of what needs to be improved. Either make it report error at compile time, or at least have a tool to verify the yaml.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: using phosphor-dbus-monitor
  2019-04-11 13:05             ` Wim Vervoorn
@ 2019-04-11 16:26               ` Matt Spinler
  0 siblings, 0 replies; 11+ messages in thread
From: Matt Spinler @ 2019-04-11 16:26 UTC (permalink / raw)
  To: Wim Vervoorn, Lei YU; +Cc: Matthew Barth, openbmc


On 4/11/2019 8:05 AM, Wim Vervoorn wrote:
> I just found filed an issue because phosphor-dbus-monitor doesn't support "double" values this is required to make it work when dbus-sensors is used.
>
> I also made 2 pull requests to resolve this.


That's great!.

Note that OpenBMC doesn't use pull requests - we do our reviews all on 
gerrit.

https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md has the details.


>
> Best regards,
>
> Wim Vervoorn
>
> -----Original Message-----
> From: Lei YU [mailto:mine260309@gmail.com]
> Sent: Thursday, April 11, 2019 2:38 PM
> To: Wim Vervoorn <wvervoorn@eltan.com>
> Cc: Matthew Barth <msbarth@linux.ibm.com>; Matt Spinler <mspinler@linux.ibm.com>; openbmc@lists.ozlabs.org
> Subject: Re: using phosphor-dbus-monitor
>
>> I just found the reason why this wasn’t working. I overlooked a typo in the interface : Sensors instead of Sensor.
> This is the sign of what needs to be improved. Either make it report error at compile time, or at least have a tool to verify the yaml.
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-04-11 16:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 13:42 using phosphor-dbus-monitor Wim Vervoorn
2019-04-09  3:44 ` Lei YU
2019-04-09  7:23   ` Wim Vervoorn
2019-04-09 13:50     ` Matt Spinler
2019-04-09 13:59       ` Wim Vervoorn
2019-04-09 14:12       ` Matthew Barth
2019-04-09 14:22         ` Wim Vervoorn
2019-04-10 14:27         ` Wim Vervoorn
2019-04-11 12:38           ` Lei YU
2019-04-11 13:05             ` Wim Vervoorn
2019-04-11 16:26               ` Matt Spinler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.