Users cannot log in to SSP due to Postgres disk storage reaching 100% capacity, forcing the database pod into a CrashLoopBackOff state.
Error:
Unable to login to SSP : Your login attempt was not successful. The username/password combination is incorrect or the account specified has been locked.
vDefend Security Services Platform(SSP) 5.1, 5.1.1
Environments with slower storage disks (high write latency) are particularly susceptible. Please note the shared storage latency requirement in System Requirements
This issue occurs due to a combination of a defect in the export job expiration logic and slow underlying storage infrastructure:
TOAST table.To confirm if your environment is experiencing this specific issue, generate both SSP (platform) and SSPI (installer) support bundles and perform the following checks:
postgresql-ha-postgresql-0 would have appeared before the disk filled up.var/log/ssp/supportbundle/kubectl_df_pv.txt to check the name, volume, and usage of the Postgres PVC (data-postgresql-ha-postgresql-0), and identify its worker node.var/log/ssp/supportbundle/postgres_metrics/druid_postgres_sql_metrics. Locate the VACUUM_REPORT section. If intelligence.exportjob shows abnormally high storage usage (e.g., 40GB+), this issue is present.<worker node name>/system/mount to find the device corresponding to the PVC. Look for an entry similar to: /dev/sdh on /var/lib/containers/kubelet/pods/.../pvc-XXX/mount (indicating sdh is the block device).<worker node name>/var/log/stats/iostat.log to check the write latency (w_await) of the PVC's block device. Ideal write latency should be less than 10ms.To permanently resolve this issue, ensure your underlying storage infrastructure meets the required SSP latency specifications.
To recover the system, follow the steps below.
Step 1: Unblock the Database by Expanding PVC Storage
If the Postgres pod is currently crashing, increase the PVC storage to allow Postgres to start up and process its transaction logs. (Note: Your storage class must support volume expansion).
root(SSP 5.0)/sysadmin(SSP 5.1) credentials.k edit pvc data-postgresql-ha-postgresql-0 -n nsxi-platform
k delete pod postgresql-ha-postgresql-0 -n nsxi-platform
Kafka-broker) are stuck in an Init:CrashLoopBackOff state, delete their pods as well to force a restart.Step 2: Apply the Remediation Patch
To allow the auto-vacuum process to catch up and prevent future bloat, apply the standalone CronJob patch. This job runs every 30 minutes to mark expired jobs as deleted and clears the payloads of completed and failed jobs, reducing storage consumption.
exportjob-cleanup.yaml and apply-exportjob-cleanup.sh scripts attached to this KB.chmod +x apply-exportjob-cleanup.sh
kubeconfig. ./apply-exportjob-cleanup.sh /config/clusterctl/1/workload.kubeconfig
k create job --from=cronjob/visualization-exportjob-cleanup-cronjob exportjob-cleanup-manual-$(date +%s) -n nsxi-platformThis is tracked internally via the ticket #3706654.
This issue is fixed in SSP version 5.1.1.1.