I think you are missing sparky-fe (the front end part).

From: [email protected] 
[mailto:[email protected]]
Sent: Thursday, 14 March 2019 15:11
To: [email protected]; Keong Lim <[email protected]>
Cc: [email protected]
Subject: [onap-discuss] [AAI] [portal] Problem accessing AAI GUI from ONAP 
Portal

Hi All,

I have a ONAP cluster (Casablanca) with components aai, aaf, dmaap, esr, msb, 
portal, sdnc,sdc up and running.

I have the below VMs spun up using openstack

onap-k8s-vm-2: 10.1.8.106, onap-k8s-vm-3: 10.1.8.112 , rancher-vm: 10.1.8.102

Used OOM kubernetes installation (Casablanca).

The aai and portal pods are listed below.

demo-aai-aai-78947bf888-phmtp                          1/1       Running        
    0          5h        10.42.67.242    onap-k8s-vm-2
demo-aai-aai-babel-5499b48894-z4lnh                    2/2       Running        
    0          5h        10.42.92.245    onap-k8s-vm-3
demo-aai-aai-cassandra-0                               1/1       Running        
    0          5h        10.42.4.75      onap-k8s-vm-3
demo-aai-aai-cassandra-1                               1/1       Running        
    1          5h        10.42.96.142    onap-k8s-vm-2
demo-aai-aai-cassandra-2                               1/1       Running        
    0          5h        10.42.218.142   onap-k8s-vm-3
demo-aai-aai-champ-75f5d6f664-c556b                    2/2       Running        
    0          5h        10.42.41.229    onap-k8s-vm-3
demo-aai-aai-data-router-94f79b78f-n75cf               2/2       Running        
    6          5h        10.42.64.204    onap-k8s-vm-3
demo-aai-aai-elasticsearch-f868cff98-8m4f6             1/1       Running        
    0          5h        10.42.25.95     onap-k8s-vm-3
demo-aai-aai-gizmo-7b6ff8f6f-w6vzr                     2/2       Running        
    0          5h        10.42.97.228    onap-k8s-vm-2
demo-aai-aai-graphadmin-8485cd6c85-c6q7x               2/2       Running        
    0          5h        10.42.218.225   onap-k8s-vm-3
demo-aai-aai-modelloader-77496bd596-xfmtw              2/2       Running        
    0          5h        10.42.47.168    onap-k8s-vm-2
demo-aai-aai-resources-6d8d78cb-7rzrn                  2/2       Running        
    0          5h        10.42.201.208   onap-k8s-vm-3
demo-aai-aai-search-data-5d7fc5cc8c-rjw4f              2/2       Running        
    0          5h        10.42.227.143   onap-k8s-vm-2
demo-aai-aai-sparky-be-6598bf956c-6668p                2/2       Running        
    0          5h        10.42.103.166   onap-k8s-vm-3
demo-aai-aai-spike-6546658f99-s2htz                    2/2       Running        
    0          5h        10.42.166.102   onap-k8s-vm-2

demo-portal-portal-app-5c8cb9cd58-plbdn                2/2       Running        
    0          5h        10.42.157.147   onap-k8s-vm-3
demo-portal-portal-cassandra-6f67d869d4-hnq2g          1/1       Running        
    0          5h        10.42.162.112   onap-k8s-vm-2
demo-portal-portal-db-7f8b57d6b9-pdrm4                 1/1       Running        
    0          5h        10.42.225.15    onap-k8s-vm-3
demo-portal-portal-sdk-58cd77bc98-qxkt9                2/2       Running        
    0          5h        10.42.145.105   onap-k8s-vm-2
demo-portal-portal-widget-79c4f84f66-4vp79             1/1       Running        
    0          5h        10.42.200.73    onap-k8s-vm-3
demo-portal-portal-zookeeper-88656b6b9-jrpps           1/1       Running        
    0          5h        10.42.8.146     onap-k8s-vm-3

The services of aai and portal are given below

aai                        NodePort       10.43.195.83    <none>                
  8080:30232/TCP,8443:30233/TCP                                 5h
aai-babel                  NodePort       10.43.216.104   <none>                
  9516:30279/TCP                                                5h
aai-cassandra              ClusterIP      None            <none>                
  9042/TCP,9160/TCP,61621/TCP                                   5h
aai-champ                  NodePort       10.43.165.28    <none>                
  9522:30278/TCP                                                5h
aai-crud-service           NodePort       10.43.27.195    <none>                
  9520:30268/TCP                                                5h
aai-elasticsearch          ClusterIP      None            <none>                
  9200/TCP                                                      5h
aai-graphadmin             ClusterIP      None            <none>                
  8449/TCP,5005/TCP                                             5h
aai-modelloader            NodePort       10.43.251.134   <none>                
  8080:30210/TCP,8443:30229/TCP                                 5h
aai-resources              ClusterIP      None            <none>                
  8447/TCP,5005/TCP                                             5h
aai-search-data            ClusterIP      None            <none>                
  9509/TCP                                                      5h
aai-sparky-be              NodePort       10.43.48.66     <none>                
  9517:30220/TCP                                                5h
aai-spike                  NodePort       10.43.30.231    <none>                
  9518:30239/TCP                                                5h
aai-traversal              ClusterIP      None            <none>                
  8446/TCP,5005/TCP                                             5h

portal-app                 LoadBalancer   10.43.192.32    10.1.8.112            
  8989:30215/TCP,8006:30213/TCP,8010:30214/TCP,8443:30225/TCP   5h
portal-cassandra           ClusterIP      10.43.163.167   <none>                
  9160/TCP,7000/TCP,7001/TCP,7199/TCP,9042/TCP                  5h
portal-db                  ClusterIP      10.43.131.227   <none>                
  3306/TCP                                                      5h
portal-sdk                 NodePort       10.43.43.68     <none>                
  8080:30212/TCP                                                5h
portal-widget              ClusterIP      10.43.107.133   <none>                
  8082/TCP                                                      5h
portal-zookeeper           ClusterIP      10.43.170.249   <none>                
  2181/TCP                                                      5h

Added the below to /etc/hosts


10.1.8.112 
portal.api.simpledemo.onap.org<http://portal.api.simpledemo.onap.org/>

10.1.8.112 
aai.api.sparky.simpledemo.onap.org<http://aai.api.sparky.simpledemo.onap.org/>

Accessing ONAP portal: http://10.1.8.112:8989/ONAPPORTAL/login.htm

When I click on AAI, It is blank and doesn't show anything.

[cid:[email protected]]

Using the Network option in google-chrome, I see the below information in 
header. But the response shows "This request has no response data available".

Request 
URL:https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/portalApi/auditLog/store?affectedAppId=7&type=tab&comment=http://aai.api.sparky.simpledemo.onap.org:30220/services/aai/webapp/index.html?cc=1552536622817
Request Method:GET
Status Code:200 OK
Remote Address:10.1.8.112:30225
Referrer Policy:no-referrer-when-downgrade

Any insights on what might be going wrong ? Please let me know if I am missing 
something.


Thanks,
Thiriloshini

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

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

Reply via email to