Symptom
1. When a user performs a pre-patching check on the CSP OM portal, a message is displayed, indicating that the image of the target version fails to be queried.

Cause
1. The baseline version of the CSP has multiple plans. When the patch is installed, the VNFD upgrade script automatically generates a plan with the same name as that of the target version and updates the parameters of the plan.
2. During concurrent patch check operations, the VNFD upgrade script is insufficient for concurrent processing.
Impact on Services
The CSP Web cannot be installed or upgraded properly.
Identification Method
1. Log in to the LCM WebUI and find the target CSP VNFD,
2. Check whether the template on which the service depends in the generated plan file is updated. Query the plan and name based on the initial deployment information.


Emergency Operations
Step 1 Use the SSH tool to log in to the LCM server as the sopuser user (Changeme_123) and switch to the root user (Changeme_123).

Step 2 Go to the directory where the VNFD plan of the target version to be upgraded is located. (The following is an example. The target VNFD version and number of nodes need to be located. Go to the corresponding VNFD directory based on the actual environment.)
cd /export/home/catalog/vnfd/HUAWEI/1.0/CSP_20.4.0.5_FS_EVS_4NIC_DEPLOYMENT_3NODE/CSP_20.4.0.5_FS_EVS_4NIC_DEPLOYMENT_3NODE/plans
Step 3 Find the names of all plans that are not updated in the template on which the corresponding service depends, edit the plan file, and change the Tosca version number.

Step 4 Restart the LCM service. (Ensure that no NE-related operations are performed on the LCM.)
su ossadm
cd /opt/cloud/manager/agent/bin
./ipmc_adm -cmd restartapp -app VNFMMarginService

Step 5 Modify the VNFD plan on the other LCM node and restart the VNFMMarginService service on the LCM node.
Step 6 Clear the browser cache and check whether the Tosca version has been updated and takes effect in the VNFD plan.
If yes, proceed with the pre-patching check.
If no, contact Huawei technical support.