→ Applies to: SynetoOS 5.x
It can happen in specific cases that, after removing some old VMs, residual entries remain in the system. When this happens, the VM appears with a red icon ("UNREGISTERED") next to its name.
This article explains how to properly remove the VM from the web interface.
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Become Super User
sudo su
Step 3. Connect to the PostgreSQL database
kubectl exec -it pods/postgres-postgresql-0 -- bash -c 'PGPASSWORD=$POSTGRES_PASSWORD psql --host localhost --user postgres -d chronos'
Step 4. Remove the VM (replace <vm_name> with the correct information)
delete from virtual_machines where is_missing='t' and name='<vm_name>';EXAMPLE
