]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware:Fix error creating vCenter inventory folder
authorVipin Balachandran <vbala@vmware.com>
Thu, 22 Jan 2015 09:49:20 +0000 (15:19 +0530)
committerVipin Balachandran <vbala@vmware.com>
Thu, 22 Jan 2015 10:06:05 +0000 (15:36 +0530)
commit3e1b27e1d7731478cb43741f33ec91a30315ca01
tree0f3478861ad69c71b8b0b6402599136a9a8c2406
parent278c74a113999068b7ebf476335f96a9ad556aa3
VMware:Fix error creating vCenter inventory folder

Creating vCenter inventory folder for grouping volumes will
fail with AttributeError if the vCenter's datacenter doesn't
have any child folder under vmFolder (inventory folder for
grouping virtual machines). This patch fixes it.

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