]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
vmware: Fixes VMDK volume incompatibility issue
authorUnmesh Gurjar <unmesh.gurjar@hp.com>
Mon, 2 Jun 2014 13:14:55 +0000 (18:44 +0530)
committerUnmesh Gurjar <unmesh.gurjar@hp.com>
Thu, 12 Jun 2014 06:48:14 +0000 (12:18 +0530)
commita23a80aeb8a35cd421fe63c984bf64f24f0dcb3c
tree0b80b3652dd6895d9785e10f0dde6b15792ae719
parent4759b83bd60184402230f45a93b6a69cf10d933d
vmware: Fixes VMDK volume incompatibility issue

VMDK volume created in a cluster having ESXi 5.1 host has a high
hardware version i.e. 9; hence, fails when attached to instance
on an ESXi 5.0 host. This patch sets the hardware version to 8,
so that the volume can be attached to instances on any ESXi host
starting version 5.0 and above.

Change-Id: Ia750fd1183334005a834eb49be767451d87b338c
Closes-Bug: #1325586
cinder/tests/test_vmware_volumeops.py
cinder/volume/drivers/vmware/volumeops.py