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

2017-05-29 Thread Arun Arora (c)
Hi Subhash,



For me the option was there when I logged into portal. I have the following 
options (I am redeploying ONAP, so list below is what I remember)

1)  Policy

2)  SDC

3)  VID

4)  DMaar

5)  xDemp_App



Initially on clicking SDC I got ‘connection timeout’ as in my setup SDC VM gets 
unreachable. However, I did a work-around after which I can see the ‘bad 
gateway 502’ error, but the SDC page loads.

BTW for the work-around I have another discussion open: 
https://lists.onap.org/pipermail/onap-discuss/2017-May/001030.html



Thanks,

Arun



From: Subhash Kumar Singh [mailto:subhash.kumar.si...@huawei.com]
Sent: Monday, May 29, 2017 2:05 PM
To: Arun Arora (c) ; Kanagaraj Manickam 
; onap-discuss@lists.onap.org
Subject: RE: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal 
failed to launch



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<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Creating-2Ba-2BLicensing-2BModel-23CreatingaLicensingModel-2DRolesintheOnboardingandDistributionWorkflow&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=fJSaCk5Dtn2KbIeqRCU_Kzr_L_vL-XtXjh29c6PfRGQ&m=nLWM0_AxFzeiGNKu8R0YV6TRU7_Cxq11HnCP2XCHm50&s=WV1uqc6lVDbOwEikE_rODrvIKb1EZN9IqxGgt4X8ik8&e=>





--

Regards,

Subhash Kumar Singh





From: Arun Arora (c) [aroraa...@vmware.com]
Sent: Monday, May 29, 2017 12:47
To: Kanagaraj Manickam; 
onap-discuss@lists.onap.org<mailto:onap-discuss@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.manic...@huawei.com]
Sent: Monday, May 29, 2017 12:38 PM
To: Arun Arora (c) mailto:aroraa...@vmware.com>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Cc: Subhash Kumar Singh 
mailto:subhash.kumar.si...@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<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Creating-2Ba-2BLicensing-2BModel&d=DwMGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=fJSaCk5Dtn2KbIeqRCU_Kzr_L_vL-XtXjh29c6PfRGQ&m=nLWM0_AxFzeiGNKu8R0YV6TRU7_Cxq11HnCP2XCHm50&s=JsAIq-2xkRmy4YYub-_YbaOc5oV5YttyUacDhrm7qew&e=>



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 disclosur

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

2017-05-29 Thread Subhash Kumar Singh
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) [aroraa...@vmware.com]
Sent: Monday, May 29, 2017 12:47
To: Kanagaraj Manickam; onap-discuss@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.manic...@huawei.com]
Sent: Monday, May 29, 2017 12:38 PM
To: Arun Arora (c) ; onap-discuss@lists.onap.org
Cc: Subhash Kumar Singh 
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:aroraa...@vmware.com]
Sent: Monday, May 29, 2017 11:47 AM
To: Subhash Kumar Singh
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@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 
mailto:subhash.kumar.si...@huawei.com>>
Sent: Monday, May 29, 2017 11:30:26 AM
To: Arun Arora (c)
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@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) [aroraa...@vmware.com]
Sent: Friday, May 26, 2017 20:16
To: Subhash K

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

2017-05-29 Thread Arun Arora (c)
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.manic...@huawei.com]
Sent: Monday, May 29, 2017 12:38 PM
To: Arun Arora (c) ; onap-discuss@lists.onap.org
Cc: Subhash Kumar Singh 
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:aroraa...@vmware.com]
Sent: Monday, May 29, 2017 11:47 AM
To: Subhash Kumar Singh
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@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 
mailto:subhash.kumar.si...@huawei.com>>
Sent: Monday, May 29, 2017 11:30:26 AM
To: Arun Arora (c)
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@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) [aroraa...@vmware.com]
Sent: Friday, May 26, 2017 20:16
To: Subhash Kumar Singh
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@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 
mailto:subhash.kumar.si...@huawei.com>> wrote:

Hello Arun,



Thanks for the suggestions.



I think, this issue is not related to fl

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

2017-05-29 Thread Kanagaraj Manickam
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:aroraa...@vmware.com]
Sent: Monday, May 29, 2017 11:47 AM
To: Subhash Kumar Singh
Cc: onap-discuss@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 
mailto:subhash.kumar.si...@huawei.com>>
Sent: Monday, May 29, 2017 11:30:26 AM
To: Arun Arora (c)
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@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) [aroraa...@vmware.com]
Sent: Friday, May 26, 2017 20:16
To: Subhash Kumar Singh
Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@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 
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<mailto: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

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

2017-05-28 Thread Arun Arora (c)
Glad it worked  😊


Regards,

Arun


