From 94621238d796565e0002a692097268323aa079fb Mon Sep 17 00:00:00 2001 From: George Postolache Date: Thu, 19 Mar 2020 10:44:19 +0200 Subject: [PATCH] Update create_flavor and set_aggregate Removed '--is_public' from args_dict inside create_flavor since it is not a valid argument for openstack create flavor, it is just used to add either '--public' or '--private' to the comand. Story: 2007472 Task: 39164 Patch Set 2: added Signed off by added Story added Task Change-Id: I16cc0d4000ab9313c65a7fa76c66678b4af65956 Signed-off-by: George Postolache --- automated-pytest-suite/keywords/nova_helper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/automated-pytest-suite/keywords/nova_helper.py b/automated-pytest-suite/keywords/nova_helper.py index ad48d2c..dbd9bbb 100755 --- a/automated-pytest-suite/keywords/nova_helper.py +++ b/automated-pytest-suite/keywords/nova_helper.py @@ -83,7 +83,6 @@ def create_flavor(name=None, flavor_id=None, vcpus=1, ram=1024, root_disk=None, '--ephemeral': ephemeral, '--swap': swap, '--rxtx-factor': rxtx_factor, - '--is-public': is_public, '--disk': root_disk, '--ram': ram, '--vcpus': vcpus, @@ -184,7 +183,7 @@ def set_aggregate(aggregate, properties=None, no_property=None, zone=None, if code > 0: return 1, output - msg = "Aggregate set successfully with param: {}".format(aggregate, args) + msg = "Aggregate {} set successfully with param: {}".format(aggregate, args) LOG.info(msg) return 0, msg