]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Create "image_conversion_dir" before creating temporary file
authorBharat Kumar Kobagana <bkobagan@redhat.com>
Mon, 24 Nov 2014 08:38:26 +0000 (14:08 +0530)
committerBharat Kumar Kobagana <bkobagan@redhat.com>
Mon, 24 Nov 2014 09:07:28 +0000 (14:37 +0530)
commitc6d58672ed9666cbd9ad0d6454b064d8d05b43cc
tree94060d260bae733d32622aae7819f19d6155de7f
parent24ce46bb98ec55cc1ceffd847e92d153bbc8a09a
Create "image_conversion_dir" before creating temporary file

In file "image_utils.py", "create_temporary_file" method is
failing because, CONF.image_conversion_dir folder doesn't exist.

This patch solves the issue by creating image_conversion_dir
directory before calling "create_temporary_file" method.

Change-Id: I546180e0521616fccdaf261d25fd4356d05f0274
Closes-Bug: #1394578
cinder/image/image_utils.py