Skip to content

lua-resty-core update causes crashloop on startup for ingress-nginx-controller #70513

@mbrancato

Description

@mbrancato

Installing ingress-nginx-controller-1.13-1.13.3-r2 also installs lua-resty-core-0.1.32-r0 as a dependency as of 2025-10-30. Prior to this week, it installed lua-resty-core-0.1.31-r2.

Relevant change: #70335

On startup, with no config changes, I see these errors:

2025/11/01 03:51:43 [alert] 21#21: failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: /usr/lib/lua/resty/core/base.lua:24: ngx_http_lua_module 0.10.29 required) in /etc/nginx/nginx.conf:7
nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: /usr/lib/lua/resty/core/base.lua:24: ngx_http_lua_module 0.10.29 required) in /etc/nginx/nginx.conf:7
W1101 03:51:43.730571       1 nginx.go:37] 
-------------------------------------------------------------------------------
NGINX master process died (1): exit status 1
-------------------------------------------------------------------------------
I1101 03:51:43.731051       1 controller.go:214] "Configuration changes detected, backend reload required"

...

E1101 03:51:43.761790       1 controller.go:223] Unexpected failure reloading the backend:
exit status 1
2025/11/01 03:51:43 [notice] 23#23: signal process started
2025/11/01 03:51:43 [error] 23#23: invalid PID number "" in "/tmp/nginx/nginx.pid"
nginx: [error] invalid PID number "" in "/tmp/nginx/nginx.pid"
E1101 03:51:43.761886       1 queue.go:131] "requeuing" err=<
	exit status 1
	2025/11/01 03:51:43 [notice] 23#23: signal process started
	2025/11/01 03:51:43 [error] 23#23: invalid PID number "" in "/tmp/nginx/nginx.pid"
	nginx: [error] invalid PID number "" in "/tmp/nginx/nginx.pid"
 > key="initial-sync"

This crash leads to a crashloop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions