diff --git a/app/models/manageiq/providers/openstack/cloud_manager/cloud_volume.rb b/app/models/manageiq/providers/openstack/cloud_manager/cloud_volume.rb index 82dcfb578..82375a4ca 100644 --- a/app/models/manageiq/providers/openstack/cloud_manager/cloud_volume.rb +++ b/app/models/manageiq/providers/openstack/cloud_manager/cloud_volume.rb @@ -67,7 +67,7 @@ def raw_delete_volume :options => { :subject => self, }) do - with_provider_object(&:destroy) + with_provider_object {|volume| volume.try(:destroy) } end rescue => e _log.error "volume=[#{name}], error: #{e}"