From 9052ea988c15ad8eab757271f886429619c0aa7d Mon Sep 17 00:00:00 2001 From: "juraj.linkes" Date: Thu, 15 Sep 2016 16:11:40 +0200 Subject: [PATCH] fixed updating of hugepage flavors Change-Id: I5719aef5d5334584337858cf5fee3ef024c0eaac Signed-off-by: juraj.linkes (cherry picked from commit 758ef5ddb78f8b5a948189f398daa7d4457b9f1d) --- utils/openstack_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/openstack_utils.py b/utils/openstack_utils.py index 8c2e00cb1..c53e631d0 100755 --- a/utils/openstack_utils.py +++ b/utils/openstack_utils.py @@ -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 -- 2.16.6