PowerFlex 4.X: MVM deployment through OVA/OVF fails with HttpNfcLeaseState.error
Summary: During PowerFlex management Platform (PFMP) deployment, one or more MVM's fail to deploy using the wizard with the following error "HttpNfcLeaseState.error."
Symptoms
- One or more MVMs fails during PFMP deployment using the wizard with the following error: "HttpNfcLeaseState.error"
- Another symptoms that may be observed in vCenter taken from Broadcom KB article 318566:
1. Deployment of an OVF/OVA template from content library fails with "vim.fault.Timedout" error.
-
-
The timeout error is seen in vpxd.log
-
-- testpyves0 -- ResourcePool.ImportVAppLRO: vim.fault.Timedout:
--> Result:
--> (vim.fault.Timedout) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>
--> msg = ""
--> }
--> Args:
-->
-
-
The error is seen in cls.log
ImportSessionActivity | OVF import session ########-####-####-####-########78bb failed with internal error
(vim.fault.Timedout) {
faultCause = null,
faultMessage = null
}
-
2. Importing a vAPP/VM to a content library fails with "vim.fault.Timedout" error.
-
-
The timeout error is seen in vpxd.log
--> vt_win_2019_202106091610_jk24_fc -- VirtualMachine.ExportVmLRO: vim.fault.Timedout:
--> Result:
--> (vim.fault.Timedout) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>
--> msg = ""
--> }
--> Args: -
Timeout error in cls.log
ExportSessionActivity | OVF export session ########-####-####-####-########ef96 terminated abnormally
(vim.fault.Timedout) {
faultCause = null,
faultMessage = null
-
Cause
Broadcom kb 318566 indicates the following cause for this issue.
Long-running operations by Content Library, which require usage of HttpNfcLease sessions, are encountering cleaned up sessions.
Content Library requires the use of HttpNfcLease in certain operations, like exporting a Virtual Machine to Content Library, or while deploying a Content Library managed OVF item. However, since the data transfer occurs out of band and not on the HttpNfcLease channel, no data transfer is detected on the HttpNfcLease channel, thus causing the channel to expire and get cleaned up, which in turn causes a timeout on the vCenter operation.
By default vCenter Server renews the HttpNfcLease session on Vpxa every 20 minutes.
If the transfers involving Content Library take more than the default 20 minutes, the operation would encounter this timeout error.
Resolution
To resolve the PFMP deployment failure for one or more MVMs using the wizard, perform the following modifications within vCenter.
Click vCenter on the left side UI-> configure -> Advanced Settings ->. Edit settings ->.Find config.httpNfcTicket.timeoutPeriodMinute-> set to 60.Find config.httpNfcTicket.renewalPeriod -> set to 3600.
Click Save"
Additional Information
For a detailed review of the Broadcom KB 318566 see the following link:
Exporting a VM as OVF template to content library or deploying an VM from OVF library item results in timeout error and export/import fails( External Link)