Hi Jorge, Using http is returning "http://pdp:8181/pdp" which is the only pdp available, so it works. Thanks for the input.
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 Mobile: +971543070467 From: "HERNANDEZ-HERRERO, JORGE" <jh1730 at att.com> To: onap-discuss <onap-discuss at lists.onap.org> Date: 04/24/2017 07:40 PM Subject: Re: [onap-discuss] Policy API Error from CURL Sent by: onap-discuss-bounces at lists.onap.org Yusuf, Please try the curl command using http instead of https against the pdps url. I think the images are set up to use http. The doc you are pointing out may not be precise in that aspect. With regards to the ?policy? component healthcheck, that?s a summarized view of the main policy subcomponents, so don?t need to run it through each container, as they seem ok, so let?s follow the first paragraph lead and see what you get. If still get an error, please use the ?-vvv? flag and report output here. Jorge From: onap-discuss-boun...@lists.onap.org [ mailto:onap-discuss-bounces at lists.onap.org] On Behalf Of Yusuf Mirza1 Sent: Monday, April 24, 2017 10:02 AM To: ROSE, DANIEL V <DR695H at att.com>; DRAGOSH, PAM <pdragosh at research.att.com> Cc: onap-discuss <onap-discuss at lists.onap.org> Subject: Re: [onap-discuss] Policy API Error from CURL Daniel, For the health check status using Robot VM via http is mentioned in the release notes. Pls suggest whether it is applicable.. https://wiki.onap.org/display/DW/Release+Notes+1.0.0+draft Pam, I am trying to call Policy APIs to list available Pdps using CURL as mentioned in the Policy API documentation. I was expecting it return an exception if a parameter is missing.. Instead I get the following response: API documentation from Wiki: (See attached file: index_Policy_API (2).html) 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 Mobile: +971543070467 Inactive hide details for "ROSE, DANIEL V" ---04/24/2017 05:43:06 PM---What page are you seeing that document on yusuf? I don?"ROSE, DANIEL V" ---04/24/2017 05:43:06 PM---What page are you seeing that document on yusuf? I don?t think the code works that way. Thanks, From: "ROSE, DANIEL V" <dr6...@att.com> To: "DRAGOSH, PAM" <pdragosh at research.att.com>, Yusuf Mirza1/United Arab Emirates/IBM at IBMAE Cc: onap-discuss <onap-discuss at lists.onap.org> Date: 04/24/2017 05:43 PM Subject: RE: [onap-discuss] Policy API Error from CURL 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-boun...@lists.onap.org [ mailto:onap-discuss-bounces at lists.onap.org] 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 <ymi...@ae.ibm.com> Date: Monday, April 24, 2017 at 8:34 AM To: "DRAGOSH, PAMELA L (PAM)" <pdragosh at research.att.com> Cc: onap-discuss <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: It does not work from command line as well: However, I ran the commands you provided and it returned following from the drools container: 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: 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 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)" <pdrag...@research.att.com> To: Yusuf Mirza1/United Arab Emirates/IBM at IBMAE Cc: onap-discuss <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 | python -m json.tool Pam From: Yusuf Mirza1 <ymi...@ae.ibm.com> Date: Monday, April 24, 2017 at 4:36 AM To: "DRAGOSH, PAMELA L (PAM)" <pdragosh at research.att.com> Cc: onap-discuss <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. 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 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)" <pdrag...@research.att.com> To: Yusuf Mirza1/United Arab Emirates/IBM at IBMAE, onap-discuss < 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 From: <onap-discuss-boun...@lists.onap.org> on behalf of Yusuf Mirza1 < YMirza at ae.ibm.com> Date: Friday, April 21, 2017 at 11:53 AM To: onap-discuss <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? Docker containers running on the policy VM: 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 Mobile: +971543070467 _______________________________________________ onap-discuss mailing list onap-discuss at lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18959766.jpg Type: image/jpeg Size: 51940 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0002.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0011.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18513828.gif Type: image/gif Size: 20015 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0012.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18455838.jpg Type: image/jpeg Size: 13882 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0003.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18063247.gif Type: image/gif Size: 61235 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0013.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18642228.gif Type: image/gif Size: 50796 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0014.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18939628.gif Type: image/gif Size: 86606 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0015.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18830078.gif Type: image/gif Size: 80413 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0016.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18123624.gif Type: image/gif Size: 245826 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0017.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18606294.gif Type: image/gif Size: 106 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0018.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18074454.gif Type: image/gif Size: 70640 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0019.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18395329.gif Type: image/gif Size: 107 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0020.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 18813928.gif Type: image/gif Size: 215019 bytes Desc: not available URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/6805087d/attachment-0021.gif>