Giter VIP home page Giter VIP logo

Comments (4)

thirdgen88 avatar thirdgen88 commented on June 3, 2024

Great catch @ptrdlbrg. Unfortunately, my recent work to support third-party modules has driven me to suggest that folks target their named volume at /var/lib/ignition/data instead of the full /var/lib/ignition path. This is done so that when containers are upgraded from one version to the next, only the data is preserved and the modules from user-lib are still bound to the container and thus are changed out with new ones in the upgraded container image. I was able to reproduce your failure with a volume at /var/lib/ignition/data. I may try linking temp from /usr/local/share/ignition/temp to /var/lib/ignition/data/temp and see if that could get us going. I donโ€™t like storing that temp data in with the user volume, but we may have little choice until the underlying issue is addressed.

Sent with GitHawk

from ignition-docker.

thirdgen88 avatar thirdgen88 commented on June 3, 2024

I went ahead and mapped the temp directory into /var/lib/ignition/data/temp and was able to successfully restore without an error with a named volume bound to /var/lib/ignition/data (as is now the recommendation). The fix is in e55d119. Iโ€™ve triggered a build and Docker Hub should have the updated images. @ptrdlbrg, can you pull the latest and confirm that it is working for you?

from ignition-docker.

ptrdlbrg avatar ptrdlbrg commented on June 3, 2024

Whether or not a user would include user-lib in their volume depends on their use case, so I like how you've structured it so you can include it or exclude it based on which directory you set your volume to. Your solution of putting temp inside of the data directory is a reasonable solution.

I agree that I would prefer to keep temp out of the volume, but unfortunately that doesn't seem to be an option right now.

I pulled the latest 8.0.2 and confirmed that restores now work as they should. Thanks for the quick response. Thank you for creating and maintaining these docker images. I really appreciate it!

from ignition-docker.

ptrdlbrg avatar ptrdlbrg commented on June 3, 2024

I reported the underlying bug on the Ignition forum.

from ignition-docker.

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.