Hi Vamshi,

This error mainly happens when there's something wrong with the optimization 
policy that is needed for placement. May you try login to the osdf pod and copy 
the debug log(especially the payload it send to conductor) here? That will help 
us to locate the root cause for the problem. Thanks.

Best Regards,
Ruoyu

From: [email protected] [mailto:[email protected]] On 
Behalf Of vamshi
Sent: Tuesday, August 13, 2019 5:42 PM
To: [email protected]
Subject: [onap-discuss] [SO][OOF] error while instantiating service

Hello SO/OOF team,

I'm trying vFW automation script for instantiating vFW use case. By following 
page https://github.com/onap/integration/tree/master/test/hpa_automation/heat
I was facing below issue in SO while it is trying to request OOF , have pulled 
log from - dev-so-so-bpmn-infra-5b4f566958-7jql6. The detailed log has attached 
to this mail. Could you please suggest any thoughts with your observations. 
Thank you



2019-08-13T06:49:14.926Z|5899cd91-80a9-4adc-9b09-40ce5340a0e0| 
org.onap.so.bpmn.common.scripts.OofHoming - OOF Async Callback Response is: 
"{\"externalApplicationDetails\": {\"httpMethod\": \"GET\", \"httpStatusCode\": 
200, \"responseMessage\": {\"plans\": [{\"name\": 
\"c8fc2537-3080-4cc7-873e-82e1a404550d\", \"status\": \"error\", \"id\": 
\"375bcb8e-5ab8-403f-940f-306e5068363f\", \"links\": [[{\"rel\": \"self\", 
\"href\": 
\"https://oof-has-api:8091/v1/plans/375bcb8e-5ab8-403f-940f-306e5068363f\<https://oof-has-api:8091/v1/plans/375bcb8e-5ab8-403f-940f-306e5068363f/>"}]],
 \"message\": \"local variable 'triage_data_trans' referenced before 
assignment\"}]}, \"url\": 
\"https://oof-has-api:8091/v1/plans/375bcb8e-5ab8-403f-940f-306e5068363f\<https://oof-has-api:8091/v1/plans/375bcb8e-5ab8-403f-940f-306e5068363f/>"},
 \"serviceException\": {\"text\": \"A request exception has occurred when 
contacting an external system\", \"errorType\": \"InterfaceError\"}}"
2019-08-13T06:49:14.932Z|5899cd91-80a9-4adc-9b09-40ce5340a0e0| 
org.onap.so.bpmn.core.json.JsonUtils - getJsonRawValue(): unable to parse json 
to retrieve value for field=solutions.placementSolutions. Exception was: 
org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 
line 1]
org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 
line 1]
        at org.json.JSONTokener.syntaxError(JSONTokener.java:433)
        at org.json.JSONObject.<init>(JSONObject.java:194)
        at org.json.JSONObject.<init>(JSONObject.java:321)
        at 
org.onap.so.bpmn.core.json.JsonUtils.getJsonRawValue(JsonUtils.java:775)
        at 
org.onap.so.bpmn.core.json.JsonUtils.getJsonRawValue(JsonUtils.java:757)




Thanks & Regards,

Vamshi Krishna | Tech Mahindra

Sharda Centre, Off Karve Road, Erandwane, Pune 411 004, INDIA
Mobile: +91 9848639561, ext : 3492
Email Id - [email protected]<mailto:[email protected]>



[cid:[email protected]]<http://www.techmahindra.com/>






============================================================================================================================
 Disclaimer: This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. 
============================================================================================================================


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

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

Reply via email to