From: Subhash Kumar Singh 
Sent: Monday, May 29, 2017 11:30:26 AM
To: Arun Arora (c)
Cc: onap-discuss@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) [aroraa...@vmware.com]
Sent: Friday, May 26, 2017 20:16
To: Subhash Kumar Singh
Cc: onap-discuss@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 
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://). 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 IDIMAGE   COMMAND  CREATED
 STATUS  PORTS  
  NAMES

0db86c4be8c2ep: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

591c9e998306ecompdb: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=http

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

2017-05-28 Thread Subhash Kumar Singh
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

--
Thanks and Regards,
Subhash Kumar Singh


From: Arun Arora (c) [aroraa...@vmware.com]
Sent: Friday, May 26, 2017 20:16
To: Subhash Kumar Singh
Cc: onap-discuss@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 
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://). 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 IDIMAGE   COMMAND  CREATED
 STATUS  PORTS  
  NAMES

0db86c4be8c2ep: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

591c9e998306ecompdb: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&

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

2017-05-26 Thread Arun Arora (c)
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 
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://). 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 IDIMAGE   COMMAND  CREATED
 STATUS  PORTS  
  NAMES

0db86c4be8c2ep: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

591c9e998306ecompdb: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


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

2017-05-26 Thread Subhash Kumar Singh
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://). 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 IDIMAGE   COMMAND  CREATED
 STATUS  PORTS  
  NAMES

0db86c4be8c2ep: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

591c9e998306ecompdb: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


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

2017-05-26 Thread ROSE, DANIEL V
Like marco said it’s the dns for the private network

Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of PLATANIA, MARCO
Sent: Friday, May 26, 2017 9:37 AM
To: Arun Arora (c) ; Subhash Kumar Singh 
; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] demo/OpenECOMP heat stack successful ! ONAP portal 
failed to launch

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
Hello Subhash,

The dns_vm is used to resolve FQDN that ONAP components use to talk to each 
other. This is different from the 8.8.8.8 DNS that you specified, which is 
necessary for external routing.

Thanks,
Marco

From: 
mailto:onap-discuss-boun...@lists.onap.org>>
 on behalf of "Arun Arora (c)" 
mailto:aroraa...@vmware.com>>
Date: Friday, May 26, 2017 at 9:08 AM
To: Subhash Kumar Singh 
mailto:subhash.kumar.si...@huawei.com>>, 
"onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" 
mailto: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> 
[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<mailto: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://https://urldefense.proofpoint.com/v2/url?u=http-3A__-253cportal-5Fvm-3A8989_EcompPORTAL_login.html&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=95EagLLrI_2KeETmgmJD_o0J3siJHxzRpujsoGhJ98Q&s=ODxQFdVn82qb2ow40Op4ACoe9NbTItqJFRGh1q8a6QQ&e=>).
 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 IDIMAGE   COMMAND  CREATED
 STATUS  PORTS  
  NAMES

0db86c4be8c2ep: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

591c9e998306ecompdb: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_B

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

2017-05-26 Thread PLATANIA, MARCO (MARCO)
Hello Subhash,

The dns_vm is used to resolve FQDN that ONAP components use to talk to each 
other. This is different from the 8.8.8.8 DNS that you specified, which is 
necessary for external routing.

Thanks,
Marco

From:  on behalf of "Arun Arora (c)" 

Date: Friday, May 26, 2017 at 9:08 AM
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://https://urldefense.proofpoint.com/v2/url?u=http-3A__-253cportal-5Fvm-3A8989_EcompPORTAL_login.html&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=95EagLLrI_2KeETmgmJD_o0J3siJHxzRpujsoGhJ98Q&s=ODxQFdVn82qb2ow40Op4ACoe9NbTItqJFRGh1q8a6QQ&e=>).
 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 IDIMAGE   COMMAND  CREATED
 STATUS  PORTS  
  NAMES

0db86c4be8c2ep: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

591c9e998306ecompdb: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/<https://urldefense.proofpoint.com/v2/url?u=http-3A__paste.openstack.org_show_610720_&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=95EagLLrI_2KeETmgmJD_o0J3siJHxzRpujsoGhJ98Q&s=h8j96Oa6QY98ClU6PO320weRhYkNUE7FGTyNJrkAirs&e=>



--

Thanks and Regards,

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


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

2017-05-26 Thread Arun Arora (c)
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://http://%3cportal_vm:8989/EcompPORTAL/login.html>).
 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 IDIMAGE   COMMAND  CREATED
 STATUS  PORTS  
  NAMES

0db86c4be8c2ep: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

591c9e998306ecompdb: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


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

2017-05-26 Thread Subhash Kumar Singh
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://8005/tcp, 0.0.0.0:8010->8009/tcp, 
0.0.0.0:8989->8080/tcp   1610-1
591c9e998306ecompdb: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

[2] https://wiki.onap.org/display/DW/Tutorial%3A+Accessing+the+ONAP+Portal

[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