Azure-docs: "unsupported operand type(s) for -: 'NoneType' and 'NoneType'"

Created on 13 Dec 2019  Â·  21Comments  Â·  Source: MicrosoftDocs/azure-docs

I am not able to install the Extension on SLES 15. Is this a known issue?

Set-AzVMAEMExtension : Long running operation failed with status 'Failed'. Additional Info:'VM has reported a failure
when processing extension 'AzureEnhancedMonitorForLinux'. Error message: "unsupported operand type(s) for -:
'NoneType' and 'NoneType'"
More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot '
ErrorCode: VMExtensionProvisioningError
ErrorMessage: VM has reported a failure when processing extension 'AzureEnhancedMonitorForLinux'. Error message:
"unsupported operand type(s) for -: 'NoneType' and 'NoneType'"
More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot
ErrorTarget:
StartTime: 13.12.2019 20:51:26
EndTime: 13.12.2019 20:52:09
OperationID: 89d2cc20-e0dd-481a-9ce5-03893724a3af
Status: Failed
At line:1 char:1

  • Set-AzVMAEMExtension -ResourceGroupName xxxxxx -VMName xxxxx ...
  • ~~~~~~~~~~~~~~~~~

    • CategoryInfo : CloseError: (:) [Set-AzVMAEMExtension], ComputeCloudException

    • FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.SetAzureRmVMAEMExtension


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri3 assigned-to-author product-question triaged virtual-machines-linusvc

All 21 comments

@pbaumgartner please provide a link to the document that you are following so that we can better assist.

@pbaumgartner please provide a link to the document that you are following so that we can better assist.

I execute Set-AzVMAEMExtension -ResourceGroup xxxx -VMname xxxx -OSType Linux as per https://docs.microsoft.com/en-us/powershell/module/az.compute/set-azvmaemextension?view=azps-3.1.0 and https://launchpad.support.sap.com/#/notes/2015553 and https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/deployment-guide?toc=%2Fazure%2Fvirtual-machines%2Flinux%2Ftoc.json#update-the-configuration-of-azure-extension-for-sap and https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/deployment-guide#d98edcd3-f2a1-49f7-b26a-07448ceb60ca

The last two links are most detailed and directly figure out the AZ command.

@MSSedusch please add your comments

@pbaumgartner the extension is currently not supported for SLES 15. We are working on a new version. We will update the guide once it is available.

@MSSedusch Very bad, as this is a prerequisite for having a supported SAP System in Azure, where SLES15 is already certified. Waiting for your news, is there a time expected?

we should be able to release it in Q1/CY20. Sorry for the inconvenience.

@MSSedusch Assigned this issue to you.
Please close the issue once the new extension is released.

We are closing this but once it is supported the doc will be updated. See the above comments for our ETA

please-close

@mimckitt - would it be possible to keep this issue open until it's actually fixed as per the comment form @jakaruna-MSFT? Closing this now and updating documentation at a future point is harder to track and doesn't give an easy way of people to know when it's been fixed - or even when it's actively being worked upon.

I will update this issue once we extension is released. @mimckitt can you reopen? thanks

Is there an update on this?

not yet. I hope to have an update in a few weeks.

Hi @MSSedusch Any update?

@jahobson75 the new Extension and SAP Host Agent are available. We will publish guidance on how to install and troubleshoot the new extension in the next few days.

PublisherName: Microsoft.AzureCAT.AzureEnhancedMonitoring
Type: MonitorX64Windows

@jahobson75 the new Extension and SAP Host Agent are available. We will publish guidance on how to install and troubleshoot the new extension in the next few days.

PublisherName: Microsoft.AzureCAT.AzureEnhancedMonitoring
Type: MonitorX64Windows

Very good news, will you provide that link here?

@pbaumgartner yes, the guidance will be part of the deployment guide. https://docs.microsoft.com/azure/virtual-machines/workloads/sap/deployment-guide

But I will update this issue once the article has been updated.

The updated SAP deployment guide went live yesterday.
http://docs.microsoft.com/azure/virtual-machines/workloads/sap/deployment-guide

The following chapter describe how you can install the new extension using PowerShell or Azure CLI
http://docs.microsoft.com/azure/virtual-machines/workloads/sap/deployment-guide#2ad55a0d-9937-4943-9dd2-69bc2b5d3de0
http://docs.microsoft.com/azure/virtual-machines/workloads/sap/deployment-guide#c8749c24-fada-42ad-b114-f9aae2dc37da

The updated SAP deployment guide went live yesterday.
http://docs.microsoft.com/azure/virtual-machines/workloads/sap/deployment-guide

The following chapter describe how you can install the new extension using PowerShell or Azure CLI
http://docs.microsoft.com/azure/virtual-machines/workloads/sap/deployment-guide#2ad55a0d-9937-4943-9dd2-69bc2b5d3de0
http://docs.microsoft.com/azure/virtual-machines/workloads/sap/deployment-guide#c8749c24-fada-42ad-b114-f9aae2dc37da

@MSSedusch thank you for sharing, i installed the new extension, what was successful, but in SAP ST06 it's still visible as FALSE! and in /var/lib/AzureEnhancedMonitor nothing is visible. no file or so since installation.

image

Did you also update your SAP Host Agent to PL47? It is not yet included in the documentation. I added this information a couple of hours ago and will be part of the published deployment guide tomorrow.

Did you also update your SAP Host Agent to PL47? It is not yet included in the documentation. I added this information a couple of hours ago and will be part of the published deployment guide tomorrow.

good point, hope it's added soon, it's working with the latest version 47.

image

We are currently cleaning up old issues and closing out items that are greater than 90 days old. If an issue is still present, please open a new feedback item on the document so we can prioritize correctly.

please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Favna picture Favna  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

bityob picture bityob  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

varma31 picture varma31  Â·  3Comments