Hi Eric,

               Thanks for the information.
@Srini,

               Need further investigation to identify what’s going wrong. It is 
not about platform feature discovery, but seems an issue to access the platform.

Hi Udhay,

               What’s the version for multicloud-windriver in your test?

Best Regards,
Bin Yang,    Solution Engineering Team,    Wind River
ONAP Multi-VIM/Cloud PTL
Direct +86,10,84777126    Mobile +86,13811391682    Fax +86,10,64398189
Skype: yangbincs993

From: Multanen, Eric W [mailto:[email protected]]
Sent: Thursday, December 20, 2018 4:29 AM
To: [email protected]; Addepalli, Srinivasa R; Yang, Bin; 
[email protected]
Subject: RE: [onap-discuss] [E] Re: [onap-discuss] [ESR][AAI][Multicloud]

Bin Yang,

Perhaps related to this thread or perhaps not …

I have been in the steps of redeploying and setting up and environment the past 
few days.
I had read somewhere recently to upgrade multicloud to 1.2.2 �C so I updated 
multicloud to that version.

Upon trying to register a cloud, I received this (from the multicloud logs) :
2018-12-19 
17:36:08|||||newton_base.registration.registration||139692698048320||post||INFO||registration
 with : CloudOwner, 
ONAP-POD-01-Rail-06||||requestID=847d9270-800d-3ef7-9e9d-37d0e0d5e5c9 
invocationID=083cbd6b-d61d-4cb2-a780-711a15dd311a 
serviceName=multicloud-titaniumcloud servic
eIP=10.42.196.34
2018-12-19 
17:36:08|||||newton_base.registration.registration||139692698048320||_get_list_resources||INFO||making
 request with URI:/regions,{'service_type': 'identity', 'interface': 
'public'}||||requestID=847d9270-800d-3ef7-9e9d-37d0e0d5e5c9 
invocationID=083cbd6b-d61d-4cb2-a780-711a15dd
311a serviceName=multicloud-titaniumcloud serviceIP=10.42.196.34
2018-12-19 
17:36:08|||||newton_base.registration.registration||139692698048320||_discover_regions||ERROR||HttpError:
 status:401, response:{u'error': {u'message': u'The request you have made 
requires authentication.', u'code': 401, u'title': 
u'Unauthorized'}}||||requestID=847d9270-800d-3
ef7-9e9d-37d0e0d5e5c9 invocationID=083cbd6b-d61d-4cb2-a780-711a15dd311a 
serviceName=multicloud-titaniumcloud serviceIP=10.42.196.34
2018-12-19 
17:36:08|||||newton_base.registration.registration||139692698048320||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()
||||requestID=847d9270-800d-3ef7-9e9d-37d0e0d5e5c9 
invocationID=083cbd6b-d61d-4cb2-a780-711a15dd311a 
serviceName=multicloud-titaniumcloud serviceIP=10.42.196.34

After multiple attempts / verifications that I had the correct credentials for 
the cloud I was trying to register with no luck, I changed the multicloud 
version back to 1.2.1 and then the cloud registration worked fine.

Eric


From: [email protected] [mailto:[email protected]] On 
Behalf Of Srini
Sent: Wednesday, December 19, 2018 7:41 AM
To: [email protected]; [email protected]; 
[email protected]
Subject: Re: [onap-discuss] [E] Re: [onap-discuss] [ESR][AAI][Multicloud]

Hi,

I just saw this email thread.

Hi Bin,
Please let us know if there is any problem with platform feature discovery.

Thanks
Srini


From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Yang Bin
Sent: Tuesday, December 18, 2018 6:19 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] [E] Re: [onap-discuss] [ESR][AAI][Multicloud]

And to your question “do we need to manually trigger the cloud information to 
Multicloud, Is it not not integrated as a part of ESR while registering the 
external cloud”, the answer is:  You don’t have to manually trigger the cloud 
registration if everything goes well when you register the cloud region, ESR 
will invoke the multicloud to update the AAI cloud region. However, if 
something wrong resulting the failure of the cloud registration, ESR will not 
invoke again the multicloud. In that case, you have to either delete the 
registered cloud region, or trigger multicloud  manually for updating the AAI 
cloud region.

Thanks

Best Regards,
Bin Yang,    Solution Engineering Team,    Wind River
ONAP Multi-VIM/Cloud PTL
Direct +86,10,84777126    Mobile +86,13811391682    Fax +86,10,64398189
Skype: yangbincs993

From: Yang, Bin
Sent: Tuesday, December 18, 2018 8:16 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] [E] Re: [onap-discuss] [ESR][AAI][Multicloud]

I guess something wrong with your AAI cloud region object, some field missing? 
please dump and post it for double check

Bin

在 2018年12月18日,19:29,M, UdhayaChandran via Lists.Onap.Org<http://Lists.Onap.Org> 
<[email protected]<mailto:[email protected]>>
 写道:
Hi,

Thanks for the input @lv.bo and @bin_yang

I got struct while registering the cloud with Multicloud.

3. update vim with multicloud by 
:/api/multicloud/v1/{cloud_owner}/{cloud_region_id}/registry

when i tried to curl this part , I got the following error:
curl -k -X POST -H "Accept: application/json" -H "Content-Type: 
application/json" -H "X-TransactionId: robot-ete-1234" -H "X-FromAppId: 
robot-ete"  
http://XX.XX.XX.XX:30294/api/multicloud-titanium_cloud/v1/CloudOwner2/regionOne/registry<http://xx.xx.xx.xx:30294/api/multicloud-titanium_cloud/v1/CloudOwner2/regionOne/registry>
 | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    50    0    50    0     0     55      0 --:--:-- --:--:-- --:--:--    55
{
    "error": "object of type 'NoneType' has no len()"
}

Also do we need to manually trigger the cloud information to Multicloud, Is it 
not not integrated as a part of ESR while registering the external cloud.

Regards,
Udhay


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

View/Reply Online (#14643): https://lists.onap.org/g/onap-discuss/message/14643
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