Hi Arun,
It seems that you didn't register ESR GUI to MSB. To use ESR function, you need
register both ESR server and ESR gui to MSB. And then visit
http://msb_server_ip/esrui/extsys/vim/vimView.html to manage VIM.
To register ESR to MSB, please use the commond bellow:
curl -X POST -H “Content-Type: application/json” -d ‘{“serviceName”:
“aai-esr-server”, “version”: “v1”, “url”: “/api/aai-esr-server/v1”,”protocol”:
“REST”, “visualRange”:”1”, “nodes”: [ {“ip”: “ESR_SERVER_IP”,”port”: “9518”}]}’
“http://MSB_SERVER_IP:10081/api/microservices/v1/services“
curl -X POST -H “Content-Type: application/json” -d ‘{“serviceName”:
“aai-esr-gui”, “url”: “/esr-gui”,”protocol”: “UI”, “visualRange”:”1”,
“path”:”/iui/aai-esr-gui”, “nodes”: [ {“ip”: “ESR_SERVER_IP”,”port”: “9519”}]}’
“http://MSB_SERVER_IP:10081/api/microservices/v1/services“
Thanks,
LiZi
原始邮件
发件人: <aroraa...@vmware.com>;
收件人:李滋00164331;
抄送人: <onap-discuss@lists.onap.org>; <ram...@vmware.com>; <rame...@vmware.com>;
<guptagau...@vmware.com>; <lxin...@vmware.com>; <ethanly...@vmware.com>;
日 期 :2018年02月03日 21:00
主 题 :ESR GUI misbehaving
Hi Li,
I am trying to register VIO on ESR to use it with Multi-cloud. To do so I am
using the ESR GUI.
As I was doing my experiments I am seeing GUI started to give query failerror
as shown below. However, initially it worked fine and I was able to register
VIM using GUI but now I cannot.
Following are the esr-gui logs in file:
/home/esr/tomcat/logs/localhost_access_log.2018-02-04.txt
10.12.25.153 - - [04/Feb/2018:04:57:46 +0000] "GET
/esr-gui/extsys/vim/vimView.html HTTP/1.1" 304 -
10.12.25.153 - - [04/Feb/2018:04:57:46 +0000] "GET
/esr-gui/extsys/vim/i18n/roc-vim-iui-i18n-en-US.properties?_=1517659859185
HTTP/1.1" 200 4407
10.12.25.153 - - [04/Feb/2018:04:57:47 +0000] "GET /api/aai-esr-server/v1/vims
HTTP/1.1" 404 1044
10.12.25.153 - - [04/Feb/2018:04:57:47 +0000] "GET /favicon.ico HTTP/1.1" 200
21630
I am getting a 404 response for a GET request on /api/aai-esr-server/v1/vims
However, I don’t see any logs in /home/esr/works/logs/extsys.log when the
request is sent from the ESR-GUI container !!
Surprisingly, If I give same request from Postman on my system I am getting 200
OK and the response body as well (Please see below screenshot).
So, it seems that somehow the request from GUI is not received on ESR-server.
Do you see this as an issue or something I am missing? If it’s an issue, can
you please suggest how can I revert to the original state?
Also, pls let me know if you need any additional info.
Thanks,
Arun
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss