openbaton / autoscaling-engine

Respository containing the source code of the autoscaling system
Apache License 2.0
5 stars 5 forks source link

ASE returns 401 (Invalid_Token error) - while onboarding autoscale NSD #10

Closed onurko closed 5 years ago

onurko commented 7 years ago

Hello,

With given NSD example, NetworkServiceRecordRestAgent returns invalid_token error. I am attaching our sample NSD and autoscaling logs. sample_nsd.txt autoscale.txt

gc4rella commented 7 years ago

It seems the token requested by the ASE is expired. which ASE version are you running? It seems that you are spotting a bug which was fixed sometime ago. please provide more details about the scenario. did you restart the ASE? is the ASE running since a long time?

In any case, I think that restarting the ASE should temporary fix your issue.

onurko commented 7 years ago

Hello,

The version of ASE is 1.2.2. The scenario is very straight-forward, just launch the given NSD with auto-scale policy and encounter the given error logs. Although i restarted ASE engine, faced same problem. Another problem occurs while deleting NSR from OpenBaton. The foreign keys should be deleted manually from all DB tables which are altered for autoscaling. This can be evaluated as another problem and we can open issue for that also.

Thanks.

orkun34 commented 6 years ago

Is there any things going on about this issue ?

I've same problem. Whenever I restart it works for a while then it throws same error which is related to "401 Unauthorized"

gc4rella commented 6 years ago

yes, we have introduced a new mechanism for integrating external components like the ASE. It is already available under develop branches, and we plan to release a major release by the end of the month. Be aware that this new mechanism won't be compatible with older versions of the NFVO, so you will need to upgrade the whole environment.

mpauls commented 5 years ago

shall be fixed by the introduction of the service mechanism