StorageGRID VMゲートウェイノードサービスのnginx-gwがエラー状態
環境
StorageGRID OS 11.6.x
問題
VMゲートウェイノードがオフラインと表示されているため、nginx-gw
サービスを開始できません。
root@<Node>:~ # service nginx-gw status nginx-gw in error state. root@<Node>:~ # service nginx-gw start starting nginx-gw ... failed to start: entered error state. == Servermanager.log == [2022-06-13T02:12:05.578] INFO -- Moving APIC certificates file "/tmp/apic.json" [2022-06-13T02:12:05.578] INFO -- Moving APIC certificates file "/tmp/apic.json" [2022-06-13T02:12:05.578] INFO -- Overwriting existing file "/var/local/tmp/apic.json" [2022-06-13T02:12:05.578] INFO -- Overwriting existing file "/var/local/tmp/apic.json" [2022-06-13T02:12:05.578] ERROR -- Failed to render config templates Traceback (most recent call last): File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 181, in <module> do_sync_files(args.sync_files) File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 124, in do_sync_files with open(dest_path, "w") as fd: IOError: [Errno 13] Permission denied: '/var/local/tmp/apic.json' [2022-06-13T02:12:05.578] ERROR -- Failed to render config templates Traceback (most recent call last): File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 181, in <module> do_sync_files(args.sync_files) File "/usr/local/nginx-gw/generate_nginx_ [2022-06-13T02:12:05.578] ERROR -- Failed to render config templates Traceback (most recent call last): File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 181, in <module> do_sync_files(args.sync_files) File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 124, in do_sync_files with open(dest_path, "w") as fd: IOError: [Errno 13] Permission denied: '/var/local/tmp/apic.json' 2022-06-13 02:12:05 +0000 | nginx-gw | nginx-gw ended 2022-06-13 02:12:08 +0000 | nginx-gw | Too many failed attempts, entering error state 2022-06-13 02:12:08 +0000 | nginx-gw | nginx-gw ended 2022-06-13 02:12:10 +0000 | nginx-gw | unknown state found by init.d status: ok: down: nginx-g w: 0s, normally up