From b7aa1bb3eaee2b986d3e192a4e3980c2fb1446b9 Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 24 Jul 2019 15:47:16 +0000 Subject: [PATCH] bug 668. Fix existing flavor as not created Change-Id: Ifab6f72590f813dbe24be0e78c5aadb14e58c9b4 Signed-off-by: tierno --- osm_ro/nfvo.py | 2 +- osm_ro/vimconn_openstack.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osm_ro/nfvo.py b/osm_ro/nfvo.py index b0a6a648..15f04d6e 100644 --- a/osm_ro/nfvo.py +++ b/osm_ro/nfvo.py @@ -808,7 +808,7 @@ def create_or_use_flavor(mydb, vims, flavor_dict, rollback_list, only_create_at_ try: flavor_vim_id = None flavor_vim_id=vim.get_flavor_id_from_data(flavor_dict) - flavor_create="false" + flavor_created="false" except vimconn.vimconnException as e: pass try: diff --git a/osm_ro/vimconn_openstack.py b/osm_ro/vimconn_openstack.py index f5f213b7..073a7522 100644 --- a/osm_ro/vimconn_openstack.py +++ b/osm_ro/vimconn_openstack.py @@ -799,7 +799,7 @@ class vimconnector(vimconn.vimconnector): extended = flavor_dict.get("extended", {}) if extended: #TODO - raise vimconn.vimconnNotFoundException("Flavor with EPA still not implemted") + raise vimconn.vimconnNotFoundException("Flavor with EPA still not implemented") # if len(numas) > 1: # raise vimconn.vimconnNotFoundException("Cannot find any flavor with more than one numa") # numa=numas[0] -- 2.25.1