-
Bug
-
Resolution: Done
-
High
-
El Alto Release, Frankfurt Release
in the documentation at https://docs.onap.org/en/latest/guides/onap-operator/cloud_site/openstack/index.html in step 3 there is
The problem is this will result in a search in AAI for
the problem is in pub/msapi/extsys.py
def split_vim_to_owner_region(vim_id):
split_vim = vim_id.split('_')
cloud_owner = split_vim[0]
cloud_region = "".join(split_vim[1:])
return cloud_owner, cloud_region
this is meant to just split of the first _ but it actually removes all the _ in the cloud_region as well.
I think it should be
def split_vim_to_owner_region(vim_id):
split_vim = vim_id.split('_')
cloud_owner = split_vim[0]
#cloud_region = "".join(split_vim[1:])
cloud_region = vim_id.replace(cloud_owner+"_","")
return cloud_owner, cloud_region
Documentation at https://docs.onap.org/en/latest/guides/onap-operator/cloud_site/openstack/index.html should be updated to match this fix