What is init container error of conf bench pod?:- Attached SS below please refer.
Also as you suggested above:- " take the part under values: from release and make it separate helm values file"
pods came but still it was application pods throughing the crashloopback error. attached SS for pod logs below. Please refer.
and also scheduler pod also same error
and i’m using this image: image: registry.gitlab.com/castlecraft/k8s_bench_interface/bench:14.2.1-0
even i have changed the image instead of 14.2.1 to latest still same error i’m facing. latest image pod logs.
PS C:\Users\SivaSaiGaneshS\Desktop\Roothoot_Files\ERP-K8\aws-eks-erpnext-main> kubectl logs frappe-bench-erpnext-worker-l-7747d7dbbf-bh8rc -n erpnext
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 109, in <module>
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
commands = get_app_groups()
^^^^^^^^^^^^^^^^
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 25, in get_app_groups
for app in get_apps():
^^^^^^^^^^
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 102, in get_apps
return frappe.get_all_apps(with_internal_apps=False, sites_path=".")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1398, in get_all_apps
apps = get_file_items(os.path.join(sites_path, "apps.txt"), raise_not_found=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1564, in get_file_items
content = read_file(path, raise_not_found=raise_not_found)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1592, in read_file
raise OSError(f"{path} Not Found")
OSError: b'./apps.txt' Not Found
socket pod logs:-
kubectl logs frappe-bench-erpnext-socketio-6795f8d59c-msd7c -n erpnext
node:events:491
throw er; // Unhandled ‘error’ event
^
Error: connect ECONNREFUSED 127.0.0.1:12311
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
Emitted ‘error’ event on RedisClient instance at:
at RedisClient.on_error (/home/frappe/frappe-bench/apps/frappe/node_modules/redis/index.js:342:14)
at Socket. (/home/frappe/frappe-bench/apps/frappe/node_modules/redis/index.js:223:14)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -111,
code: ‘ECONNREFUSED’,
syscall: ‘connect’,
address: ‘127.0.0.1’,
port: 12311
}