Jimmy,

Thanks for your quick response.

It directs to the login page 
https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm when I try 
with https 
(https://aai.api.sparky.simpledemo.onap.org:30220/services/aai/webapp/index.html#/schema)
  in a new tab when I am already logged in to the portal in a different tab.

I also tried to open AAI from the Portal home page. It says 
“portal.api.simpledemo.onap.org refused to connect.”

Thanks,
Thiriloshini

From: FORSYTH, JAMES <[email protected]>
Sent: Monday, June 24, 2019 12:20 PM
To: [email protected]; Thoppekrishnakumar, Thiriloshini 
<[email protected]>; Arul Nambi 
<[email protected]>; [email protected]; [email protected]
Subject: Re: [onap-discuss] [AAI] [portal] Problem accessing AAI GUI

Hi, Thiriloshini,

Can you try https as the protocol?

Thanks,
jimmy

From: <[email protected]<mailto:[email protected]>> on 
behalf of 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Date: Monday, June 24, 2019 at 1:15 PM
To: Arul Nambi <[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] [AAI] [portal] Problem accessing AAI GUI

Hi,

I have a ONAP Dublin cluster which was deployed using OOM RKE 
Kubernetes<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.onap.org_en_dublin_submodules_oom.git_docs_oom-5Fsetup-5Fkubernetes-5Francher.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=ybyz2DdLAWFx_b9yUCQR5gOYlZ97yUoYmN3uuuw_gzE&s=7AFORED9No0PwAAI-XJq6jZhB6_-T7PTpPc4sYEzcU0&e=>.
I am able to access the ONAP Portal but I am unable to access the AAI GUI.

The below AAI pods are up and running

dev-aai-aai-5b6ddf6bc-gt2zg                             1/1     Running         
   0          2d19h   10.42.2.16    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-babel-5d75865f7b-xkrtd                      2/2     Running         
   0          2d19h   10.42.2.12    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-champ-789b84bd68-jghgk                      2/2     Running         
   0          2d19h   10.42.2.17    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-data-router-896c75488-8jhn6                 2/2     Running         
   0          2d19h   10.42.2.24    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-elasticsearch-57d469cdc5-kcpvq              1/1     Running         
   0          2d19h   10.42.2.26    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-gizmo-694775589-9hzsn                       2/2     Running         
   0          2d19h   10.42.2.13    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-graphadmin-86c8fd6c58-rngfd                 2/2     Running         
   0          2d19h   10.42.1.149   onap-k8s-vm-1   <none>           <none>
dev-aai-aai-graphadmin-create-db-schema-t9cs4           0/1     Completed       
   0          2d19h   10.42.2.18    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-modelloader-559f886bb5-wjtbq                2/2     Running         
   0          2d19h   10.42.2.27    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-resources-74f86c6c6-h9cms                   2/2     Running         
   0          2d19h   10.42.1.148   onap-k8s-vm-1   <none>           <none>
dev-aai-aai-schema-service-674b5688b6-xxllw             2/2     Running         
   0          2d19h   10.42.2.28    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-search-data-6dd75ddc5-ktkmr                 2/2     Running         
   0          2d19h   10.42.2.25    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-sparky-be-6495c4f754-cbh76                  2/2     Running         
   0          2d19h   10.42.2.15    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-spike-7475bd56d-wvxqz                       2/2     Running         
   0          2d19h   10.42.2.19    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-traversal-7bdf68f599-s9tqt                  2/2     Running         
   0          2d19h   10.42.2.14    onap-k8s-vm-2   <none>           <none>
dev-aai-aai-traversal-update-query-data-k2zt5           0/1     Completed       
   0          2d19h   10.42.1.150   onap-k8s-vm-1   <none>           <none>

dev-portal-portal-app-6f9ff658dc-6ncvc                  2/2     Running         
   0          6d19h   10.42.1.124   onap-k8s-vm-1   <none>           <none>

Please find the AAI Sparky service below

aai-sparky-be                   NodePort       10.43.107.114   <none>           
       8000:30220/TCP                                                2d19h   
app=aai-sparky-be,release=dev-aai

I accessed the aai-sparky-be container and it was listening on port 8000.

root@dev-aai-aai-sparky-be-6495c4f754-cbh76:/# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
PID/Program name
tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN      
40/java
root@dev-aai-aai-sparky-be-6495c4f754-cbh76:/#

Please find the IP of the VMs below

Rancher: 10.1.8.110
onap-k8s-vm-1 : 10.1.8.103
onap-k8s-vm-2 : 10.1.8.114

Added the below contents in /etc/hosts

10.1.8.103 portal.api.simpledemo.onap.org
10.1.8.103 sdc.api.fe.simpledemo.onap.org
10.1.8.114 aai.api.sparky.simpledemo.onap.org

I tried to open AAI GUI from a new tab using the URL 
http://aai.api.sparky.simpledemo.onap.org:30220/services/aai/webapp/index.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__aai.api.sparky.simpledemo.onap.org-3A30220_services_aai_webapp_index.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=ybyz2DdLAWFx_b9yUCQR5gOYlZ97yUoYmN3uuuw_gzE&s=Aatd8GqtmqrkKWO86JWfZVwCPBSUBqxa3cbJAdkzopY&e=>.
  I am able to access the SDC portal 
(http://sdc.api.fe.simpledemo.onap.org:30206/sdc1/portal<https://urldefense.proofpoint.com/v2/url?u=http-3A__sdc.api.fe.simpledemo.onap.org-3A30206_sdc1_portal&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=ybyz2DdLAWFx_b9yUCQR5gOYlZ97yUoYmN3uuuw_gzE&s=xHNEB0f87tbyXzETEA94AuRlsScCgzZDFBROULZirYY&e=>)
 in a new tab without any issues .

[cid:[email protected]]




I have used the same method in ONAP Casablanca and was able to access the AAI 
GUI.
Can you please let me know what am I missing or if something has changed in 
Dublin.
Any pointer is much appreciated.

Thanks,
Thiriloshini


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

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

Reply via email to