Git Product home page Git Product logo

Comments (5)

michalvasko avatar michalvasko commented on June 28, 2024

Are you using the latest devel versions of all the projects (libyang)? If so, I would need to reproduce this to fix it. The JSON printer will likely be at fault, there were similar problems fixed recently.

from sysrepo.

jktjkt avatar jktjkt commented on June 28, 2024
  • libyang is at fc4dbd923
  • sysrepo is at 337a6758

I do not have a reliable reproducer. I recall seeing that in the test runs of velia and/or sysrpeo-ietf-alarms a few times. The data that I attached came from one of the lab devices we have.

from sysrepo.

michalvasko avatar michalvasko commented on June 28, 2024

I made something more readable out of it but it did not help much. I think I really need the data that were printed with this bug (in XML, for example, I think it would be printed correctly that way), not sure how else to fix this.

from sysrepo.

jktjkt avatar jktjkt commented on June 28, 2024

There are no external data that are being printed by libyang, it's an error that's reported from sysrepo as a result of a corruption of its SHM data. We're building with SR_SHM_DIR set to "/run/sysrepo", and the file I attached is a verbatim copy from there.

Somehow, that file (which is only ever manipulated by sysrepo APIs) gets corrupted, our daemon terminates when a subsequent API call fails, and then the our automation which was supposed to remount the tmpfs at /run/sysrepo failed to remount, so that the subsequent restart of the daemons sees the same corruption.

from sysrepo.

michalvasko avatar michalvasko commented on June 28, 2024

I understand there are no external data, these are created push operational data being printed by the JSON printed into a file. And because of a bug the printer prints invalid data. All I am saying is that I will need that data (as libyang structures, parsed from an XML file, for example) so that I can print them and debug the problem.

from sysrepo.

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.