Okay,  I think this is the root cause:  keystone API v2.0 doesn't support API 
to get region list.

Since keystone API v2.0 version has been deprecated and dropped from OpenStack 
community, there is no available API document either , I suggest you workaround 
it by registering OpenStack with keystone v3 endpoint. Please file a jira issue 
to track this issue as well , I will figure out how to handle this issue from 
both code and documentation sides.

Thanks

Bin

在 2018年12月20日,15:24,M, UdhayaChandran via Lists.Onap.Org<http://Lists.Onap.Org> 
<[email protected]<mailto:[email protected]>>
 写道:

Hi Bin,

I tried with V2.0, but it didnt work out.

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()

Regards,
Udhay


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14654): https://lists.onap.org/g/onap-discuss/message/14654
Mute This Topic: https://lists.onap.org/mt/28789694/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to