[onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal failed to launch

Subhash Kumar Singh subhash.kumar.singh at huawei.com
Mon May 29 08:35:14 UTC 2017


Hi Arun,

Could you please let us know how did you get the option for SDC on portal, because after log in to the portal using "demo" username we are seeing empty list for applications.

I think we should get the SDC in applications section as documented in wiki [1].

[1] https://wiki.onap.org/display/DW/Creating+a+Licensing+Model#CreatingaLicensingModel-RolesintheOnboardingandDistributionWorkflow


--
Regards,
Subhash Kumar Singh

________________________________
From: Arun Arora (c) [aroraarun at vmware.com]
Sent: Monday, May 29, 2017 12:47
To: Kanagaraj Manickam; onap-discuss at lists.onap.org
Cc: Subhash Kumar Singh
Subject: RE: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal failed to launch


Hi Kanagaraj,



I have not checked this yet.



Also when I click on SDC on portal I get “Bad Gateway 502” error. Currently I am working to fix this and some other errors before trying things on SDC.

For me, currently, 1 docker each is not up in VID and AAI VMs. And the reason for it is HealthCheck of SDC dockers is currently failing. I am working on this first.



In the meantime, if you fix the issue you have, can you pls put the details here as I suspect that I may also get this problem. Also, I will post here if I find any solution for the problem.



Thanks,

Arun





From: Kanagaraj Manickam [mailto:kanagaraj.manickam at huawei.com]
Sent: Monday, May 29, 2017 12:38 PM
To: Arun Arora (c) <aroraarun at vmware.com>; onap-discuss at lists.onap.org
Cc: Subhash Kumar Singh <subhash.kumar.singh at huawei.com>
Subject: RE: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal failed to launch



thanks arun for helping. Now we are trying the tutorial given in wiki and facing the following issue:



we wanted to login as 'designer' using cs0008 as mentioned [1] but portal says 'invalid username or password'. Try to check the portal mysql table 'fn_user', it was listing only 'demo' user. so we tried to create the sample user 'user1' and 'cs0008' using the portal 'Users'-> Add User. with same password mentioned in the wiki. Again portal reports 'invalid username or password' when we try to login using 'user1' & 'cs0008'.



MariaDB [portal]> select login_id from fn_user;

+----------+

| login_id |

+----------+

| cs0008   |

| demo     |

| user1    |

+----------+

3 rows in set (0.03 sec)



MariaDB [portal]>



[1] https://wiki.onap.org/display/DW/Creating+a+Licensing+Model



Kindly help.



Regards

Kanagaraj M



***************************************************************************************
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**************************************************************************************

***************************************************************************************
This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person  or entity whose address is listed above. Any use of the information contained herein in any way (including, but not   limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is  prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
***************************************************************************************



From: Arun Arora (c) [mailto:aroraarun at vmware.com]
Sent: Monday, May 29, 2017 11:47 AM
To: Subhash Kumar Singh
Cc: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>; Kanagaraj Manickam
Subject: Re: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal failed to launch



Glad it worked  😊



Regards,

Arun

________________________________

From: Subhash Kumar Singh <subhash.kumar.singh at huawei.com<mailto:subhash.kumar.singh at huawei.com>>
Sent: Monday, May 29, 2017 11:30:26 AM
To: Arun Arora (c)
Cc: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>; Kanagaraj Manickam
Subject: RE: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal failed to launch



Hi Arun,



Thank you for the suggestions.



We are now able to access the portal by following your another post [1]. After adding the hosts entry in the portal docker instance, portal dashboard is accessible.



[1] https://lists.onap.org/pipermail/onap-discuss/2017-May/001032.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.onap.org_pipermail_onap-2Ddiscuss_2017-2DMay_001032.html&d=DwMFAw&c=uilaK90D4TOVoH58JNXRgQ&r=fJSaCk5Dtn2KbIeqRCU_Kzr_L_vL-XtXjh29c6PfRGQ&m=3T_NE5pRKjmOiuEUp_wfGp9g-Y2NcQuAqsvkV0vSQPM&s=M7ElcjY6FdRWcZum3n_8w-mfcrLLAw2NOpYAgSJPUb0&e=>



--

Thanks and Regards,

Subhash Kumar Singh



________________________________

From: Arun Arora (c) [aroraarun at vmware.com]
Sent: Friday, May 26, 2017 20:16
To: Subhash Kumar Singh
Cc: onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org>; Kanagaraj Manickam
Subject: RE: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal failed to launch

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.singh at huawei.com<mailto:subhash.kumar.singh at 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) [aroraarun at vmware.com]
Sent: Friday, May 26, 2017 18:38
To: Subhash Kumar Singh; onap-discuss at lists.onap.org<mailto:onap-discuss at 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-bounces at lists.onap.org<mailto:onap-discuss-bounces at lists.onap.org> [mailto:onap-discuss-bounces at lists.onap.org] On Behalf Of Subhash Kumar Singh
Sent: Friday, May 26, 2017 5:45 PM
To: onap-discuss at lists.onap.org<mailto:onap-discuss at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170529/57910eca/attachment.html>


More information about the onap-discuss mailing list