Revision f28ec899 lib/backend.py

b/lib/backend.py
1099 1099
    if iname in hyper.ListInstances():
1100 1100
      _Fail("Could not shutdown instance %s even by destroy", iname)
1101 1101

  
1102
  try:
1103
    hyper.CleanupInstance(instance.name)
1104
  except errors.HypervisorError, err:
1105
    logging.warning("Failed to execute post-shutdown cleanup step: %s", err)
1106

  
1102 1107
  _RemoveBlockDevLinks(iname, instance.disks)
1103 1108

  
1104 1109

  

Also available in: Unified diff