Ah, thanks for pointing that out.
Marco, do you think we can fix the vFW HEAT template and remove the sdnc_* 
metadata fields?

Reason you got an error is because you are using an SDNC version that bugs for 
the CDS flow. They are all fixed now.
To know what’s the latest image tag, see 
https://github.com/onap/integration/blob/master/version-manifest/src/main/resources/docker-manifest.csv
 
<https://github.com/onap/integration/blob/master/version-manifest/src/main/resources/docker-manifest.csv>

Alexis

> On Nov 21, 2018, at 9:31 AM, Ukponmwan, Itohan <itohan.ukponm...@intel.com> 
> wrote:
> 
> Hi Alexis,
>
> Thanks for explaining this.
> Actually I copied the HEAT template from vFW and I see those parameters 
> defined in the vFW
> https://github.com/onap/demo/blob/master/heat/vFW/base_vfw.yaml#L327 
> <https://github.com/onap/demo/blob/master/heat/vFW/base_vfw.yaml#L327> along 
> with its env parameters in 
> https://github.com/onap/demo/blob/master/heat/vFW/base_vfw.env#L32-L34 
> <https://github.com/onap/demo/blob/master/heat/vFW/base_vfw.env#L32-L34> .
>
> Why do I get an error in my case? Also, does this mean if I proceed with this 
> heat template, I cannot preload.
> Lastly , what is the latest docker image for sdnc?  I installed ONAP using 
> the deploy script in the integration repo, perhaps the image version has not 
> been updated here?
>
> Thanks,
> Itohan
>
>   <>
>  <>From: onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org> 
> [mailto:onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>] On 
> Behalf Of Alexis de Talhouet
> Sent: Wednesday, November 21, 2018 5:15 AM
> To: Ukponmwan, Itohan <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>
> Cc: onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>; 
> SMOKOWSKI, STEVEN <ss8...@att.com <mailto:ss8...@att.com>>; Deng, Yipan 
> <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>; Addepalli, Srinivasa R 
> <srinivasa.r.addepa...@intel.com <mailto:srinivasa.r.addepa...@intel.com>>; 
> Mishra, Sharad D <sharad.d.mis...@intel.com 
> <mailto:sharad.d.mis...@intel.com>>
> Subject: Re: [onap-discuss] VNF Creation Error in VID
>
> I see. So I believe you copied the HEAT template from vFW_NextGen, as you 
> have the following defined in your server's metadata section:
>
> sdnc_model_name: { get_param: sdnc_model_name }, sdnc_model_version: { 
> get_param: sdnc_model_version }, sdnc_artifact_name: { get_param: 
> sdnc_artifact_name }
>
> https://github.com/onap/demo/blob/master/heat/vFW_HPA/vFW/base_vfw.yaml#L292 
> <https://github.com/onap/demo/blob/master/heat/vFW_HPA/vFW/base_vfw.yaml#L292>
> https://github.com/onap/demo/blob/master/heat/vFW_HPA/vFW/base_vfw.yaml#L368 
> <https://github.com/onap/demo/blob/master/heat/vFW_HPA/vFW/base_vfw.yaml#L368>
> https://github.com/onap/demo/blob/master/heat/vFW_HPA/vFW/base_vfw.yaml#L442 
> <https://github.com/onap/demo/blob/master/heat/vFW_HPA/vFW/base_vfw.yaml#L442>
>
> along with their values provided in the env file: 
> https://github.com/onap/demo/blob/master/heat/vFW_HPA/vFW/base_vfw.env#L41-L43
>  
> <https://github.com/onap/demo/blob/master/heat/vFW_HPA/vFW/base_vfw.env#L41-L43>
>
> I believe this is un-intentional, if so please remove. Else if you want to 
> use CDS, you would need to design the pre-instantiation configuration as per 
> as your service; as I don’t know the delta between the vFW_HPA and 
> vFW_NextGen, I cannot say the pre-instantiation configuration we have 
> designed will work for your use case. FYI, here is a wiki page explaining how 
> CDS works for Casablanca: https://wiki.onap.org/display/DW/vFW+CDS+Casablanca 
> <https://wiki.onap.org/display/DW/vFW+CDS+Casablanca> - and what CDS does in 
> Casablanca is get rid of preload.
>
>
> Regardless, please use latest SDNC, as the error I see in the karaf.log
>
> org.onap.ccsdk.sli.core.sli.SvcLogicException: ConfigAssignmentPersistService 
> : PreparedStatementCallback; SQL [INSERT INTO CONFIG_TRANSACTION_LOG ( 
> config_transaction_log_id, request_id, message_type, message ) VALUES (?, ?, 
> ?, ?) ]; (conn=312) Data truncated for column 'config_transaction_log_id' at 
> row 1; nested exception is java.sql.SQLWarning: (conn=312) Data truncated for 
> column 'config_transaction_log_id' at row 1
>
>  has been fixed 3 weeks ago: https://gerrit.onap.org/r/#/c/71739/ 
> <https://gerrit.onap.org/r/#/c/71739/>
>
>
> Thanks,
> Alexis
>
> 
> 
> On Nov 21, 2018, at 1:49 AM, Ukponmwan, Itohan <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>> wrote:
>
> Hi Alexis,
>
> I am trying to instantiate the vFW service but I am using the vFW_HPA 
> templates in the demo repo. I added flavor parameters and vnic parameters, 
> but I did not modify other parameters.
> I do not understand the heat template thing you defined talked about here;
>
> “I think this is more of a HEAT template thing in which for the sever 
> definition metadata you have defined sdnc_* variables.”
>
> Please can you explain this more. Please find attached the karaf.log file of 
> SDNC.
>
> Regards,
> Itohan
> From: onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org> 
> [mailto:onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>] On 
> Behalf Of Alexis de Talhouet
> Sent: Tuesday, November 20, 2018 5:45 PM
> To: onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>; 
> adetalhoue...@gmail.com <mailto:adetalhoue...@gmail.com>; Ukponmwan, Itohan 
> <itohan.ukponm...@intel.com <mailto:itohan.ukponm...@intel.com>>
> Cc: SMOKOWSKI, STEVEN <ss8...@att.com <mailto:ss8...@att.com>>; Deng, Yipan 
> <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>; Addepalli, Srinivasa R 
> <srinivasa.r.addepa...@intel.com <mailto:srinivasa.r.addepa...@intel.com>>; 
> Mishra, Sharad D <sharad.d.mis...@intel.com 
> <mailto:sharad.d.mis...@intel.com>>
> Subject: Re: [onap-discuss] VNF Creation Error in VID
>
> At any rate, please provide the karaf.log of SDNC, that will help understand 
> the issue.
>
> Thanks,
> Alexis
> 
> On Nov 20, 2018, at 8:40 PM, Alexis de Talhouet <adetalhoue...@gmail.com 
> <mailto:adetalhoue...@gmail.com>> wrote:
> 
> What Service are you trying to instantiate? Is it the vFWNG?
> Looks like instantiation of your service goes through CDS for assignment. 
>
> So there no bug in SO, no bug in VID. That logs is a broadcast of a failure 
> in SDNC. But I don’t think it’s an SDNC issue, I think this is more of a HEAT 
> template thing in which for the sever definition metadata you have defined 
> sdnc_* variables.
> 
> On Nov 20, 2018, at 5:57 PM, Ukponmwan, Itohan <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>> wrote:
> 
> I see the following in the error.log of bpmn pod
>
> 2018-11-20T22:29:02.139Z|9ec79c08-03b9-46c4-ae7b-d7d6456bb4bd|camundaTaskExecutor-2|AssignVnfBB||BPMN|AssignVnfBB|ERROR|900|Exception
>  in org.onap.so.bpmn.infrastructure.sdnc.
> tasks.SDNCAssignTasks.assignVnf |BPMN_GENERAL_EXCEPTION_ARG
> 2018-11-20T22:32:07.201Z|7384cb4f-c92f-4cf4-8205-27933ee4e369|camundaTaskExecutor-3|AssignVnfBB||BPMN|AssignVnfBB|ERROR|300|Error
>  from SDNC: Failed to create self-serve assig
> nment for vnf with vnf-id=c31fb695-755c-46e9-8f92-d5e129c7e6aa with error: 
> Failed to get RA assignments: Error from 
> ConfigAssignmentNode|RA_RESPONSE_FROM_SDNC
> 2018-11-20T22:32:07.202Z|7384cb4f-c92f-4cf4-8205-27933ee4e369|camundaTaskExecutor-3|AssignVnfBB||||ERROR|300|Error
>  from SDNC: Failed to create self-serve assignment for vnf w
> ith vnf-id=c31fb695-755c-46e9-8f92-d5e129c7e6aa with error: Failed to get RA 
> assignments: Error from ConfigAssignmentNode|Error from SDNC: Failed to 
> create self-serve assignm
> ent for vnf with vnf-id=c31fb695-755c-46e9-8f92-d5e129c7e6aa with error: 
> Failed to get RA assignments: Error from ConfigAssignmentNode
> org.onap.so.client.exception.BadResponseException: Error from SDNC: Failed to 
> create self-serve assignment for vnf with 
> vnf-id=c31fb695-755c-46e9-8f92-d5e129c7e6aa with error
> : Failed to get RA assignments: Error from ConfigAssignmentNode
>         at 
> org.onap.so.client.sdnc.SdnCommonTasks.validateSDNResponse(SdnCommonTasks.java:118)
>         at org.onap.so.client.sdnc.SDNCClient.post(SDNCClient.java:68)
>         at 
> org.onap.so.client.orchestration.SDNCVnfResources.assignVnf(SDNCVnfResources.java:56)
>         at 
> org.onap.so.bpmn.infrastructure.sdnc.tasks.SDNCAssignTasks.assignVnf(SDNCAssignTasks.java:82)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>
> From: onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org> 
> [mailto:onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>] On 
> Behalf Of Ukponmwan, Itohan
> Sent: Tuesday, November 20, 2018 1:55 PM
> To: SMOKOWSKI, STEVEN <ss8...@att.com <mailto:ss8...@att.com>>; 
> onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>
> Cc: Deng, Yipan <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>; 
> Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>; Mishra, Sharad D 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: Re: [onap-discuss] VNF Creation Error in VID
>
> Hi Steve,
>
> I redeployed so using docker image 1.3.2. I see a different error. Please 
> find attached an image of the error I see.
>
> Thanks,
> Itohan 
>
> From: SMOKOWSKI, STEVEN [mailto:ss8...@att.com <mailto:ss8...@att.com>] 
> Sent: Tuesday, November 20, 2018 12:12 PM
> To: Ukponmwan, Itohan <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>; onap-discuss@lists.onap.org 
> <mailto:onap-discuss@lists.onap.org>
> Cc: Deng, Yipan <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>; 
> Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>; Mishra, Sharad D 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: Re: [onap-discuss] VNF Creation Error in VID
>
> I was referring to the SO you have deployed, this earlier error is an 
> internal SO communication error.  I would need to see debug log from BPMN pod 
> and APIHandler pod to see what to check,  Please open a Jira and attach it.
>
> 11/20/18 10:28:43 HTTP Status: Internal Server Error (500)
> {
>   "requestError": {
>     "serviceException": {
>       "messageId": "SVC2000",
>       "text": "Unable to save instance to db due to error contacting 
> requestDb: org.springframework.web.client.HttpClientErrorException: 409 "
>
>
> Thanks
>
> -Steve
>
>
> From: "Ukponmwan, Itohan" <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>
> Date: Tuesday, November 20, 2018 at 3:04 PM
> To: "onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>" 
> <onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>>, 
> "Ukponmwan, Itohan" <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>, "SMOKOWSKI, STEVEN" <ss8...@att.com 
> <mailto:ss8...@att.com>>
> Cc: "Deng, Yipan" <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>, 
> "Addepalli, Srinivasa R" <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>, "Mishra, Sharad D" 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: RE: [onap-discuss] VNF Creation Error in VID
>
> Hi Steve,
>
> What changes can I make in my already deployed OOM ONAP to redeploy and fix 
> the error I am seeing with vid? What is the recommended docker image for VID?
>
> -Itohan
>
> From: onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org> 
> [mailto:onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>] On 
> Behalf Of Ukponmwan, Itohan
> Sent: Tuesday, November 20, 2018 11:47 AM
> To: SMOKOWSKI, STEVEN <ss8...@att.com <mailto:ss8...@att.com>>; 
> onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>
> Cc: Deng, Yipan <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>; 
> Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>; Mishra, Sharad D 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: Re: [onap-discuss] VNF Creation Error in VID
>
> I deployed using master on Sunday. I am seeing the following in VID logs
>
> 20-Nov-2018 19:18:16.513 SEVERE [http-nio-8443-exec-9] 
> org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for 
> servlet [dispatcher] in context with path [/
> vid] threw exception [Handler processing failed; nested exception is 
> java.lang.NoSuchMethodError: org.json.JSONObject.<init>(Ljava/lang/Object;)V] 
> with root cause
> java.lang.NoSuchMethodError: org.json.JSONObject.<init>(Ljava/lang/Object;)V
>         at 
> org.onap.portalapp.controller.core.MenuListController.getAppName(MenuListController.java:139)
>         at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>
>
>
> From: SMOKOWSKI, STEVEN [mailto:ss8...@att.com <mailto:ss8...@att.com>] 
> Sent: Tuesday, November 20, 2018 11:36 AM
> To: Ukponmwan, Itohan <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>; onap-discuss@lists.onap.org 
> <mailto:onap-discuss@lists.onap.org>
> Cc: Deng, Yipan <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>; 
> Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>; Mishra, Sharad D 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: Re: [onap-discuss] VNF Creation Error in VID
>
> Is it using master or Casablanca?  Master it may be a bug, I believe we got 
> rid of hard coded encryption keys, perhaps something was not re-encrypted 
> properly.
>
> Thanks
>
> -Steve
>
>
> From: "Ukponmwan, Itohan" <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>
> Date: Tuesday, November 20, 2018 at 2:30 PM
> To: "SMOKOWSKI, STEVEN" <ss8...@att.com <mailto:ss8...@att.com>>, 
> "onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>" 
> <onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>>
> Cc: "Deng, Yipan" <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>, 
> "Addepalli, Srinivasa R" <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>, "Mishra, Sharad D" 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: RE: [onap-discuss] VNF Creation Error in VID
>
> Yes. I am using the deploy script in the integration repo and it pulls in the 
> latest oom with the latest helm charts.
>
> -Itohan
>
> From: SMOKOWSKI, STEVEN [mailto:ss8...@att.com <mailto:ss8...@att.com>] 
> Sent: Tuesday, November 20, 2018 11:26 AM
> To: Ukponmwan, Itohan <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>; onap-discuss@lists.onap.org 
> <mailto:onap-discuss@lists.onap.org>
> Cc: Deng, Yipan <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>; 
> Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>; Mishra, Sharad D 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: Re: [onap-discuss] VNF Creation Error in VID
>
> Are you using the existing helm charts? It should set it correctly then
>
> Thanks
>
> -Steve
>
>
> From: "Ukponmwan, Itohan" <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>
> Date: Tuesday, November 20, 2018 at 1:45 PM
> To: "SMOKOWSKI, STEVEN" <ss8...@att.com <mailto:ss8...@att.com>>, 
> "onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>" 
> <onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>>
> Cc: "Deng, Yipan" <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>, 
> "Addepalli, Srinivasa R" <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>, "Mishra, Sharad D" 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: RE: [onap-discuss] VNF Creation Error in VID
>
> Please can you provide instructions for modifying the password. I am not 
> familiar with SO architecture and configmaps.
>
> Thanks,
> Itohan
>
> From: SMOKOWSKI, STEVEN [mailto:ss8...@att.com <mailto:ss8...@att.com>] 
> Sent: Tuesday, November 20, 2018 10:41 AM
> To: onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>; 
> Ukponmwan, Itohan <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>
> Cc: Deng, Yipan <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>; 
> Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>; Mishra, Sharad D 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: Re: [onap-discuss] VNF Creation Error in VID
>
> Pretty sure that’s going to be a bad password between SO-BPMN Pod, and 
> Request DB Pod.
>
> Thanks
>
> -Steve
>
>
> From: <onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>> on 
> behalf of "Ukponmwan, Itohan" <itohan.ukponm...@intel.com 
> <mailto:itohan.ukponm...@intel.com>>
> Reply-To: "onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>" 
> <onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>>, 
> "itohan.ukponm...@intel.com <mailto:itohan.ukponm...@intel.com>" 
> <itohan.ukponm...@intel.com <mailto:itohan.ukponm...@intel.com>>
> Date: Tuesday, November 20, 2018 at 1:34 PM
> To: "onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>" 
> <onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org>>
> Cc: "Deng, Yipan" <yipan.d...@intel.com <mailto:yipan.d...@intel.com>>, 
> "Addepalli, Srinivasa R" <srinivasa.r.addepa...@intel.com 
> <mailto:srinivasa.r.addepa...@intel.com>>, "Mishra, Sharad D" 
> <sharad.d.mis...@intel.com <mailto:sharad.d.mis...@intel.com>>
> Subject: [onap-discuss] VNF Creation Error in VID
>
> 11/20/18 10:28:43 HTTP Status: Internal Server Error (500)
> {
>   "requestError": {
>     "serviceException": {
>       "messageId": "SVC2000",
>       "text": "Unable to save instance to db due to error contacting 
> requestDb: org.springframework.web.client.HttpClientErrorException: 409 "
>
> <karaf.log>
>
> 


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

View/Reply Online (#13952): https://lists.onap.org/g/onap-discuss/message/13952
Mute This Topic: https://lists.onap.org/mt/28270014/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to