Summary
After installing services in the Service Gateway 2.0 appliance, some services are reported unhealthy after the gateway upgrade.
- Runing the CLI command "show sg" indicates /image disk is full.
> show sg
cat /etc/firmware_version ; /usr/share/clish/scripts/basecmd.sh sginfo result:
2.0.8.10448
cat: cat: No such file or directory
2.0.8.10448: Thu Feb 23 11:04:46 UTC 2023 VM:5.4.200-1.el7.elrepo.x86_64 vmware CPU: Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz Fd: 4800 0 2870492
BASEINFO: CPU: 24 MEM: 12G/27G PROXY: NTP: 0.ca.pool.ntp.org
Internal Network: Dev: eth0 IPv4: 192.168.210.7/24 192.168.210.1 192.168.202.121,10.87.10.5 IPv6: fe80::e059:3d96:e7f9:b2c7/64 -- (InnerPool: 198.18.0.0/16)
External Network: not configure
sys: top - 11:04:47 up 2 days, 3:55, 1 user, load average: 0.39, 0.47, 0.66
Tasks: 672 total, 1 running, 481 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.2 us, 0.8 sy, 0.0 ni, 98.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 28806260 total, 13166144 free, 2903912 used, 12736204 buff/cache
KiB Swap: 1048572 total, 1048572 free, 0 used. 25429568 avail Mem
Disk:
root 50G 13G 35G 26% /
sgdata 77G 37G 37G 50% /data
sgimage 20G 20G 0 100% /image
back 50G 20G 27G 43% /back
- Checking upgrade.log it reports "No space left on device".
2023-02-15 04:24:30 (3.92 MB/s) - ‘/image/services//sig/master-1.0.7.10026/swg-onpremise-scanner_master_1.0.7.10026.tar.gz’ saved [827665117/827665117]
2023-02-15 04:24:30 INFO download image response OK
2023-02-15 04:24:35 INFO image sha256 is OK, will import image to k8s
tar: swg-onpremise-scanner_master_1.0.7.10026.tar: Wrote only 512 of 10240 bytes
tar: Exiting with failure status due to previous errors
tar: ./deploy: Cannot mkdir: No space left on device
tar: ./deploy: Cannot mkdir: No space left on device
tar: ./deploy/deploy.sh: Cannot open: No such file or directory
Installation of multiple services that causes /image disk to be full may cause failure to start the services.
Follow these steps to extend service gateway storage:
- Please refer to KB Extending Service Gateway storage in Trend Vision One to extend the service gateway storage.
-
After increased the storage, please wait for about several minutes , then login the service gateway CLI to verify it
- If the services status is still "Unhealthy", uninstall it from the web console and reinstall it.
If this issue is not fixed after increasing the storage, collect the CDT log and contact TrendMicro Support.