Thanks Mandeep and Arul.

From: <[email protected]> on behalf of "NAMBI, ARUL" 
<[email protected]>
Date: Friday, June 22, 2018 at 9:25 AM
To: Mandeep Khinda <[email protected]>, "TALASILA, MANOOP (MANOOP)" 
<[email protected]>, "[email protected]" 
<[email protected]>
Cc: "[email protected]" <[email protected]>, "TATTAVARADA, 
SUNDER (SUNDER)" <[email protected]>
Subject: Re: [onap-discuss] Port number missing for AAI in portal

Hey Manoop,
To add a bit on what Mandeep already mentioned.
Make sure that your service type is node port
service:
  type: NodePort
This is also there in my CI.
Regards
Arul

From: Mandeep Khinda
Sent: Friday, June 22, 2018 9:14 AM
To: Arul Nambi <[email protected]>; [email protected]; 
[email protected]
Cc: [email protected]; [email protected]
Subject: Re: [onap-discuss] Port number missing for AAI in portal

Hi Manoop,

The steps are captured in Arul's patch: 
https://gerrit.onap.org/r/#/c/55139<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_-23_c_55139&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=5YNCjzk3TrKQQHY3AQIllw_KPSo7Q4biBGtFpxpVsOE&e=>

You need to assign a free node port to the portal-sdk chart's service.  this 
can be done in its values.yaml file.  The challenge here is with how things are 
working today, it is challenging to find a free port.
I found one for you: 30234 is currently not being used by any charts.

Once that is done, you take that node port and default it in the portal-mariadb 
values.yaml.  This will then be used to update the mariadb's application URL 
with the node port.  Now it will be able to redirect to your app.

You should deploy the portal chart and test whether you can launch the new app 
as well.

Mandeep



On Thu, 2018-06-21 at 17:33 +0000, Manoop Talasila wrote:
Hi Arul/Mandeep,
Can you please guide me on which all files to update if I have to open a new 
port 30221 for portal-sdk? – this is related to similar pending item as AAI, 
the jira item is - 
https://jira.onap.org/browse/OOM-1117<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_OOM-2D1117&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=nBvdLcb0C_bySOBzyhcEZ3eJiSjFOdYTAONEZHTJido&e=>

I will update below file. But, are there any other files to update?

Update the new 30xxx port in file: 
https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/portal/charts/portal-mariadb/values.yaml;h=7d9b82a629df5ba0f94b34d20c4234e738e10f4a;hb=789ee4aefe17623b25375b0a17474d12bc79354a<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Doom.git-3Ba-3Dblob-3Bf-3Dkubernetes_portal_charts_portal-2Dmariadb_values.yaml-3Bh-3D7d9b82a629df5ba0f94b34d20c4234e738e10f4a-3Bhb-3D789ee4aefe17623b25375b0a17474d12bc79354a&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=N2ijE0N_rcLqNxfUB41XOE7FUlGhK8Yvb92e8nUhzog&e=>
At line: "portalSdkPort: "" # TODO: populate with port"
Manoop

From: "NAMBI, ARUL" <[email protected]<mailto:[email protected]>>
Date: Thursday, June 21, 2018 at 9:52 AM
To: Santi Rodríguez 
<[email protected]<mailto:[email protected]>>
Cc: "TALASILA, MANOOP (MANOOP)" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"TATTAVARADA, SUNDER (SUNDER)" 
<[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] Port number missing for AAI in portal

Hi Santi,
Thanks sorry I missed that, will get that updated in the patch.
Regards
Arul

From: Santi Rodríguez 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Thursday, June 21, 2018 6:32 AM
To: Arul Nambi <[email protected]<mailto:[email protected]>>
Cc: TALASILA, MANOOP (MANOOP) 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; TATTAVARADA, 
SUNDER (SUNDER) <[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] Port number missing for AAI in portal

Hi Arul, all,

I applied the 
https://gerrit.onap.org/r/#/c/55139<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_-23_c_55139&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=5YNCjzk3TrKQQHY3AQIllw_KPSo7Q4biBGtFpxpVsOE&e=>
 patch in my code and works perfectly!!!
I only had to make a minor change:



externalPort: 30220 instead of 9517

Now I can access to AAI from portal:


Thanks,
BR, Santiago

Santiago Rodríguez García | Senior Analyst
T/ + 34 986 410 091 (ext) 227
www.optaresolutions.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.optaresolutions.com&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=BDt7ebIaB9Z2_QGKGXM5zWYa_lSp_6vcjV9vZZsTXf4&e=>


2018-06-20 18:38 GMT+02:00 Arul Nambi 
<[email protected]<mailto:[email protected]>>:
Thanks Manoop that is what I was looking for,
I have patched my commit
https://gerrit.onap.org/r/#/c/55139/<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_-23_c_55139_&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=T4o1oAKB7EW8lk_8Ooxvq5E8CxzZow1c33nCQiGQFR4&e=>
You are one of the reviewers.
Regards
Arul

From: TALASILA, MANOOP (MANOOP) 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Wednesday, June 20, 2018 12:18 PM
To: Arul Nambi <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Cc: TATTAVARADA, SUNDER (SUNDER) 
<[email protected]<mailto:[email protected]>>
Subject: Re: Port number missing for AAI in portal

Hi Arul,

I believe once you update the new 30xxx port in below file then the AAI url 
will be formed with right port number in OOM deployment, so that Portal can 
access it correctly. Along with your other changes, please see if you would 
like to submit change to below file (otherwise, in past Mandeep helped us in 
keeping track of these ports correctly).

