** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1173017

Title:
  No cleanup done when file transfer fails with powervm driver

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When deploye one instance with powervm driver ,  it will transfer
  image file to host , and l leave the file on host when image file
  transfer fails . Need clean the file  in this situation .

  see 
https://github.com/openstack/nova/blob/master/nova/virt/powervm/blockdev.py#L423
              if not output:
                  LOG.error(_("Unable to get checksum"))
                  raise exception.PowerVMFileTransferFailed()
              if source_cksum != output.split(' ')[0]:
                  LOG.error(_("Image checksums do not match"))
                  raise exception.PowerVMFileTransferFailed()

  We need cleanup the  failed  file before raising exception.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1173017/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to