crun icon indicating copy to clipboard operation
crun copied to clipboard

#21520 crun not working with pterodactyl wings

Open leonpano2006 opened this issue 1 year ago • 3 comments

i think i dont have to repost all things again https://github.com/containers/podman/issues/21520

issue oom killer can't be disabled and log driver issue and issue mentioned in https://github.com/pterodactyl/panel/issues/4928

leonpano2006 avatar Feb 15 '24 20:02 leonpano2006

runc seems to ignore it but OomKillDisable is not supported on cgroup v2.

I think pterodactyl wings should not set OomKillDisable on cgroup v2, since that cannot be honored

giuseppe avatar Feb 15 '24 21:02 giuseppe

runc seems to ignore it but OomKillDisable is not supported on cgroup v2.

I think pterodactyl wings should not set OomKillDisable on cgroup v2, since that cannot be honored

Ok But how about log driver? And other functions mentioned on other issue?

leonpano2006 avatar Feb 16 '24 00:02 leonpano2006

But how about log driver? And other functions mentioned on other issue?

what exactly is the problem with the log-driver? crun can use a file to log its messages if requested, but it doesn't have any log driver

giuseppe avatar Feb 17 '24 07:02 giuseppe

I've got no further information on my last question, so I am closing this for now. Please reopen if necessary

giuseppe avatar Mar 03 '24 21:03 giuseppe

ERROR: [Mar 10 20:17:50.401] failed to handle server crash error=failed to start server after crash detection: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: container create: running container create option: invalid log driver: invalid argument server=5de1e005-20e6-4f8f-8ef3-431536bae586

Stacktrace:
Error response from daemon: container create: running container create option: invalid log driver: invalid argument
environment/docker: failed to create container
github.com/pterodactyl/wings/environment/docker.(*Environment).Create
        github.com/pterodactyl/wings/environment/docker/container.go:261
github.com/pterodactyl/wings/environment/docker.(*Environment).OnBeforeStart
        github.com/pterodactyl/wings/environment/docker/power.go:43
github.com/pterodactyl/wings/environment/docker.(*Environment).Start
        github.com/pterodactyl/wings/environment/docker/power.go:105
github.com/pterodactyl/wings/server.(*Server).HandlePowerAction
        github.com/pterodactyl/wings/server/power.go:135
github.com/pterodactyl/wings/server.(*Server).handleServerCrash
        github.com/pterodactyl/wings/server/crash.go:90
github.com/pterodactyl/wings/server.(*Server).OnStateChange.func1
        github.com/pterodactyl/wings/server/server.go:324
runtime.goexit
        runtime/asm_amd64.s:1598

environment/docker: failed to run pre-boot process
failed to start server after crash detection
github.com/pterodactyl/wings/server.(*Server).handleServerCrash
        github.com/pterodactyl/wings/server/crash.go:90
github.com/pterodactyl/wings/server.(*Server).OnStateChange.func1
        github.com/pterodactyl/wings/server/server.go:324
runtime.goexit
        runtime/asm_amd64.s:1598

is error(this error wont happen on docker-ce)

leonpano2006 avatar Mar 10 '24 12:03 leonpano2006

my friends are too useless i ask them to upload this and they dont want for god sakes

leonpano2006 avatar Mar 10 '24 12:03 leonpano2006

Having this issue (specifically the log driver issue). Any updates? I can provide logs. EDIT: This may be the wrong place to ask, I'm just trying to use Pterodactyl at all. But since this was the same error message I figured it was worth a shot.

lyra56k avatar Jul 18 '24 05:07 lyra56k