Skip to content

Comments

Silence missing netclass errors#1986

Merged
SuperQ merged 1 commit intomasterfrom
superq/fix_netclass_error
Mar 4, 2021
Merged

Silence missing netclass errors#1986
SuperQ merged 1 commit intomasterfrom
superq/fix_netclass_error

Conversation

@SuperQ
Copy link
Member

@SuperQ SuperQ commented Mar 3, 2021

  • Handle no such file and permission denied errors.
  • Reduce excessive error wrapping.

Fixes: #1840

Signed-off-by: Ben Kochie superq@gmail.com

@SuperQ SuperQ force-pushed the superq/fix_netclass_error branch 3 times, most recently from 5ba9b91 to 959810c Compare March 3, 2021 12:00
* Handle no such file and permission denied errors.
* Reduce excessive error wrapping.

Fixes: #1840

Signed-off-by: Ben Kochie <superq@gmail.com>
@SuperQ SuperQ force-pushed the superq/fix_netclass_error branch from 959810c to 3b3ef73 Compare March 3, 2021 19:40
@SuperQ
Copy link
Member Author

SuperQ commented Mar 4, 2021

Ping 😀

@SuperQ SuperQ merged commit d462d5c into master Mar 4, 2021
@SuperQ SuperQ deleted the superq/fix_netclass_error branch March 4, 2021 18:34
SuperQ added a commit that referenced this pull request Mar 5, 2021
* [BUGFIX] Handle errors from disabled PSI subsystem #1983
* [BUGFIX] Sanitize strings from /sys/class/power_supply #1984
* [BUGFIX] Silence missing netclass errors #1986

Signed-off-by: Ben Kochie <superq@gmail.com>
@SuperQ SuperQ mentioned this pull request Mar 5, 2021
SuperQ added a commit that referenced this pull request Mar 5, 2021
* [BUGFIX] Handle errors from disabled PSI subsystem #1983
* [BUGFIX] Sanitize strings from /sys/class/power_supply #1984
* [BUGFIX] Silence missing netclass errors #1986

Signed-off-by: Ben Kochie <superq@gmail.com>
@SuperQ SuperQ mentioned this pull request Mar 5, 2021
oblitorum pushed a commit to shatteredsilicon/node_exporter that referenced this pull request Apr 9, 2024
* [BUGFIX] Handle errors from disabled PSI subsystem prometheus#1983
* [BUGFIX] Sanitize strings from /sys/class/power_supply prometheus#1984
* [BUGFIX] Silence missing netclass errors prometheus#1986

Signed-off-by: Ben Kochie <superq@gmail.com>
oblitorum pushed a commit to shatteredsilicon/node_exporter that referenced this pull request Apr 9, 2024
* [BUGFIX] Handle errors from disabled PSI subsystem prometheus#1983
* [BUGFIX] Sanitize strings from /sys/class/power_supply prometheus#1984
* [BUGFIX] Silence missing netclass errors prometheus#1986

Signed-off-by: Ben Kochie <superq@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

could not get net class info: error obtaining net class info: open /host/sys/class/net/calixxx

2 participants