cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
199
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

Error deploying vnfpackage for sol003 (Cannot find primary Vnfd resource)

Hello!!

 

I am following this link for step wise sol003 deployment on ESC, https://confluence-eng-sjc1.cisco.com/conf/display/NSOUS/NFVO+0.0.6+-+IOSXRv9k+-+ETSI+Instantiation

There is a mention of create-zip.sh. Is this any special script? or just used to create a normal zip file for Definitions folder and Tosca.meta? 

 

I created a YAML file for CSR VNF  and the VNFD xml and vnf-info xml but I am getting an error:

on ESC etsi-vnfm.log:

2020-04-02 18:21:03.292 FAILURE_RESPONSE uri=/vnflcm/v1/vnf_instances/07eb45eb-9401-4b02-9b9b-c71661964bd0/instantiate Error during instantiate validation: Cannot find primary Vnfd resource pointed by: Definitions/CSRsol003.yaml {

  "headers": {"Content-Type": ["application/problem+json"]},

  "body": {

    "detail": "Error during instantiate validation: Cannot find primary Vnfd resource pointed by: Definitions/CSRsol003.yaml",

    "status": 422

  },

  "statusCodeValue": 422,

  "statusCode": "UNPROCESSABLE_ENTITY"

}

 

 

from the ned trace:

 

>> 2-Apr-2020::18:21:03.106 user: /176 thandle 265660 hostname austx-lab-dev-nso-01 device austx-lab-dev-esc-01-sol003 COMMAND instantiate([{['_etsi-sol003-gen-1.13:etsi-sol003-gen-1.13#http://tail-f.com/ned/etsi-sol003'|
name],
<<"austx-lab-dev-esc-01-sol003-vnf-info-csrsol17">>},
{['_etsi-sol003-gen-1.13:etsi-sol003-gen-1.13#http://tail-f.com/ned/etsi-sol003'|
model],
<<"vnf-instance">>},
{['_etsi-sol003-gen-1.13:etsi-sol003-gen-1.13#http://tail-f.com/ned/etsi-sol003'|
'is-action'],
true}])
-- Device ID:austx-lab-dev-esc-01-sol003 => CMD: vnf-instance-instantiate
<< 2-Apr-2020::18:21:03.270 user: /176 thandle 265660 hostname austx-lab-dev-nso-01 device austx-lab-dev-esc-01-sol003 SET_TIMEOUT
POST http://97.105.228.252:8250/vnflcm/v1/vnf_instances/07eb45eb-9401-4b02-9b9b-c71661964bd0/instantiate HTTP/1.1
{"flavourId":"vnf-csr","instantiationLevelId":"small"}

*** input 2-Apr-2020::18:21:03.294 user: /176 thandle 265660 hostname austx-lab-dev-nso-01 device austx-lab-dev-esc-01-sol003 ***
HttpResponseProxy{HTTP/1.1 422 [Set-Cookie: JSESSIONID=0010B8BFBA535F973EE42E799B3AB587; Path=/; HttpOnly, X-Application-Context: etsi:common,production:8250, Accept-Ranges: none, X-Content-Type-Options: nosniff, X-XSS-Protection: 1; mode=block, Cache-Control: no-cache, no-store, max-age=0, must-revalidate, Pragma: no-cache, Expires: 0, X-Frame-Options: DENY, Strict-Transport-Security: max-age=31536000 ; includeSubDomains, Content-Type: application/problem+json, Transfer-Encoding: chunked, Date: Thu, 02 Apr 2020 18:21:03 GMT] ResponseEntityProxy{[Content-Type: application/problem+json,Chunked: true]}}
Set-Cookie : JSESSIONID=0010B8BFBA535F973EE42E799B3AB587; Path=/; HttpOnly
X-Application-Context : etsi:common,production:8250
Accept-Ranges : none
X-Content-Type-Options : nosniff
X-XSS-Protection : 1; mode=block
Cache-Control : no-cache, no-store, max-age=0, must-revalidate
Pragma : no-cache
Expires : 0
X-Frame-Options : DENY
Strict-Transport-Security : max-age=31536000 ; includeSubDomains
Content-Type : application/problem+json
Transfer-Encoding : chunked
Date : Thu, 02 Apr 2020 18:21:03 GMT
{"status":422,"detail":"Error during instantiate validation: Cannot find primary Vnfd resource pointed by: Definitions/CSRsol003.yaml"}

*** output 2-Apr-2020::18:21:03.296 user: /176 thandle 265660 hostname austx-lab-dev-nso-01 device austx-lab-dev-esc-01-sol003 ***
-- INSTANTIATE "austx-lab-dev-esc-01-sol003-vnf-info-csrsol17" error: [422] => Error during instantiate validation: Cannot find primary Vnfd resource pointed by: Definitions/CSRsol003.yaml
<< 2-Apr-2020::18:21:03.296 user: /176 thandle 265660 hostname austx-lab-dev-nso-01 device austx-lab-dev-esc-01-sol003 COMMAND
[{['_etsi-sol003-gen-1.13:etsi-sol003-gen-1.13#http://tail-f.com/ned/etsi-sol003'|
success],
false},
{['_etsi-sol003-gen-1.13:etsi-sol003-gen-1.13#http://tail-f.com/ned/etsi-sol003'|
detail],
<<"INSTANTIATE \"austx-lab-dev-esc-01-sol003-vnf-info-csrsol17\" error: [422] => Error during instantiate validation: Cannot find primary Vnfd resource pointed by: Definitions/CSRsol003.yaml">>}]

 

 

YAML and VNFD files attached, please let me know if anyone has faced this issue?

appreciate any inputs!

 

 

 

0 REPLIES 0