16 views

Description

Deprovisioning fails with following error:
 
"Failed to execute API - Failed with status code and message: undefined: Value for mandatory field is not specified. Please input value for field - NetworkInterfaceID. (ad_hoc:azure-network-1.0-DeleteNetworkInterface; line 10) com.snc.cloud.mgmt.modules.svccatalog.orchestration.BPOException: Failed to execute API - Failed with status code and message: undefined: Value for mandatory field is not specified. Please input value for field - NetworkInterfaceID. (ad_hoc:azure-network-1.0-DeleteNetworkInterface; line 10)\n\tat 
 
This fails due to v1 business rule which deletes vm to nic relationship, so NIC becomes zombie and deletenetworkinterface steps fails as we can't find nicId.
 
Expected:
 
Azure vm deprovisioning should pass. We need to disable "Remove BSM for terminated VM" businessrule once V-2 is activated.

Steps to Reproduce

Setup:
Setup Instance on Istanbul.
Active AWS and azure plugins
Upgrade instance to Kingston or London
Activate CMP V-2.

Steps:
1. setup azure service account, run discovery, create profiles, create simple vm provisioning bluepring, create catalog item
2. Order VM on azure
3. Provisioning works fine.
4. Now deprovision azure stack

Actual:
Deprovisioning fails with following error:

"Failed to execute API - Failed with status code and message: undefined: Value for mandatory field is not specified. Please input value for field - NetworkInterfaceID. (ad_hoc:azure-network-1.0-DeleteNetworkInterface; line 10) com.snc.cloud.mgmt.modules.svccatalog.orchestration.BPOException: Failed to execute API - Failed with status code and message: undefined: Value for mandatory field is not specified. Please input value for field - NetworkInterfaceID. (ad_hoc:azure-network-1.0-DeleteNetworkInterface; line 10)\n\tat

This fails due to v1 business rule which deletes vm to nic relationship, so NIC becomes zombie and deletenetworkinterface steps fails as we can't find nicId.

Expected:
Azure vm deprovisioning should pass.

Workaround

Disable the "Remove BSM for terminated VM" Business Rule once V-2 is activated.


Related Problem: PRB1262949

Seen In

There is no data to report.

Intended Fix Version

Kingston Patch 6
London

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-05-10 23:01:38
Published:2018-04-23