fixed updating of hugepage flavors
authorjuraj.linkes <jlinkes@cisco.com>
Thu, 15 Sep 2016 14:11:40 +0000 (16:11 +0200)
committerjuraj.linkes <jlinkes@cisco.com>
Thu, 15 Sep 2016 14:11:40 +0000 (16:11 +0200)
Change-Id: I5719aef5d5334584337858cf5fee3ef024c0eaac
Signed-off-by: juraj.linkes <jlinkes@cisco.com>
utils/openstack_utils.py

index 5a4775d..d528549 100755 (executable)
@@ -239,7 +239,7 @@ def create_flavor(nova_client, flavor_name, ram, disk, vcpus):
         try:
             extra_specs = ft_utils.get_functest_config(
                 'general.flavor_extra_specs')
-            flavor.update(extra_specs)
+            flavor.set_keys(extra_specs)
         except ValueError:
             # flavor extra specs are not configured, therefore skip the update
             pass