Giter Site home page Giter Site logo

Comments (6)

wbc6080 avatar wbc6080 commented on May 24, 2024

When defining the device.yaml file, if the propertyName is defined in the device.status field in advance, the device status can be reported to the cloud normally. However, if the propertyName is not defined in advance, the device status cannot be reported normally.

from kubeedge.

wbc6080 avatar wbc6080 commented on May 24, 2024

After analysis, this bug appears when the device controller reports device status. After cloudcore receives the device status reported by edgecore, it will search for the twin with the same name as the reported information in device.status and update it. However, if device.status is not defined in device.yaml, the corresponding twin will not be found, so the update fails.

from kubeedge.

wbc6080 avatar wbc6080 commented on May 24, 2024

vv1

from kubeedge.

wbc6080 avatar wbc6080 commented on May 24, 2024

vv2

from kubeedge.

wbc6080 avatar wbc6080 commented on May 24, 2024

The solution is: when updating the status, if there is no twin with the same name in device.status, we can create the corresponding twin in device.status to solve the problem.

from kubeedge.

wbc6080 avatar wbc6080 commented on May 24, 2024

We solve it in #5467

from kubeedge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.