- This is a known issue affecting VMware Aria Automation and VMware Aria Automation Orchestrator 8.x
- Currently, there is no resolution. There is a workaround.
Workaround:
Procedure
- Increase the data disk size (Disk2) on each appliance with sufficient space to perform manual vacuum full on the vmo_workflowtokencontent table.
Note: The vacuum full command does a full copy of the vacuumed table, hence you need to increase the disk with the minimum size of the current vmo_workflowtokencontent table.
- Backup all appliance nodes without stopping them.
- On each appliance node, execute the command to restore the deleted docker images:
/opt/scripts/restore_docker_images.sh
- Wait until the vRA/vRO cluster is healthy and all pods are in running state.
- Connect to the postgres database "vco-db" and run vacuum full on the "vmo_workflowtokencontent" table:
VACUUM (FULL, VERBOSE, ANALYZE) vmo_workflowtokencontent;
Example:
root@vra-appliance [ ~ ]# vracli dev psql
....
template1=# \c vco-db
You are now connected to database "vco-db" as user "postgres".
vco-db=# VACUUM (FULL, VERBOSE, ANALYZE) vmo_workflowtokencontent;
INFO: vacuuming "public.vmo_workflowtokencontent"
INFO: "vmo_workflowtokencontent": found 0 removable, 17 nonremovable row versions in 2 pages
DETAIL: 0 dead row versions cannot be removed yet.
CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s.
INFO: analyzing "public.vmo_workflowtokencontent"
INFO: "vmo_workflowtokencontent": scanned 2 of 2 pages, containing 17 live rows and 0 dead rows; 17 rows in sample, 17 estimated total rows
VACUUM
- Update the auto-vacuum configuration to allow more frequent vacuum attempts:
alter table vmo_workflowtokencontent set (autovacuum_vacuum_scale_factor = 0.05);
alter table vmo_workflowtokencontent set (autovacuum_vacuum_threshold = 25);
alter table vmo_workflowtokencontent set (autovacuum_vacuum_cost_delay = 10);
alter table vmo_workflowtokencontent set (autovacuum_analyze_threshold = 25);
alter table vmo_workflowtokencontent set (toast.autovacuum_vacuum_scale_factor = 0.05);
alter table vmo_workflowtokencontent set (toast.autovacuum_vacuum_threshold = 25);
alter table vmo_workflowtokencontent set (toast.autovacuum_vacuum_cost_delay = 10);
- Validate the new auto-vacuum scale factor settings:
vco-db=# SELECT relname, pg_options_to_table(reloptions) AS reloption
FROM pg_class
WHERE reloptions IS NOT NULL
AND relnamespace = 'public'::regnamespace
ORDER BY relname, reloption;
- Verify that manual vacuum full command reduced the vmo_workflowtokencontent table size and that the /data disk now has enough free space.