]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: Handles no datastores case
authorKartik Bommepally <kbommepally@vmware.com>
Tue, 24 Sep 2013 10:58:10 +0000 (03:58 -0700)
committerKartik Bommepally <kbommepally@vmware.com>
Tue, 24 Sep 2013 10:58:10 +0000 (03:58 -0700)
commit04608f9126d2bc34abff7a80afe7ad1a39679a04
tree56e38a7e9f510e8019d2c390f66beaed50a98f9a
parent180513d5e4ed14e5f14fb8c800a17aa9f1594fb9
VMware: Handles no datastores case

If the host does not have datastores mounted or is in maintenance mode
then it reports empty datastores list. Modified code to ignore such cases.

Fixes bug: 1229653

Change-Id: I8f076d7b652181988b45738664a0d549c0b5ff9b
cinder/tests/test_vmware_vmdk.py
cinder/volume/drivers/vmware/volumeops.py