What page are you seeing that document on yusuf? I don?t think the code works 
that way.

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

From: onap-discuss-bounces at lists.onap.org 
[mailto:[email protected]] On Behalf Of DRAGOSH, PAM
Sent: Monday, April 24, 2017 9:13 AM
To: Yusuf Mirza1 <YMirza at ae.ibm.com>
Cc: onap-discuss <onap-discuss at lists.onap.org>
Subject: Re: [onap-discuss] Policy API Error from CURL

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
Not sure about the other containers, but that looks good like everything is 
working.

Re-reading your original email, not sure exactly where you got that curl 
command to run? Can you point it to me and/or what you are trying to test?

Thanks,

Pam

From: Yusuf Mirza1 <YMirza at ae.ibm.com<mailto:[email protected]>>
Date: Monday, April 24, 2017 at 8:34 AM
To: "DRAGOSH, PAMELA L (PAM)" <pdragosh at research.att.com<mailto:pdragosh at 
research.att.com>>
Cc: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Subject: Re: [onap-discuss] Policy API Error from CURL


Thanks Pam for the details.

I was actually trying to follow the following instructions on Wiki and was 
expecting to get an overall health check result:
[cid:image001.png at 01D2BCDF.083E8690]
It does not work from command line as well:
[cid:image002.png at 01D2BCDF.083E8690]
However, I ran the commands you provided and it returned following from the 
drools container:

[cid:image003.png at 01D2BCDF.083E8690]

Do I need run the same test in all containers in Policy VM? I tried running for 
pdp (and others) but it does return any object:

[cid:image004.png at 01D2BCDF.083E8690]



Many Thanks
Yusuf Mirza
====================================
Lead Architect - Network and OSS Transformation
Telecom, Media & Entertainment Center of Competence
IBM Global Business Services
E-mail: ymirza at ae.ibm.com<mailto:ymirza at ae.ibm.com>
Mobile: +971543070467


[nactive hide details for "DRAGOSH, PAMELA L (PAM)" ---04/24/2017 
03:44:29]"DRAGOSH, PAMELA L (PAM)" ---04/24/2017 03:44:29 PM---Yusuf, To run 
the healthcheck, you should get into the containers and simply run a curl 
command

From: "DRAGOSH, PAMELA L (PAM)" <pdragosh at 
research.att.com<mailto:[email protected]>>
To: Yusuf Mirza1/United Arab Emirates/IBM at IBMAE
Cc: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Date: 04/24/2017 03:44 PM
Subject: Re: [onap-discuss] Policy API Error from CURL

________________________________



Yusuf,

To run the healthcheck, you should get into the containers and simply run a 
curl command

You can get into the containers via a command like this:

docker exec -t -i "drools" /bin/bash -c 'TERM=xterm exec /bin/bash'

Then to do health check, this command will show:

curl --silent --user 'healthcheck:zb!XztG34' -X GET 
http://localhost:6969/healthcheck<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A6969_healthcheck&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=Ox7fs4bVnaTtha-thbmoFIN9TDX79JnmHwcLS_RFkCA&s=7WC5FZvZHvjkwFvW6UOe4HHKheDEPYFXKP3NOshmobs&e=>
 | python -m json.tool

Pam

From: Yusuf Mirza1 <YMirza at ae.ibm.com<mailto:[email protected]>>
Date: Monday, April 24, 2017 at 4:36 AM
To: "DRAGOSH, PAMELA L (PAM)" <pdragosh at research.att.com<mailto:pdragosh at 
research.att.com>>
Cc: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Subject: Re: [onap-discuss] Policy API Error from CURL

Hi Pam,

When we are trying to access the health check results, it is asking for a 
user/password:

Could you help with the default access details.. we tried demo, test, etc.

[cid:image006.png at 01D2BCDF.083E8690]


Many Thanks
Yusuf Mirza
====================================
Lead Architect - Network and OSS Transformation
Telecom, Media & Entertainment Center of Competence
IBM Global Business Services
E-mail: ymirza at ae.ibm.com<mailto:ymirza at ae.ibm.com>
Mobile: +971543070467


[active hide details for "DRAGOSH, PAMELA L (PAM)" ---04/21/2017 
10:22:23]"DRAGOSH, PAMELA L (PAM)" ---04/21/2017 10:22:23 PM---Yusuf, Can you 
run the healthcheck and let us know the results?

From: "DRAGOSH, PAMELA L (PAM)" <pdragosh at 
research.att.com<mailto:[email protected]>>
To: Yusuf Mirza1/United Arab Emirates/IBM at IBMAE, onap-discuss <onap-discuss 
at lists.onap.org<mailto:onap-discuss at lists.onap.org>>
Date: 04/21/2017 10:22 PM
Subject: Re: [onap-discuss] Policy API Error from CURL

________________________________




Yusuf,

Can you run the healthcheck and let us know the results?

There may be an issue with the IP address mapping 10.0.6.1:8081. We are seeing 
this internally also on another installation.

Thanks,

Pam

Pamela Dragosh
Lead Inventive Scientist
ONAP Policy
AT&T Research
pdragosh at research.att.com<mailto:pdragosh at research.att.com>



From: <onap-discuss-bounces at lists.onap.org<mailto:onap-discuss-bounces at 
lists.onap.org>> on behalf of Yusuf Mirza1 <YMirza at 
ae.ibm.com<mailto:[email protected]>>
Date: Friday, April 21, 2017 at 11:53 AM
To: onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Subject: [onap-discuss] Policy API Error from CURL

Hi All,

I am getting the below error in invoking Curl Get on the Policy APIs. Is there 
any SSL config/settings required to be done on Policy VM to start accepting API 
calls?

[cid:image008.png at 01D2BCDF.083E8690]

Docker containers running on the policy VM:
[cid:image009.png at 01D2BCDF.083E8690]

We are using ONAP on Vanilla OpenStack (Octata).



Many Thanks
Yusuf Mirza
====================================
Lead Architect - Network and OSS Transformation
Telecom, Media & Entertainment Center of Competence
IBM Global Business Services
E-mail: ymirza at ae.ibm.com<mailto:ymirza at ae.ibm.com>
Mobile: +971543070467


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 50796 bytes
Desc: image001.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 86606 bytes
Desc: image002.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 80413 bytes
Desc: image003.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 245826 bytes
Desc: image004.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.gif
Type: image/gif
Size: 106 bytes
Desc: image005.gif
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 70640 bytes
Desc: image006.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.gif
Type: image/gif
Size: 107 bytes
Desc: image007.gif
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 61235 bytes
Desc: image008.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 215019 bytes
Desc: image009.png
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170424/7d8791cd/attachment-0013.png>

Reply via email to