I've confirmed that using the following sample VNF package, running the VNF LCM instantiate fails.
https://opendev.org/openstack/tacker/src/branch/master/samples/vnf_packages/sample_vnf_pkg.zip
I think that the uploaded VNF package should execute the VNF LCM instantiate normally.
additional information:
As show following log message when run the VNF LCM instantiate.
------------------<tacker-conductor.log>------------------
2020-07-02 06:31:47.365 ERROR oslo_messaging.rpc.server [req-03855374-411f-49ea-be00-892fdd6b01fb nfv_user nfv] Exception during message handling: tacker.common.exceptions.VnfPreInstantiationFailed: Vnf '4dd00c66-cd7a-4a17-a802-df010c4ed14e' failed during pre-instantiation due to error: Image 5537f3d8-563e-41ea-b9db-18252782f9ec checksum verification failed. Glance calculated checksum is sha512:9a318acd9d049bbd6a8c662b18be95414b3b1f2e3d27e38e59bf99347193ac2831220aa54296ee35aee8f53c399000f095c8eca7eb611c5b2c83eeb7c30834a8. Checksum in VNFD is sha-256:b9c3036539fd7a5f87a1bf38eb05fdde8b556a1a7e664dbeda90ed3cd74b4f9d.
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/vnfm/infra_drivers/openstack/openstack.py", line 651, in pre_instantiation_vnf
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server 'active', vnflcm.ImageCreateWaitFailed)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/vnfm/infra_drivers/openstack/openstack.py", line 704, in _image_create_wait
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server "image_hash_value": vnf_software_image.hash})
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server Exception: Image 5537f3d8-563e-41ea-b9db-18252782f9ec checksum verification failed. Glance calculated checksum is sha512:9a318acd9d049bbd6a8c662b18be95414b3b1f2e3d27e38e59bf99347193ac2831220aa54296ee35aee8f53c399000f095c8eca7eb611c5b2c83eeb7c30834a8. Checksum in VNFD is sha-256:b9c3036539fd7a5f87a1bf38eb05fdde8b556a1a7e664dbeda90ed3cd74b4f9d.
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.6/dist-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.6/dist-packages/oslo_messaging/rpc/dispatcher.py", line 273, in dispatch
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.6/dist-packages/oslo_messaging/rpc/dispatcher.py", line 193, in _do_dispatch
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "<decorator-gen-2>", line 2, in instantiate
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/common/coordination.py", line 143, in _synchronized
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server return f(*a, **k)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/conductor/conductor_server.py", line 425, in instantiate
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server instantiate_vnf)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/common/log.py", line 35, in wrapper
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server return method(*args, **kwargs)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/vnflcm/vnflcm_driver.py", line 84, in decorated_function
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server _rollback_vnf(self, context, vnf_instance)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.6/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server self.force_reraise()
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.6/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.6/dist-packages/six.py", line 703, in reraise
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server raise value
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/vnflcm/vnflcm_driver.py", line 73, in decorated_function
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/vnflcm/vnflcm_driver.py", line 242, in instantiate_vnf
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server instantiate_vnf_req)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/vnflcm/vnflcm_driver.py", line 158, in _instantiate_vnf
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server vnf_software_images=vnf_software_images)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/common/driver_manager.py", line 71, in invoke
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server return getattr(driver, method_name)(**kwargs)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/common/log.py", line 35, in wrapper
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server return method(*args, **kwargs)
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server File "/opt/stack/tacker/tacker/vnfm/infra_drivers/openstack/openstack.py", line 679, in pre_instantiation_vnf
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server error=encodeutils.exception_to_unicode(exp))
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server tacker.common.exceptions.VnfPreInstantiationFailed: Vnf '4dd00c66-cd7a-4a17-a802-df010c4ed14e' failed during pre-instantiation due to error: Image 5537f3d8-563e-41ea-b9db-18252782f9ec checksum verification failed. Glance calculated checksum is sha512:9a318acd9d049bbd6a8c662b18be95414b3b1f2e3d27e38e59bf99347193ac2831220aa54296ee35aee8f53c399000f095c8eca7eb611c5b2c83eeb7c30834a8. Checksum in VNFD is sha-256:b9c3036539fd7a5f87a1bf38eb05fdde8b556a1a7e664dbeda90ed3cd74b4f9d.
2020-07-02 06:31:47.365 15240 ERROR oslo_messaging.rpc.server
Fix proposed to branch: master /review. opendev. org/739692
Review: https:/