[SOLVED] Dead appliance refuses to delete

An appliance VM was deleted from the underlying provider but I cant seem to remove the appliance from the cluster.

I have done

  1. Configuration -> Diagnostics
  2. Region -> Roles by Servers
  3. Select dead appliance
  4. Configuration -> Delete server

But the appliance just stays in (not responding) state, and it just wont go away. Any ideas?

MiqServer.all.select { |srv| srv.name == "EVM-WORKER-1-BAD" }
MiqServer.where(:id => ID).take.delete

Just for the record. This GUI step here work for Gapri-3.

Another note, tested on Gapri-7.

Make sure the server process stopped thus delete option will showup as an option under configuration.