← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1188884] Re: Need clean up ftp transfer faiure in powervm driver

 

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

-- 
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/1188884

Title:
  Need clean up  ftp transfer faiure  in powervm driver

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Released

Bug description:
  During spawn  with powervm driver , transfer  image file from  glance
  server to IVM host may fail in some conditions , like IVM host doesn't
  have enough disk space . It leaves the garbage file in IVM host , will
  disturb next spawn  after resovle envrioment  issue ,need clean it .

  In my test case I started an ISO deploy, then while the file was being copied to the IVM I filled up the destination directory to create an out-of-space condition. 
  The ftp transfer failed and the ISO was not deleted:
  -------------------------------------------------------------------------------------------------------
  c25ff88-bcae-4850-bb77-70929f67c0b0.bc0_b01.iso to /home/padmin failed
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator Traceback (most recent call last):
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator   File "/usr/lib/python2.6/site-packages/nova/virt/powervm/operator.py", line 618, in _create_image
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator     context, instance, image_id)
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator   File "/usr/lib/python2.6/site-packages/nova/virt/powervm/decorator.py", line 25, in wrapper
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator     r = f(*args, **kwds)
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator   File "/usr/lib/python2.6/site-packages/nova/virt/powervm/blockdev.py", line 152, in create_volume_from_image
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator     image_meta)
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator   File "/usr/lib/python2.6/site-packages/nova/virt/powervm/decorator.py", line 25, in wrapper
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator     r = f(*args, **kwds)
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator   File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 242, in inner
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator     retval = f(*args, **kwargs)
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator   File "/usr/lib/python2.6/site-packages/nova/virt/powervm/blockdev.py", line 252, in _prepare_iso_image_on_host
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator     host_dir)
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator   File "/usr/lib/python2.6/site-packages/nova/virt/powervm/blockdev.py", line 178, in copy_image_file
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator     remote_path)
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator   File "/usr/lib/python2.6/site-packages/nova/virt/powervm/common.py", line 125, in ftp_put_command
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator     source_path=local_path, dest_path=remote_dir)
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator PowerVMFTPTransferFailed: FTP PUT from /var/lib/nova/images/ac25ff88-bcae-4850-bb77-70929f67c0b0.bc0_b01.iso to /home/padmin failed
  2013-06-06 16:43:32.572 18655 TRACE nova.virt.powervm.operator
  -------------------------------------------------------------------------------------------------------

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