X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=nfvo.py;h=c8ef020d75a300b583bfa1b5fc7f3701974aae69;hb=b6153a2b6385606e5ad7bdbd47070bdecc1afd62;hp=84aec64919c7cc81f17bd9e7b6549d180fb59a02;hpb=d29b1d39bb739424a674030d11aa9c7e6f17fbb2;p=osm%2FRO.git diff --git a/nfvo.py b/nfvo.py index 84aec649..c8ef020d 100644 --- a/nfvo.py +++ b/nfvo.py @@ -364,7 +364,8 @@ def create_or_use_image(mydb, vims, image_dict, rollback_list, only_create_at_vi rollback_list.append({"where":"vim", "vim_id": vim_id, "what":"image","uuid":image_vim_id}) image_created="true" else: - raise vimconn.vimconnException("Cannot create image without location") + #If we reach this point, then the image has image name, and optionally checksum, and could not be found + raise vimconn.vimconnException(str(e)) except vimconn.vimconnException as e: if return_on_error: logger.error("Error creating image at VIM '%s': %s", vim["name"], str(e))