Symptom
The installation of the standard version of Azure VM extension for SAP fails. Errors include:
- VMExtensionProvisioningError) VM has reported a failure when processing extension 'AzureEnhancedMonitorForLinux' (publisher 'Microsoft.OSTCExtensions' and type 'AzureEnhancedMonitorForLinux'). Error message: 'unsupported operand type(s) for -: 'NoneType' and 'NoneType''.
- Message: The handler for VM extension type 'Microsoft.OSTCExtensions.AzureEnhancedMonitorForLinux' has reported terminal failure for VM extension 'AzureEnhancedMonitorForLinux' with error message: '[ExtensionOperationError] Non-zero exit code: 1, /var/lib/waagent/Microsoft.OSTCExtensions.AzureEnhancedMonitorForLinux-3.0.1.0/installer.py
- File "/var/lib/waagent/Microsoft.OSTCExtensions.AzureEnhancedMonitorForLinux-3.0.1.0/installer.py", line 42
except Exception, e:
^
SyntaxError: invalid syntax
Read more...
Environment
Linux on Microsoft Azure
Product
SAP HANA, platform edition all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions
Keywords
Azure, VM extension, enhanced monitoring, SLES 15.2, installation failure, VMExtensionHandlerNonTransientError, AzureEnhancedMonitorForLinux, ExtensionOperationError, SyntaxError. , KBA , BC-OP-LNX-AZR , Linux on Microsoft Azure , Known Error
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.