Giter Club home page Giter Club logo

Comments (6)

splitice avatar splitice commented on May 30, 2024 1

It looks resolved after a restart of the daemonset on the new version. Haven't had a crash to test it since.

from core-dump-handler.

No9 avatar No9 commented on May 30, 2024

Strange - There was no work done on cdc as part of 8.0.0, it's still on 7.1.0
Can you look at the composer log?

If you took the default install location you can exec into the agent pod and run
cat /var/mnt/core-dump-handler/composer.log
If there is nothing in there reinstall with --set composer.logLevel="Debug" and recheck the log.

Also there was a patch release so please use 8.0.1

BTW integration tests are ran as part of the release validation and this error didn't come up.

from core-dump-handler.

splitice avatar splitice commented on May 30, 2024

Thank you for that information - I'm testing something and will get back to you when I have results. It might have been an error during manifest update.

from core-dump-handler.

splitice avatar splitice commented on May 30, 2024

By the way when doing a kubectl apply to deploy a modified daemonset the first pod got stuck in terminating.

Events:
  Type     Reason             Age   From     Message
  ----     ------             ----  ----     -------
  Normal   Killing            111s  kubelet  Stopping container coredump-container
  Warning  FailedPreStopHook  110s  kubelet  Exec lifecycle hook ([/app/core-dump-agent remove]) for Container "coredump-container" in Pod "core-dump-handler-czbsm_default(23ffd715-a00e-4bc2-be70-87f36df7fbe2)" failed - error: command '/app/core-dump-agent remove' exited with 1: [2022-02-09T08:10:19Z INFO  core_dump_agent] no .env file found
     That's ok if running in kubernetes
[2022-02-09T08:10:19Z INFO  core_dump_agent] Removing /var/mnt/core-dump-handler
[2022-02-09T08:10:19Z INFO  core_dump_agent] Restoring Backup of core_pattern
[2022-02-09T08:10:20Z INFO  core_dump_agent] Restoring Backup of core_pipe_limit
[2022-02-09T08:10:20Z INFO  core_dump_agent] Restoring Backup of suid_dumpable
Error: No such file or directory (os error 2)
, message: "kernel.core_pattern = core\nkernel.core_pipe_limit = 0\nfs.suid_dumpable = 0\n[2022-02-09T08:10:19Z INFO  core_dump_agent] no .env file found \n     That's ok if running in kubernetes\n[2022-02-09T08:10:19Z INFO  core_dump_agent] Removing /var/mnt/core-dump-handler\n[2022-02-09T08:10:19Z INFO  core_dump_agent] Restoring Backup of core_pattern\n[2022-02-09T08:10:20Z INFO  core_dump_agent] Restoring Backup of core_pipe_limit\n[2022-02-09T08:10:20Z INFO  core_dump_agent] Restoring Backup of suid_dumpable\nError: No such file or directory (os error 2)\n"

I can workaround.

from core-dump-handler.

No9 avatar No9 commented on May 30, 2024

FYI direct modification of the daemonset isn't currently recommended as it's not a tested scenario.
Updates should be done through uninstalling and reinstalling the chart.

The FailedPreStopHook error is be due to the .env file for the composer not being generated and/or being deleted out of sequence which could also explain the Core dump to |/var/mnt/core-dump-handler/cdc pipe failed in the original error.

from core-dump-handler.

No9 avatar No9 commented on May 30, 2024

Hey @splitice Did you get this resolved?
If so can we close this or is there follow on required?
Thanks

from core-dump-handler.

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.