Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to decode device profile due to unaligned ReadWrite permission #126

Open
MonicaisHer opened this issue Oct 28, 2021 · 0 comments
Open

Comments

@MonicaisHer
Copy link
Contributor

MonicaisHer commented Oct 28, 2021

Issue:

When I try to start device-snmp service, there is an error in the log:

2021-10-28T09:15:28Z edgex-device-snmp.device-snmp[19740]: level=ERROR ts=2021-10-28T09:15:28.739532643Z app=device-snmp source=profiles.go:64 msg="Failed to decode profile device.snmp.trendnet.TPE082WS.yaml: device command's ReadWrite permission 'RW' doesn't align the deivce resource"

Solution I tried:

sudo nano /var/snap/edgex-device-snmp/current/config/device-snmp/res/profiles/device.snmp.trendnet.TPE082WS.yaml 

change the deviceResources's RebootCurrentState's properties readWrite: from "R" to "RW", to let device profile align the device resource. After this, the error disappeared.

Do you have any better solution? Thanks in advance!

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

No branches or pull requests

1 participant