theforeman / foreman_fog_proxmox

Foreman plugin to add Proxmox compute resource based on fog-proxmox gem
GNU General Public License v3.0
106 stars 31 forks source link

Proxmox hosts are not deleted in bulk job #176

Closed brimioulle closed 3 years ago

brimioulle commented 3 years ago

When trying to delete proxmox hosts via bulk action the task returns "success" but hosts are not being deleted. Deleting of a single host by pushing the "Delete"-button in host view still works though.

Steps to Reproduce:

  1. Go to "All Hosts"
  2. Select a proxmox host
  3. Go to "Select Action" and execute "Delete host"

Actual results: The tasks returns "success" but the host is not deleted.

Expected results: The host is deleted.

tristanrobert commented 3 years ago

You should add :destroy_vm_on_host_delete: true in config/settings.yaml of your foreman installation. It will delete vm associated to host on its deletion.