This patch fixes instantiate rollback operation fails for
Terraform infra-driver. The main fixes are as follows:
- Change it to use "InstantiateVnfRequest" instead of
"instantiatedVnfInfo". This is for bug fixes.
- Organized the conditions for call of terminate function.
This is because terminate operation fails depending on
the timing of the failure.
Also, functional test for instantiate rollback operation is not
implemented in current Terraform infra-driver, so add it.
Reviewed: https:/ /review. opendev. org/c/openstack /tacker/ +/899110 /opendev. org/openstack/ tacker/ commit/ f40a63e49cd762c 8774492b0139f17 3dbb94bf0f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f40a63e49cd762c 8774492b0139f17 3dbb94bf0f
Author: Naoaki Horie <email address hidden>
Date: Wed Oct 25 01:47:11 2023 +0000
Fix Terraform infra-driver instantiate rollback
This patch fixes instantiate rollback operation fails for
Terraform infra-driver. The main fixes are as follows:
- Change it to use "InstantiateVnf Request" instead of instantiatedVnf Info". This is for bug fixes.
"
- Organized the conditions for call of terminate function.
This is because terminate operation fails depending on
the timing of the failure.
Also, functional test for instantiate rollback operation is not
implemented in current Terraform infra-driver, so add it.
Closes-Bug: #2040338 abfa5358ea68df0 cf92bc9c17f
Change-Id: Id22a77da5825ed