3scale APIcast crashing with permission denied on NGiNX directory

Solution Verified - Updated -

Issue

We are having a problem with the redeploy of all APIcast after a while the pods go to Crash.

In the log there are errors such as:

2022/08/22 17:52:52 [debug] 15#15: *2 [lua] filesystem.lua:25: ldir(): error listing directory: /usr/local/openresty/nginx/client_body_temp err: /usr/local/share/lua/5.1/lfs.lua:513: cannot open /usr/local/openresty/nginx/client_body_temp : Permission denied
2022/08/22 17:52:52 [debug] 15#15: *2 [lua] filesystem.lua:25: ldir(): error listing directory: /usr/local/openresty/nginx/fastcgi_temp err: /usr/local/share/lua/5.1/lfs.lua:513: cannot open /usr/local/openresty/nginx/fastcgi_temp : Permission denied

And

no file '/opt/app-root/src/src/apicast/policy/apicast/apicast/balancer.lua'

Environment

  • Red Hat 3scale API Management
    • 2.4 on-premises
    • 2.5 on-premises
    • 2.6 on-premises

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content