Hi Subhash,

First pls establish that you are able to ping the portal VM's Floating IP from 
inside the VM and inside the docker.
If ping does not work then its likely a security group issue.
I faced a similar issue so I am thinking in that terms.

Also can you share the snapshot of ur default security group rules.

Thanks
Arun
On May 26, 2017, at 7:16 PM, Subhash Kumar Singh 
<subhash.kumar.si...@huawei.com<mailto:subhash.kumar.si...@huawei.com>> wrote:
Hello Arun,

Thanks for the suggestions.

I think, this issue is not related to floating IP or security group because we 
are able to access the vm (onap-portal) using the assigned private key.

I've checked the /opt/cofig/public_ip.txt file, it is correctly configured with 
floating IP and security group allows all the TCP traffic (0-65535) 
egress/ingress .

Please let me know for your suggestion.

--
Regards,
Subhash Kumar Singh

________________________________
From: Arun Arora (c) [aroraa...@vmware.com]
Sent: Friday, May 26, 2017 18:38
To: Subhash Kumar Singh; onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal 
failed to launch


Hi Subhash,



Pls check of you have /opt/config/public_ip.txt file with floating IP in it.

Also try enabling Ingress in the Security Group for all Ports and CIDR 0.0.0.0/0



The sql insertion is done from portal_vm_init.sh which requires Floating IP and 
it should be accessible from inside the VM. You can also try giving your 
Private IP as well. But it will wipe out the next time you create ONAP stack 
via HEAT.



Thanks,

Arun



From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Subhash Kumar Singh
Sent: Friday, May 26, 2017 5:45 PM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal 
failed to launch



Hi,



We are trying to bring up the ONAP setup on the vanilla Openstack (5-node) 
using provided HEAT template [1]. We would like to request for the 
clarification for the following issues :



1.  OpenECOMP HEAT template is having resource named dns_vm. what is the 
purpose of this vm?

    As part of heat stack creation, we have used 8.8.8.8 as dns server in the 
heat environment file for dns_list & external_dns.

    And we noted that some specific dns entries are specified in the wiki [2].  
 if we are accessing the resources using the IP address , are these DNS entries 
are required?



2.  After successful stack creation, We are not able to access the portal ( 
http://<portal_vm:8989/EcompPORTAL/login.html<UrlBlockedError.aspx>). It is 
throwing exception [3] related to mysql connection.

    We have checked the docker instance in the onap-portal both the dockers are 
up but mysql is not accessible from the outside of docker.



$ sudo docker ps

CONTAINER ID        IMAGE               COMMAND                  CREATED        
     STATUS              PORTS                                                  
                  NAMES

0db86c4be8c2        ep:1610-1           "/PROJECT/OpenSour..."   2 hours ago    
     Up 2 hours          0.0.0.0:8006->8005/tcp, 0.0.0.0:8010->8009/tcp, 
0.0.0.0:8989->8080/tcp   1610-1

591c9e998306        ecompdb:portal      "docker-entrypoint..."   2 hours ago    
     Up 2 hours                                                                 
                  ecompdb_portal



So it seems like the portal is not accessible because mysql is not accessible.





Kindly help to fix these issues, to test the sample VNF using ONAP.





[1]  
https://gerrit.onap.org/r/gitweb?p=demo.git;a=blob;f=heat/OpenECOMP/onap_openstack_float.yaml;h=024dd2f90a2f36b09497a5d93dda52ae58294dc9;hb=refs/heads/master<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Ddemo.git-3Ba-3Dblob-3Bf-3Dheat_OpenECOMP_onap-5Fopenstack-5Ffloat.yaml-3Bh-3D024dd2f90a2f36b09497a5d93dda52ae58294dc9-3Bhb-3Drefs_heads_master&d=DwMFAw&c=uilaK90D4TOVoH58JNXRgQ&r=fJSaCk5Dtn2KbIeqRCU_Kzr_L_vL-XtXjh29c6PfRGQ&m=SxcdDxINmpJ1_B2YgSvA62gIKzf1OjBva-OJwDNd-MI&s=eRPojqyw2AhaMP4aDMu8gNSRGnAb_npO15vkAJrlEFI&e=>



[2] 
https://wiki.onap.org/display/DW/Tutorial%3A+Accessing+the+ONAP+Portal<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Tutorial-253A-2BAccessing-2Bthe-2BONAP-2BPortal&d=DwMFAw&c=uilaK90D4TOVoH58JNXRgQ&r=fJSaCk5Dtn2KbIeqRCU_Kzr_L_vL-XtXjh29c6PfRGQ&m=SxcdDxINmpJ1_B2YgSvA62gIKzf1OjBva-OJwDNd-MI&s=sP67VRZPdtkkEwAylzRnSeFCoNszJon4QSlMhfKQCt0&e=>



[3] http://paste.openstack.org/show/610720/



--

Thanks and Regards,

Subhash Kumar Singh
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to