]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: Fail immediately for images in a container
authorVipin Balachandran <vbala@vmware.com>
Wed, 14 Jan 2015 19:03:52 +0000 (00:33 +0530)
committerVipin Balachandran <vbala@vmware.com>
Mon, 16 Mar 2015 20:25:17 +0000 (13:25 -0700)
commit869e71c31a6e2c1753796625b060fa39848af683
tree631393d89d46b3e4728beabd08866995a5c3a51c
parent7ce54802fcba0590238ccf60d1f91f9f7dd4f4dc
VMware: Fail immediately for images in a container

Currently VMDK driver doesn't support images within
a container such as OVA. Instead of throwing an error
immediately, the driver tries to create a backing
using the container as its vmdk. This will eventually
fail with vCenter error. This patch fixes it.

Change-Id: Ie97a3a63807d00880310f2a7e5f6d32ee89d2cd7
Closes-Bug: #1371478
cinder/tests/test_vmware_vmdk.py
cinder/volume/drivers/vmware/vmdk.py