o    
https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/portal/charts/portal-mariadb/values.yaml;h=7d9b82a629df5ba0f94b34d20c4234e738e10f4a;hb=789ee4aefe17623b25375b0a17474d12bc79354a<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Doom.git-3Ba-3Dblob-3Bf-3Dkubernetes_portal_charts_portal-2Dmariadb_values.yaml-3Bh-3D7d9b82a629df5ba0f94b34d20c4234e738e10f4a-3Bhb-3D789ee4aefe17623b25375b0a17474d12bc79354a&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=N2ijE0N_rcLqNxfUB41XOE7FUlGhK8Yvb92e8nUhzog&e=>
o    At line:
  # aai sparky ui assignment for port 8080
  aaiSparkyPort: "" # TODO: populate with
  # application's front end hostname.  Must be resolvable on the client side 
environment
  aaiSparkyHostName: "aai.api.sparky.simpledemo.onap.org"
Manoop
From: "NAMBI, ARUL" <[email protected]<mailto:[email protected]>>
Date: Wednesday, June 20, 2018 at 11:19 AM
To: "TALASILA, MANOOP (MANOOP)" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: "TATTAVARADA, SUNDER (SUNDER)" 
<[email protected]<mailto:[email protected]>>
Subject: RE: Port number missing for AAI in portal

Hi Manoop,
You are right I am working on the OOM deployments and assigned the task OOM-347 
that you have pointed out.
The issue is I have opened up a node port(30220) for sparky in the AAI lab(FYI: 
the code is not committed yet). Now even though the port is open and I can 
access the URL from my browser

Here is a screenshot of the AAI running in OOM after I have the port exposed.


The portal is not able to open it because the port number is not a part of the 
App URL. I can change this manually from the portal UI, but I want it to be 
included as a part of the onboarding script. And since the node port in 
OOM(30220) is different from the actual port(9517) it will be good if we can 
add this change only to OOM.

Here is a screenshot of portal where when I click on AAI-UI. I am taken to a 
blank screen and in the logs you can see that the App URL is missing the port 
number.

Regards
Arul
From: TALASILA, MANOOP (MANOOP) 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Wednesday, June 20, 2018 7:51 AM
To: [email protected]<mailto:[email protected]>; Arul Nambi 
<[email protected]<mailto:[email protected]>>
Cc: TATTAVARADA, SUNDER (SUNDER) 
<[email protected]<mailto:[email protected]>>
Subject: Re: Port number missing for AAI in portal

I assume you are testing ONAP in an OOM deployment. Because in OOM deployment, 
the 30xxx ports are not yet mapped for these apps, so they are not accessible 
from Portal right now. They are being tracked though. However, these apps 
should work if you use HEAT based deployment. I hope this helps clarify the 
issue.

https://jira.onap.org/browse/OOM-347<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_OOM-2D347&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=HgcIB6on2t14pUDLrj8mvYcqWSr5Az_tL4Us9iER8GU&e=>

https://jira.onap.org/browse/OOM-1117<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_OOM-2D1117&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=nBvdLcb0C_bySOBzyhcEZ3eJiSjFOdYTAONEZHTJido&e=>


Manoop



On Tue, Jun 19, 2018 at 12:09 PM -0400, "NAMBI, ARUL" 
<[email protected]<mailto:[email protected]>> wrote:

Hi Portal team,
In onap portal when we try to launch the AAI-UI from the portal, there is no 
port number(9517) defined, so the UI is not coming up.
The url that the portal is trying to open is
http://aai.api.sparky.simpledemo.onap.org:/services/aai/webapp/index.html?cc=1529423466440#/viewInspect<https://urldefense.proofpoint.com/v2/url?u=http-3A__aai.api.sparky.simpledemo.onap.org-3A_services_aai_webapp_index.html-3Fcc-3D1529423466440-23_viewInspect&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=NJkh0WAvg8URwgfg1HchHRYS2ht82VxVOSGFDaBy3YM&e=>
it should be
http://aai.api.sparky.simpledemo.onap.org:9517/services/aai/webapp/index.html?cc=1529423466440#/viewInspect<https://urldefense.proofpoint.com/v2/url?u=http-3A__aai.api.sparky.simpledemo.onap.org-3A9517_services_aai_webapp_index.html-3Fcc-3D1529423466440-23_viewInspect&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=crbGOjIvTF35cPP8ixCYbKnq_zCo2torqnv7RimIgfo&e=>
Can you please make the change and also can you tell me if I can quickly change 
it in test config/ OOM templates? Or should it be done as a part of import 
scripts when you load up portal?
Regards
Arul
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at 
https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=jm7NHuDolyD9_4XgNk_9QS_BXAoQAakhj4dT5ZrX5z8&e=>
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at 
https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=jm7NHuDolyD9_4XgNk_9QS_BXAoQAakhj4dT5ZrX5z8&e=>
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at 
https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=jm7NHuDolyD9_4XgNk_9QS_BXAoQAakhj4dT5ZrX5z8&e=>

_______________________________________________
onap-discuss mailing list
[email protected]<mailto:[email protected]>
https://lists.onap.org/mailman/listinfo/onap-discuss<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.onap.org_mailman_listinfo_onap-2Ddiscuss&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=LH-eWxeyk6SS-a4CEHp4HrZtmZtRCUPYIITQ1l8vWjQ&e=>


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at 
https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=jm7NHuDolyD9_4XgNk_9QS_BXAoQAakhj4dT5ZrX5z8&e=>
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at 
https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=WrNqy1qTY6qs8trIiLe-U2OvGp0SXnE4nO3a-LJ-q_w&m=CtMnrM-vIDrOYhBaaNCveDRjm0M3tDAYqD5WJ8IWcA8&s=jm7NHuDolyD9_4XgNk_9QS_BXAoQAakhj4dT5ZrX5z8&e=>


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

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

Reply via email to