Hi,
I have used the name of image file for VNF in the TOSCA based yaml file as
given below:
artifacts: # This needs to be check for current release of ONAP
sw_image:
#file: { get_input: my_image }
file: ../Artifacts/Deployment/Other/image
type: tosca.artifacts.nfv.SwImage
inject_files:
source_path: ../Artifacts/Deployment/OTHER/authorized_keys #SSH
authorized_keys
dest_path: /home/ubuntu/.ssh/authorized_keys
The similar code is also found in the vCPE example of ONAP.
While distributing the service created by same VNF, following error is seen at
GUI:
SO-COpenSource-Env11
service-Pcscf7Service-csar.csar
/sdc/v1/catalog/services/Pcscf7Service/1.0/artifacts/service-Pcscf7Service-csar.csar
9/9/20, 6:10 AM
DEPLOY_ERROR
SO-COpenSource-Env11
id_rsa.pub
/sdc/v1/catalog/services/Pcscf7Service/1.0/resourceInstances/pcscf_70/artifacts/id_rsa.
pub
9/9/20, 6:10 AM
DEPLOY_ERROR
SO-COpenSource-Env11
authorized_keys
/sdc/v1/catalog/services/Pcscf7Service/1.0/resourceInstances/pcscf_70/artifacts/authori
zed_keys
9/9/20, 6:10 AM
DEPLOY_ERROR
SO-COpenSource-Env11
id_rsa
/sdc/v1/catalog/services/Pcscf7Service/1.0/resourceInstances/pcscf_70/artifacts/id_rsa
9/9/20, 6:10 AM
DEPLOY_ERROR
SO-COpenSource-Env11
image
/sdc/v1/catalog/services/Pcscf7Service/1.0/resourceInstances/pcscf_70/artifacts/image
9/9/20, 6:10 AM
DEPLOY_ERROR
Below error is seen in the log file of SDC controller:
2020-09-09T05:07:53.343Z|ecf04ace-776e-443f-bf91-42cbc68ec129|pool-3-thread-
2|||||ERROR|500||Unable to process resource received from SDC
org.onap.so.asdc.etsi.pkg.processor.exceptions.SOL004ResourcePackageFailureException:
Failed to onboard vnf with UUID: 1296f8b2-e957-4b87-96c0-0206b712f591 job
status: error
errorCode: CATALOG_EXCEPTION
2020-09-09T05:07:53.362Z|ecf04ace-776e-443f-bf91-42cbc68ec129|pool-3-thread-
2|||||ERROR|500||ASDC_ARTIFACT_INSTALL_EXC No element listed 300 Exception
caught
during installation of pcscf_5. Transaction rollback
org.onap.so.asdc.etsi.pkg.processor.exceptions.SOL004ResourcePackageProcessingException
: Unable to process resource received from SDC
Caused by:
org.onap.so.asdc.etsi.pkg.processor.exceptions.SOL004ResourcePackageFailureException:
Failed to onboard vnf with UUID: 1296f8b2-e957-4b87-96c0-0206b712f591 job
status: error
errorCode: CATALOG_EXCEPTION
2020-09-09T05:07:53.365Z|ecf04ace-776e-443f-bf91-42cbc68ec129|pool-3-thread-
2|||||ERROR|500||Exception occurred
Please suggest for any resolution of same.
-------------------------------------------------------------------------------
::Disclaimer::
-------------------------------------------------------------------------------
The contents of this email and any attachment(s) are confidential and intended
for the named recipient(s) only. It shall not attach any liability on C-DOT.
Any views or opinions presented in this email are solely those of the author
and may not necessarily reflect the opinions of C-DOT. Any form of
reproduction, dissemination, copying, disclosure, modification, distribution
and / or publication of this message without the prior written consent of the
author of this e-mail is strictly prohibited. If you have received this email
in error please delete it and notify the sender immediately.
-------------------------------------------------------------------------------
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22093): https://lists.onap.org/g/onap-discuss/message/22093
Mute This Topic: https://lists.onap.org/mt/76728828/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-