From cdb7e22a14123e22c95eaca498e55ec70d0e3fdc Mon Sep 17 00:00:00 2001 From: Ilya Bumarskov Date: Tue, 26 Jan 2016 19:33:57 +0300 Subject: [PATCH] Enable 'VMware datastore for images' option in related tests Change-Id: I6123c3be9d8e9b86b3517fca0767994a0432dfc2 Closes-bug: #1539453 --- system_test/tests/vcenter/test_vcenter_dvs.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system_test/tests/vcenter/test_vcenter_dvs.py b/system_test/tests/vcenter/test_vcenter_dvs.py index 218b1d3f6..187fbde83 100644 --- a/system_test/tests/vcenter/test_vcenter_dvs.py +++ b/system_test/tests/vcenter/test_vcenter_dvs.py @@ -121,6 +121,13 @@ class VMwareActions(ActionsBase): ) if vmware_vcenter['glance']['enable']: + attributes = self.fuel_web.client.get_cluster_attributes( + self.cluster_id) + attributes['editable']['storage']['images_vcenter']['value'] =\ + vmware_vcenter['glance']['enable'] + self.fuel_web.client.update_cluster_attributes(self.cluster_id, + attributes) + vcenter_value["glance"]["vcenter_host"] = vmware_vcenter[ 'glance']['host'] vcenter_value["glance"]["vcenter_username"] = vmware_vcenter[