]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Enable certificate verification during image copy
authorVipin Balachandran <vbala@vmware.com>
Tue, 25 Aug 2015 11:36:16 +0000 (17:06 +0530)
committerVipin Balachandran <vbala@vmware.com>
Tue, 15 Sep 2015 05:53:03 +0000 (11:23 +0530)
commit6592d8cff58b34fca96b9f57454173da4df68a81
tree6be4d18b69eaf114454942f62c7108425cbfe848
parent8312a3ed5eafdc0f5532a354228723da39c14948
Enable certificate verification during image copy

The VMDK driver config options 'vmware_ca_file' and 'vmware_insecure'
are ignored while copying sparse or preallocated vmdk images to vCenter
datastores for volume creation. Therefore, the vCenter certificate is
not verified during image copy.

This patch sets appropriate parameters in the oslo.vmware API (for
copying images) call to enable vCenter certificate verification.

Closes-bug: #1493331
Change-Id: I04f6a6def9867a573258b0d37693b1824e415838
cinder/tests/unit/test_vmware_vmdk.py
cinder/volume/drivers/vmware/vmdk.py