-
Bug
-
Resolution: Done
-
Medium
-
Casablanca Release
-
None
I am trying to register an external cloud through ESR.
But the flavor and other information's of the cloud are not stored in AAI database.
I debugged the Multicloud-windriver pod logs, and found there is a problem in forming the url to get the cloud informations from openstack.
2018-12-20 07:09:16|||||newton_base.registration.registration||140080160483136||_get_list_resources||INFO||making request with URI:regions,{'service_type': 'identity', 'interface': 'public'}||||requestID=766690fd-ccb8-3135-82b2-678e9825c2ba invocationID=26d67fbc-bf94-4fee-b352-5526b9aae058 serviceName=multicloud-titaniumcloud serviceIP=10.42.135.46
2018-12-20 07:09:16|||||newton_base.registration.registration||140080160483136||_discover_regions||ERROR||HttpError: status:404, response:{u'error': {u'message': u'The resource could not be found.', u'code': 404, u'title': u'Not Found'}}||||requestID=766690fd-ccb8-3135-82b2-678e9825c2ba invocationID=26d67fbc-bf94-4fee-b352-5526b9aae058 serviceName=multicloud-titaniumcloud serviceIP=10.42.135.46
2018-12-20 07:09:16|||||newton_base.registration.registration||140080160483136||post||ERROR||Traceback (most recent call last):
File "./titanium_cloud/registration/views/registration.py", line 235, in post
if (len(region_ids) == 0):
TypeError: object of type 'NoneType' has no len()
when I tried to manually append the https endpoint with v3 in the registration.py, it worked out, but not the same with v2.0.
2018-12-20 07:09:16|||||newton_base.registration.registration||140080160483136||_get_list_resources||INFO||making request with URI:https://X.X.X.X:13000/v2.0/regions,\{'service_type': 'identity', 'interface': 'public'}||||requestID=766690fd-ccb8-3135-82b2-678e9825c2ba invocationID=26d67fbc-bf94-4fee-b352-5526b9aae058 serviceName=multicloud-titaniumcloud serviceIP=10.42.135.46
2018-12-20 07:09:16|||||newton_base.registration.registration||140080160483136||_discover_regions||ERROR||HttpError: status:404, response:{u'error': {u'message': u'The resource could not be found.', u'code': 404, u'title': u'Not Found'}}||||requestID=766690fd-ccb8-3135-82b2-678e9825c2ba invocationID=26d67fbc-bf94-4fee-b352-5526b9aae058 serviceName=multicloud-titaniumcloud serviceIP=10.42.135.46
2018-12-20 07:09:16|||||newton_base.registration.registration||140080160483136||post||ERROR||Traceback (most recent call last):
File "./titanium_cloud/registration/views/registration.py", line 235, in post
if (len(region_ids) == 0):
TypeError: object of type 'NoneType' has no len()
Discuss list reference link: