Hello All,

I am trying to import the cba file for Use Case A1 Policy Enforment, but I am 
getting some errors during the deployment via CDS UI.
The templates I am using are available on this repository 
https://github.com/onap/integration-usecases-A1-policy-enforcement. ( 
https://github.com/onap/integration-usecases-A1-policy-enforcement )

The first error I am getting is due the simple.tgz file not being found or 
imported properly,
> 
> 
> cds-blueprints-processor 2022-08-02
> 16:33:43,435|fa0f05b9-d20a-47c9-887a-6da105d684de||DefaultDispatcher-worker-2||/api/v1/blueprint-model/publish||INFO|||dev-cds-blueprints-processor-7456969b6f-hfctj||||
> Save processing(fd5f7245-36e2-46e4-9f12-a2a6986be57e)
> CBA(/opt/app/onap/blueprints/archive/fd5f7245-36e2-46e4-9f12-a2a6986be57e/cba.zip)
> ││ cds-blueprints-processor 2022-08-02
> 16:33:43,439|fa0f05b9-d20a-47c9-887a-6da105d684de||DefaultDispatcher-worker-2||/api/v1/blueprint-model/publish||INFO|||dev-cds-blueprints-processor-7456969b6f-hfctj||||
> Reading blueprint type(DEFAULT)
> path(/opt/app/onap/blueprints/working/fd5f7245-36e2-46e4-9f12-a2a6986be57e)
> and entry definition file (Definitions/oran-sim-blueprint.json)           
> ││ cds-blueprints-processor 2022-08-02
> 16:33:43,466|fa0f05b9-d20a-47c9-887a-6da105d684de||DefaultDispatcher-worker-2||/api/v1/blueprint-model/publish||ERROR|||dev-cds-blueprints-processor-7456969b6f-hfctj||||
> failed in blueprint service template validation                           
> ││ cds-blueprints-processor
> org.onap.ccsdk.cds.controllerblueprints.core.BluePrintException: couldn't
> find file
> (/opt/app/onap/blueprints/working/fd5f7245-36e2-46e4-9f12-a2a6986be57e/Templates/k8s-profiles/simple.tar.gz)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintArtifactDefinitionValidatorImpl.validate(BluePrintArtifactDefinitionValidatorImpl.kt:64)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintArtifactDefinitionValidatorImpl.validate(BluePrintArtifactDefinitionValidatorImpl.kt:34)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.core.interfaces.BluePrintTypeValidatorService$DefaultImpls.doValidation(BlueprintValidator.kt:172)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.core.interfaces.BluePrintTypeValidatorService$DefaultImpls.validateArtifactDefinition(BlueprintValidator.kt:114)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintTypeValidatorServiceImpl.validateArtifactDefinition(BluePrintTypeValidatorServiceImpl.kt:38)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintNodeTemplateValidatorImpl$validateArtifactDefinitions$1.accept(BluePrintNodeTemplateValidatorImpl.kt:87)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintNodeTemplateValidatorImpl$validateArtifactDefinitions$1.accept(BluePrintNodeTemplateValidatorImpl.kt:43)
> ││ cds-blueprints-processor     at
> java.base/java.util.LinkedHashMap.forEach(Unknown Source)

If I replace the file k8s-profile to be imported by the 
cnf-config-template.tar.gz file seems the file is imported asuccessfuly,
Next, while deploying via CDS UI other error pops up. The file 
req-input-template.vtl is empty, so it seems not being imported and trows the 
following error;

> 
> │ cds-blueprints-processor 2022-08-02
> 16:35:55,747|36ae9b43-b9e5-49b2-a962-9999a2235488||DefaultDispatcher-worker-2||/api/v1/blueprint-model/publish||INFO|||dev-cds-blueprints-processor-7456969b6f-hfctj||||
> Reading blueprint type(DEFAULT)
> path(/opt/app/onap/blueprints/working/34bc6861-b66e-4b36-b595-4710d9949625)
> and entry definition file (Definitions/oran-sim-blueprint.json)           
> ││ cds-blueprints-processor 2022-08-02
> 16:35:55,768|36ae9b43-b9e5-49b2-a962-9999a2235488||DefaultDispatcher-worker-2||/api/v1/blueprint-model/publish||ERROR|||dev-cds-blueprints-processor-7456969b6f-hfctj||||
> failed in blueprint service template validation                           
> ││ cds-blueprints-processor
> org.onap.ccsdk.cds.controllerblueprints.core.BluePrintException: couldn't
> find file
> (/opt/app/onap/blueprints/working/34bc6861-b66e-4b36-b595-4710d9949625/Templates/req-input-template.vtl)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintArtifactDefinitionValidatorImpl.validate(BluePrintArtifactDefinitionValidatorImpl.kt:64)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintArtifactDefinitionValidatorImpl.validate(BluePrintArtifactDefinitionValidatorImpl.kt:34)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.core.interfaces.BluePrintTypeValidatorService$DefaultImpls.doValidation(BlueprintValidator.kt:172)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.core.interfaces.BluePrintTypeValidatorService$DefaultImpls.validateArtifactDefinition(BlueprintValidator.kt:114)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintTypeValidatorServiceImpl.validateArtifactDefinition(BluePrintTypeValidatorServiceImpl.kt:38)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintNodeTemplateValidatorImpl$validateArtifactDefinitions$1.accept(BluePrintNodeTemplateValidatorImpl.kt:87)
> ││ cds-blueprints-processor     at
> org.onap.ccsdk.cds.controllerblueprints.validation.BluePrintNodeTemplateValidatorImpl$validateArtifactDefinitions$1.accept(BluePrintNodeTemplateValidatorImpl.kt:43)
> 

Anyone faced this errors while running the usecase, or knows what are the 
possible causes are?
If yes could you please help on this?

Thank you!
Paulo


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24127): https://lists.onap.org/g/onap-discuss/message/24127
Mute This Topic: https://lists.onap.org/mt/92774602/21656
Mute #cds:https://lists.onap.org/g/onap-discuss/mutehashtag/cds
Mute #a1:https://lists.onap.org/g/onap-discuss/mutehashtag/a1
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to