-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUERY] Can not list VMs: "No ObjectCodec defined for parser, needed for deserialization" #21615
Comments
@yungezz could you take a look? |
thanks @joshfree for routing. HI @weidongxu-microsoft could you look at this issue, is this issue in core libs or specific to vm? thanks. |
Could you let us know your jackson-core version (e.g. via Also could you enable logging (use |
{
"name": "anubis-pool-nv12v3",
"id": "/subscriptions/xxxxxx/resourceGroups/PROJ-ANUBIS-PROD/providers/Microsoft.Compute/virtualMachines/anubis-pool-nv12v3",
"type": "Microsoft.Compute/virtualMachines",
"location": "southcentralus",
"tags": {
"platformsettings.host_environment.service.platform_optedin_for_rootcerts": "true",
"azsecpack": "nonprod"
},
"identity": {
"type": "SystemAssigned, UserAssigned",
"principalId": "xxxxx",
"tenantId": "xxxx",
"userAssignedIdentities": {
"/subscriptions/xxxxxx/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-southcentralus": {
"principalId": "xxxxxx",
"clientId": "xxxxxx"
}
}
},
"properties": {
"vmId": "xxxxxx",
"hardwareProfile": {
"vmSize": "Standard_NC12s_v3"
},
"storageProfile": {
"imageReference": {
"publisher": "Canonical",
"offer": "UbuntuServer",
"sku": "18.04-LTS",
"version": "latest",
"exactVersion": "18.04.202102240"
},
"osDisk": {
"osType": "Linux",
"name": "anubis-pool-nv12v3_OsDisk_1_8a40310f0fc74e81a8045435d4dd7ef0",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"storageAccountType": "Premium_LRS",
"id": "/subscriptions/xxxxxx/resourceGroups/PROJ-ANUBIS-PROD/providers/Microsoft.Compute/disks/anubis-pool-nv12v3_OsDisk_1_8a40310f0fc74e81a8045435d4dd7ef0"
},
"diskSizeGB": 1024
},
"dataDisks": []
},
"osProfile": {
"computerName": "anubis-pool-nv12v3",
"adminUsername": "azureuser",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/azureuser/.ssh/authorized_keys",
"keyData": "ssh-rsa xxxxx generated-by-azure\r\n"
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {
"networkInterfaces": [
{
"id": "/subscriptions/xxxxxx/resourceGroups/proj-anubis-prod/providers/Microsoft.Network/networkInterfaces/anubis-pool-nv12v328"
}
]
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true
}
},
"provisioningState": "Succeeded",
"instanceView": {
"computerName": "anubis-pool-nv12v3",
"osName": "ubuntu",
"osVersion": "18.04",
"vmAgent": {
"vmAgentVersion": "2.2.54.2",
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Ready",
"message": "Guest Agent is running",
"time": "2021-05-18T16:09:48+00:00"
}
],
"extensionHandlers": [
{
"type": "Microsoft.CPlat.Core.LinuxPatchExtension",
"typeHandlerVersion": "1.6.17",
"status": {
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Ready",
"message": "Plugin enabled"
}
},
{
"type": "Microsoft.Azure.Monitor.AzureMonitorLinuxAgent",
"typeHandlerVersion": "1.7.0",
"status": {
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Ready",
"message": "Plugin enabled"
}
},
{
"type": "Microsoft.Azure.Security.Monitoring.AzureSecurityLinuxAgent",
"typeHandlerVersion": "2.14.64",
"status": {
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Ready",
"message": "Plugin enabled"
}
},
{
"type": "Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux",
"typeHandlerVersion": "1.13.35",
"status": {
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Ready",
"message": "Plugin enabled"
}
}
]
},
"patchStatus": {
"availablePatchSummary": {
"assessmentActivityId": "2bc483cd-0644-46c0-8192-9a3b76cf60f5",
"status": "Succeeded",
"startTime": "2021-05-18T06:53:01.7545098+00:00",
"lastModifiedTime": "2021-05-18T06:54:20+00:00",
"criticalAndSecurityPatchCount": 28,
"otherPatchCount": 20,
"rebootPending": false,
"error": {
"details": [],
"code": "0",
"message": "0 error/s reported."
}
}
},
"disks": [
{
"name": "anubis-pool-nv12v3_OsDisk_1_8a40310f0fc74e81a8045435d4dd7ef0",
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"time": "2021-04-28T11:10:57.7337606+00:00"
}
]
}
],
"bootDiagnostics": {},
"extensions": [
{
"name": "Microsoft.Azure.Monitor.AzureMonitorLinuxAgent",
"type": "Microsoft.Azure.Monitor.AzureMonitorLinuxAgent",
"typeHandlerVersion": "1.7.0",
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"message": "Enable succeeded"
}
]
},
{
"name": "Microsoft.Azure.Security.Monitoring.AzureSecurityLinuxAgent",
"type": "Microsoft.Azure.Security.Monitoring.AzureSecurityLinuxAgent",
"typeHandlerVersion": "2.14.64",
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"message": "Enable ASM succeeded"
}
]
},
{
"name": "OmsAgentForLinux",
"type": "Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux",
"typeHandlerVersion": "1.13.35",
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"message": "Enable succeeded"
}
]
}
],
"hyperVGeneration": "V1",
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"time": "2021-05-18T06:53:35.7235474+00:00"
},
{
"code": "PowerState/running",
"level": "Info",
"displayStatus": "VM running"
}
]
}
},
"zones": [
"1"
],
"resources": [
{
"name": "Microsoft.Azure.Monitor.AzureMonitorLinuxAgent",
"id": "/subscriptions/xxxxxx/resourceGroups/PROJ-ANUBIS-PROD/providers/Microsoft.Compute/virtualMachines/anubis-pool-nv12v3/extensions/Microsoft.Azure.Monitor.AzureMonitorLinuxAgent",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "southcentralus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"enableAutomaticUpgrade": true,
"publisher": "Microsoft.Azure.Monitor",
"type": "AzureMonitorLinuxAgent",
"typeHandlerVersion": "1.0",
"settings": {
"GCS_AUTO_CONFIG": true
}
}
},
{
"name": "Microsoft.Azure.Security.Monitoring.AzureSecurityLinuxAgent",
"id": "/subscriptions/xxxxxx/resourceGroups/PROJ-ANUBIS-PROD/providers/Microsoft.Compute/virtualMachines/anubis-pool-nv12v3/extensions/Microsoft.Azure.Security.Monitoring.AzureSecurityLinuxAgent",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "southcentralus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"enableAutomaticUpgrade": true,
"publisher": "Microsoft.Azure.Security.Monitoring",
"type": "AzureSecurityLinuxAgent",
"typeHandlerVersion": "2.0",
"settings": {
"enableGenevaUpload": true
}
}
},
{
"name": "OmsAgentForLinux",
"id": "/subscriptions/xxxxxx/resourceGroups/PROJ-ANUBIS-PROD/providers/Microsoft.Compute/virtualMachines/anubis-pool-nv12v3/extensions/OmsAgentForLinux",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "southcentralus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"publisher": "Microsoft.EnterpriseCloud.Monitoring",
"type": "OmsAgentForLinux",
"typeHandlerVersion": "1.0",
"settings": {
"workspaceId": "xxxxx"
}
}
}
]
} |
The fix on You can explicit include this version of Later when you upgrade PS: guide on possible dependency conflict on azure-core https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/resourcemanager#dependency-management |
Nice. Thank you! |
|
Thank you! |
Short survey for us to hear you: |
Feature/cplat 2022 11 01 (Azure#21571) * add 2022-11-01 folder * update readme, update version reference * Added userData property for PUT Restore Point API Added user data property for PUT Restore Point API * Revert "Added userData property for PUT Restore Point API" This reverts commit 94c96d8ca8586b37a59083efd6357ccf2594dd61. * Reimage Support for Non-Ephemeral VMs (Azure#21090) * Reimage support for non-ephemeral VMs * small changes * small changes * resolving issues * pretty check * pretty install * remove package-lock * remove package-lock * Added userData property in Restore Point PUT API endpoint (Azure#21262) * Added userData property in Restore Point PUT Operation * Update based on review comment * Updated description Co-authored-by: Ashwani Tiwari <[email protected]> * Add OS Image profile to scheduled events profile and maxSurge in rolling upgrade policy in Microsoft.Compute (Azure#21253) * add reimage notification * update reimage notification, add max surge * fix grammar * Adding requireGuestProvisionSignal and constrainedMaximumCapacity mis… (Azure#21433) * Adding requireGuestProvisionSignal and constrainedMaximumCapacity missing properties * Moved the property at the end Co-authored-by: Avaiyang Garg <[email protected]> * Add serviceArtifactReference property (Azure#21607) * Add serviceArtifactReference property * Moved the property inside the virtualMachineScaleSet file * Minor change in example Co-authored-by: Avaiyang Garg <[email protected]> * add platformFaultDomain in instanceView (Azure#21605) * add platformFaultDomain in instanceView * change platformFaultDomain values * add APIVersionPattern Suppression (Azure#21675) Co-authored-by: Theodore Chang <[email protected]> * Adding imageDeprecationStatus properties to VirtualMachineImage response (Azure#21615) * Changes to virtualMachineImage.json to include ImageDeprecationStatus properties * Changes to example json * Fixed LintDiff errors * Addressed review comment * Introduce rollbackFailedInstancesOnPolicyBreach in VMSS RollingUpgradePolicy (Azure#21676) * add property in compute.json * add in 2022 file * add rollbackFailedInstancesOnPolicyBreach in examples * Revert "add property in compute.json" This reverts commit 15a1e10503cc4e34b0b69f351cc8f23339002360. * remove space Co-authored-by: Sachin Doddaiah Shylaja <[email protected]> Co-authored-by: Theodore Chang <[email protected]> * fix spellingCheck error, LintDiff error, model validation, and typo * fix modelValidation * model validation * update headers for examples * model validation errors * model validation * Revert "model validation" This reverts commit d3810a7866a9093b6ef75a57834e1aaeb4e139f3. * Revert "model validation errors" This reverts commit ba34d1b2af2bef58b60c16e9ed1cda00803a2ce0. * Revert "update headers for examples" This reverts commit 216b3dc1367655b8c7867a9d7a772fe7e2fa1583. * Revert "model validation" This reverts commit 285345656321e984bc99486a575e35a4d3359667. * Revert "fix modelValidation" This reverts commit a5fa156d42130566b827df88d6dea4ee591f4a6c. * Revert "fix spellingCheck error, LintDiff error, model validation, and typo" This reverts commit 9f60b71000be72bf4511feefcda0820b570345de. * fix spelling error CI, file name typo, Lint Diff Co-authored-by: Theodore Chang <[email protected]> Co-authored-by: Ashwani Tiwari <[email protected]> Co-authored-by: srcharug <[email protected]> Co-authored-by: csassasin <[email protected]> Co-authored-by: John Zhang <[email protected]> Co-authored-by: avaiyanggarg <[email protected]> Co-authored-by: Avaiyang Garg <[email protected]> Co-authored-by: parahluwalia <[email protected]> Co-authored-by: RajalakshmiSwaminathan <[email protected]> Co-authored-by: Sachin Doddaiah Shylaja <[email protected]> Co-authored-by: Sachin Doddaiah Shylaja <[email protected]>
Query/Question
When I loop the VMs in a certain subscription, I got the following error:
Probably I forgot to include some maven dependencies. Would you please let me which one I should add?
Source code:
Why is this not a Bug or a feature Request?
I don't know if I did something wrong.
Setup (please complete the following information if applicable):
Maven dependencies:
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: