1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-30 22:50:10 +03:00

M #-: Fix control opennebula.vm.running parameter (#3885)

This commit is contained in:
Angel Luis Moya Gonzalez 2019-10-28 17:06:25 +01:00 committed by Tino Vázquez
parent 9693702c57
commit c930c0798d
4 changed files with 0 additions and 5 deletions

View File

@ -57,8 +57,6 @@ begin
vm = VCenterDriver::VirtualMachine.new(vi_client, vm_ref, vm_id)
vm.poweroff_hard
vm.set_running(false, true)
rescue StandardError => e
if (retries += 1) < CONFIG[:retries]
message = "Cancel VM #{vm_ref} failed due to "\

View File

@ -49,7 +49,6 @@ begin
vm = VCenterDriver::VirtualMachine.new_without_id(vi_client, vm_ref)
vm.poweron
vm.set_running(true, true)
rescue StandardError => e
message = "Restore of VM #{vm_ref} on vCenter cluster "\
"#{vc_cluster_name} failed due to "\

View File

@ -60,7 +60,6 @@ begin
vm = VCenterDriver::VirtualMachine.new_without_id(vi_client, vm_ref)
vm.suspend
vm.set_running(false, true)
rescue StandardError => e
message = "Save of VM #{vm_ref} on vCenter cluster "\
"#{vc_cluster_name} failed due to "\

View File

@ -71,7 +71,6 @@ begin
vm = VCenterDriver::VirtualMachine.new_without_id(vi_client, vm_ref)
vm.shutdown # Undeploy, Poweroff or Terminate
vm.set_running(false, true)
rescue StandardError => e
if (retries += 1) < CONFIG[:retries]
message = "Shutdown of VM #{vm_ref} on vCenter cluster "\