cephadm: Add --container-init#36822
Conversation
The kernel treats any process with PID 1 different. Especially it does not generate a core dump. Call podman / docker with --init in order to get core dumps. In addition, we can now properly reap zombies processes. Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
c182792 to
b87adcd
Compare
|
@sebastian-philipp So does "--init" for podman work as expected? |
looks like it works, only thing that is strange is: |
when adding |
|
btw, I just added |
Thanks! |
np, but please check |
137 seems to be related to OOM. |
|
@sebastian-philipp Do I understand this PR correctly that the
Maybe the option should be |
If I run this on my machine, I'm getting No way we can make this the default right now. |
|
For SUSE/openSUSE that is a packaging bug -- it's because podman doesn't want to use the installed |
I think SUSE is fine here. I was testing this on Ubuntu |
|
I would argue that coredump is very important to tackle many issues and sometimes that only thing devs have. I think It is also could be workaround by something like So I would say |
|
b87adcd to
d28a64e
Compare
@sebastian-philipp Ah okay, yeah. Someone should probably send a bug report to Ubuntu. I just double-checked and |
I don't like that as well. In that example bash runs as pid 1, at least at my machine. You need number of commands so bash would be pid 1. |
The kernel treats any process with PID 1 different. Especially it does not generate a core dump. Call podman / docker with --init in order to get core dumps. In addition, we can now properly reap zombies processes. Fixes: https://tracker.ceph.com/issues/44231 Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
d28a64e to
5339315
Compare
cephadm: Add --container-image
The kernel treats any process with PID 1 different. Especially
it does not generate a core dump. Call podman / docker with
--init in order to get core dumps.
In addition, we can now properly reap zombies processes.
Fixes: https://tracker.ceph.com/issues/44231
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox