Skip to content

extension to mount encrypted drive not working correctly in my test.  #22927

@toddhammer

Description

@toddhammer

Hey everyone.
I was testing the script to rescue encrypted disks on Linux.
The VM was ubuntu 20.04 with a single data disk.
I ran the az cli command on both powershell and bin/bash, both in Azure Cloud shell. Neither worked correctly.
Here is the command I ran: az vm repair create --name vm1 --resource-group NETWORKTEST --repair-password P@ssw0rd1234 --repair-username thammer --repair-vm-name myrescuevm --unlock-encrypted-vm --verbose --debug

The command runs successfully, but does NOT mount the drive to the rescue VM. The disk is attached, but no mount folder.

Here is the full log:

PS /home/todd> az vm repair create --name vm1 --resource-group NETWORKTEST --repair-password P@ssw0rd1234 --repair-username thammer --repair-vm-name myrescuevm --unlock-encrypted-vm --verbose --debug
cli.knack.cli: Command arguments: ['vm', 'repair', 'create', '--name', 'vm1', '--resource-group', 'NETWORKTEST', '--repair-password', 'P@ssw0rd1234', '--repair-username', 'thammer', '--repair-vm-name', 'myrescuevm', '--unlock-encrypted-vm', '--verbose', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f8528effd00>, <function OutputProducer.on_global_arguments at 0x7f8528c64550>, <function CLIQuery.on_global_arguments at 0x7f8528c99750>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'vm': ['azure.cli.command_modules.vm', 'azext_vm_repair']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: vm 0.129 54 279
cli.azure.cli.core: Total (1) 0.129 54 279
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name Load Time Groups Commands Directory
cli.azure.cli.core: vm-repair 0.006 2 4 /home/todd/.azure/cliextensions/vm-repair
cli.azure.cli.core: ai-examples 0.081 1 1 /opt/az/lib/python3.10/site-packages/azure-cli-extensions/ai-examples
cli.azure.cli.core: Total (2) 0.087 3 5
cli.azure.cli.core: Loaded 56 groups, 284 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : vm repair create
cli.azure.cli.core: Command table: vm repair create
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f8528387400>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/todd/.azure/commands/2022-06-17.15-56-53.vm_repair_create.156.log'.
az_command_data_logger: command args: vm repair create --name {} --resource-group {} --repair-password {} --repair-username {} --repair-vm-name {} --unlock-encrypted-vm --verbose --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7f8528190e50>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7f85282592d0>, <function register_cache_arguments..add_cache_arguments at 0x7f85282593f0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f8528c645e0>, <function CLIQuery.handle_query_parameter at 0x7f8528c997e0>, <function register_ids_argument..parse_ids_arguments at 0x7f8528259360>]
az_command_data_logger: extension name: vm-repair
az_command_data_logger: extension version: 0.4.2
urllib3.connectionpool: Starting new HTTPS connection (1): aka.ms:443
urllib3.connectionpool: https://aka.ms:443 "GET /azure-cli-extension-index-v1 HTTP/1.1" 301 0
urllib3.connectionpool: Starting new HTTPS connection (1): azcliextensionsync.blob.core.windows.net:443
urllib3.connectionpool: https://azcliextensionsync.blob.core.windows.net:443 "GET /index1/index.json HTTP/1.1" 200 1886836
cli.azext_vm_repair.repair_utils: The vm-repair extension is not up to date, please update with az extension update -n vm-repair
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ComputeManagementClient
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2356
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: MSIAuthenticationWrapper.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2356
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: Normalize expires_on: '1655486128' -> 1655486128
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2022-03-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '1b1aed7c-ee56-11ec-a208-d24179369faf'
cli.azure.cli.core.sdk.policies: 'CommandName': 'vm repair create'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --repair-password --repair-username --repair-vm-name --unlock-encrypted-vm --verbose --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.37.0 (DEB) azsdk-python-azure-mgmt-compute/27.0.0 Python/3.10.4 (Linux-5.4.0-1085-azure-x86_64-with-glibc2.28) cloud-shell/1.0'
cli.azure.cli.core.sdk.policies: 'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2022-03-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31993'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '26851dd2-aceb-45e4-9337-348a1a2c7cac'
cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11998'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'e83a414c-ab0a-4c6b-a116-2ca88689d4e2'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20220617T155654Z:e83a414c-ab0a-4c6b-a116-2ca88689d4e2'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 17 Jun 2022 15:56:54 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
"name": "vm1",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1",
"type": "Microsoft.Compute/virtualMachines",
"location": "eastus",
"properties": {
"vmId": "e1e9b60b-b104-4f50-b080-35216b758523",
"hardwareProfile": {
"vmSize": "Standard_D2as_v4"
},
"storageProfile": {
"imageReference": {
"publisher": "canonical",
"offer": "0001-com-ubuntu-server-focal",
"sku": "20_04-lts-gen2",
"version": "latest",
"exactVersion": "20.04.202206100"
},
"osDisk": {
"osType": "Linux",
"name": "vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14"
},
"deleteOption": "Delete"
},
"dataDisks": [
{
"lun": 0,
"name": "vm1data",
"createOption": "Attach",
"caching": "ReadOnly",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1data"
},
"deleteOption": "Detach",
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "vm1",
"adminUsername": "azureuser",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/azureuser/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqgWHULE5nNolZbEghBypg/H8tD4B3uX6pjNke23leWdjtD3M4bBk8GbBBt+PnWDDEqToGGKjE4Iys7t2zSMaoSJBzTUh7LNLewKpiugFhrYXIP2Hiq+UBdL8YdqTqA4hO01GjmyJypqiPGHidIgj+liJ1p/X3OSbzCRkMkFuh9fEFZ2WbkSFOTzOPflEBKCEjsq5C33XGTGyw6KCnMJvvFSKrZRUy4IC8BYXDIjj+TKvNGSEHxvFOseuiJ/DfdD8AMl26aOAXDMO1Ddd1sCZUQfVFmtM1GSd6IohlJ4jJ6HxhwhGIckxlFNNkVpy4kIIc1QBKTxKSnZDN4xWWYDzhXiDfBSF3BP06SQ3ZantEUwo2c1PUZbpu1L/TEBm6Ckv5eDiPEIzYAVeqiZuicSpk6OCA4A8wRXVVzEHEy41RTzOo18V3k6JGTxng39QPMLynvF8jD6zXyGM3B7zDQ9lQJdo6hAP9sJlCuIgdz0OHPdfx5S15U7jjmDZFx0xRAw+4AT8X7rxAB3VrEgpUqAlDLyv0dnTNsw5CdjjskdMfzAxegG64jE3/vyJJMCPYVZvtW2bUwt/CLCmF+khpzTSyZEhGGmjoZik+mKhaS7KlQvXKmEQl5VJTZOsQHhrnPK/t0osoSQOqefjq7bkRSVePqRXgMAWeHUxiPBnOtx9VmQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault",
"assessmentMode": "ImageDefault"
},
"enableVMAgentPlatformUpdates": false
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/networktest/providers/Microsoft.Network/networkInterfaces/vm1173","properties":{"deleteOption":"Detach"}}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true
}
},
"provisioningState": "Succeeded",
"timeCreated": "2022-06-13T20:46:04.2054921+00:00"
},
"resources": [
{
"name": "AzureDiskEncryptionForLinux",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1/extensions/AzureDiskEncryptionForLinux",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "eastus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"publisher": "Microsoft.Azure.Security",
"type": "AzureDiskEncryptionForLinux",
"typeHandlerVersion": "1.1",
"settings": {"KeyVaultURL":"https://networktestkeyvault.vault.azure.net","VolumeType":"ALL","EncryptionOperation":"EnableEncryption","KeyEncryptionKeyURL":null,"KeyEncryptionAlgorithm":"RSA-OAEP","SequenceVersion":"f4e72a23-dbd4-434f-9388-c45e19b04939","KeyVaultResourceId":"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.KeyVault/vaults/networktestkeyvault","KekVaultResourceId":""}
}
},
{
"name": "OMSAgentForLinux",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1/extensions/OMSAgentForLinux",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "eastus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"publisher": "Microsoft.EnterpriseCloud.Monitoring",
"type": "OmsAgentForLinux",
"typeHandlerVersion": "1.13",
"settings": {"workspaceId":"0bfca40c-6d0d-443c-884c-d1b407bed835","stopOnMultipleConnections":"true"}
}
}
]
}
cli.azext_vm_repair.repair_utils: Calling: az disk show --id /subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14 --query [encryptionSettingsCollection,encryptionSettingsCollection.encryptionSettings[].diskEncryptionKey.sourceVault.id,encryptionSettingsCollection.encryptionSettings[].keyEncryptionKey.keyUrl,encryptionSettingsCollection.encryptionSettings[].diskEncryptionKey.secretUrl] -o json
cli.azext_vm_repair.repair_utils: Success.

Does repair vm requires public ip? (y/n): y
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ComputeManagementClient
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2356
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: MSIAuthenticationWrapper.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2356
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: Normalize expires_on: '1655486128' -> 1655486128
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2022-03-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '1b1aed7c-ee56-11ec-a208-d24179369faf'
cli.azure.cli.core.sdk.policies: 'CommandName': 'vm repair create'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --repair-password --repair-username --repair-vm-name --unlock-encrypted-vm --verbose --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.37.0 (DEB) azsdk-python-azure-mgmt-compute/27.0.0 Python/3.10.4 (Linux-5.4.0-1085-azure-x86_64-with-glibc2.28) cloud-shell/1.0'
cli.azure.cli.core.sdk.policies: 'Authorization': ''
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2022-03-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31991'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '3b3b5d9e-87d3-43bc-bda3-4852d3497961'
cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11997'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '42193a99-02b7-44da-a94a-094e901acbaf'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20220617T155702Z:42193a99-02b7-44da-a94a-094e901acbaf'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 17 Jun 2022 15:57:02 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
"name": "vm1",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1",
"type": "Microsoft.Compute/virtualMachines",
"location": "eastus",
"properties": {
"vmId": "e1e9b60b-b104-4f50-b080-35216b758523",
"hardwareProfile": {
"vmSize": "Standard_D2as_v4"
},
"storageProfile": {
"imageReference": {
"publisher": "canonical",
"offer": "0001-com-ubuntu-server-focal",
"sku": "20_04-lts-gen2",
"version": "latest",
"exactVersion": "20.04.202206100"
},
"osDisk": {
"osType": "Linux",
"name": "vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14"
},
"deleteOption": "Delete"
},
"dataDisks": [
{
"lun": 0,
"name": "vm1data",
"createOption": "Attach",
"caching": "ReadOnly",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1data"
},
"deleteOption": "Detach",
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "vm1",
"adminUsername": "azureuser",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/azureuser/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqgWHULE5nNolZbEghBypg/H8tD4B3uX6pjNke23leWdjtD3M4bBk8GbBBt+PnWDDEqToGGKjE4Iys7t2zSMaoSJBzTUh7LNLewKpiugFhrYXIP2Hiq+UBdL8YdqTqA4hO01GjmyJypqiPGHidIgj+liJ1p/X3OSbzCRkMkFuh9fEFZ2WbkSFOTzOPflEBKCEjsq5C33XGTGyw6KCnMJvvFSKrZRUy4IC8BYXDIjj+TKvNGSEHxvFOseuiJ/DfdD8AMl26aOAXDMO1Ddd1sCZUQfVFmtM1GSd6IohlJ4jJ6HxhwhGIckxlFNNkVpy4kIIc1QBKTxKSnZDN4xWWYDzhXiDfBSF3BP06SQ3ZantEUwo2c1PUZbpu1L/TEBm6Ckv5eDiPEIzYAVeqiZuicSpk6OCA4A8wRXVVzEHEy41RTzOo18V3k6JGTxng39QPMLynvF8jD6zXyGM3B7zDQ9lQJdo6hAP9sJlCuIgdz0OHPdfx5S15U7jjmDZFx0xRAw+4AT8X7rxAB3VrEgpUqAlDLyv0dnTNsw5CdjjskdMfzAxegG64jE3/vyJJMCPYVZvtW2bUwt/CLCmF+khpzTSyZEhGGmjoZik+mKhaS7KlQvXKmEQl5VJTZOsQHhrnPK/t0osoSQOqefjq7bkRSVePqRXgMAWeHUxiPBnOtx9VmQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault",
"assessmentMode": "ImageDefault"
},
"enableVMAgentPlatformUpdates": false
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/networktest/providers/Microsoft.Network/networkInterfaces/vm1173","properties":{"deleteOption":"Detach"}}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true
}
},
"provisioningState": "Succeeded",
"timeCreated": "2022-06-13T20:46:04.2054921+00:00"
},
"resources": [
{
"name": "AzureDiskEncryptionForLinux",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1/extensions/AzureDiskEncryptionForLinux",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "eastus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"publisher": "Microsoft.Azure.Security",
"type": "AzureDiskEncryptionForLinux",
"typeHandlerVersion": "1.1",
"settings": {"KeyVaultURL":"https://networktestkeyvault.vault.azure.net","VolumeType":"ALL","EncryptionOperation":"EnableEncryption","KeyEncryptionKeyURL":null,"KeyEncryptionAlgorithm":"RSA-OAEP","SequenceVersion":"f4e72a23-dbd4-434f-9388-c45e19b04939","KeyVaultResourceId":"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.KeyVault/vaults/networktestkeyvault","KekVaultResourceId":""}
}
},
{
"name": "OMSAgentForLinux",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1/extensions/OMSAgentForLinux",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "eastus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"publisher": "Microsoft.EnterpriseCloud.Monitoring",
"type": "OmsAgentForLinux",
"typeHandlerVersion": "1.13",
"settings": {"workspaceId":"0bfca40c-6d0d-443c-884c-d1b407bed835","stopOnMultipleConnections":"true"}
}
}
]
}
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ComputeManagementClient
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2356
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: MSIAuthenticationWrapper.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2356
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: Normalize expires_on: '1655486128' -> 1655486128
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2022-03-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '1b1aed7c-ee56-11ec-a208-d24179369faf'
cli.azure.cli.core.sdk.policies: 'CommandName': 'vm repair create'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --repair-password --repair-username --repair-vm-name --unlock-encrypted-vm --verbose --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.37.0 (DEB) azsdk-python-azure-mgmt-compute/27.0.0 Python/3.10.4 (Linux-5.4.0-1085-azure-x86_64-with-glibc2.28) cloud-shell/1.0'
cli.azure.cli.core.sdk.policies: 'Authorization': '
'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2022-03-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31990'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '82ad298c-0a1d-40f6-a8f6-bcdbbb543998'
cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '931db666-2652-4ab9-b669-eace93ec1f34'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20220617T155702Z:931db666-2652-4ab9-b669-eace93ec1f34'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 17 Jun 2022 15:57:02 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
"name": "vm1",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1",
"type": "Microsoft.Compute/virtualMachines",
"location": "eastus",
"properties": {
"vmId": "e1e9b60b-b104-4f50-b080-35216b758523",
"hardwareProfile": {
"vmSize": "Standard_D2as_v4"
},
"storageProfile": {
"imageReference": {
"publisher": "canonical",
"offer": "0001-com-ubuntu-server-focal",
"sku": "20_04-lts-gen2",
"version": "latest",
"exactVersion": "20.04.202206100"
},
"osDisk": {
"osType": "Linux",
"name": "vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14",
"createOption": "FromImage",
"caching": "ReadWrite",
"managedDisk": {
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14"
},
"deleteOption": "Delete"
},
"dataDisks": [
{
"lun": 0,
"name": "vm1data",
"createOption": "Attach",
"caching": "ReadOnly",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1data"
},
"deleteOption": "Detach",
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "vm1",
"adminUsername": "azureuser",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/azureuser/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqgWHULE5nNolZbEghBypg/H8tD4B3uX6pjNke23leWdjtD3M4bBk8GbBBt+PnWDDEqToGGKjE4Iys7t2zSMaoSJBzTUh7LNLewKpiugFhrYXIP2Hiq+UBdL8YdqTqA4hO01GjmyJypqiPGHidIgj+liJ1p/X3OSbzCRkMkFuh9fEFZ2WbkSFOTzOPflEBKCEjsq5C33XGTGyw6KCnMJvvFSKrZRUy4IC8BYXDIjj+TKvNGSEHxvFOseuiJ/DfdD8AMl26aOAXDMO1Ddd1sCZUQfVFmtM1GSd6IohlJ4jJ6HxhwhGIckxlFNNkVpy4kIIc1QBKTxKSnZDN4xWWYDzhXiDfBSF3BP06SQ3ZantEUwo2c1PUZbpu1L/TEBm6Ckv5eDiPEIzYAVeqiZuicSpk6OCA4A8wRXVVzEHEy41RTzOo18V3k6JGTxng39QPMLynvF8jD6zXyGM3B7zDQ9lQJdo6hAP9sJlCuIgdz0OHPdfx5S15U7jjmDZFx0xRAw+4AT8X7rxAB3VrEgpUqAlDLyv0dnTNsw5CdjjskdMfzAxegG64jE3/vyJJMCPYVZvtW2bUwt/CLCmF+khpzTSyZEhGGmjoZik+mKhaS7KlQvXKmEQl5VJTZOsQHhrnPK/t0osoSQOqefjq7bkRSVePqRXgMAWeHUxiPBnOtx9VmQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault",
"assessmentMode": "ImageDefault"
},
"enableVMAgentPlatformUpdates": false
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/networktest/providers/Microsoft.Network/networkInterfaces/vm1173","properties":{"deleteOption":"Detach"}}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true
}
},
"provisioningState": "Succeeded",
"instanceView": {
"disks": [
{
"name": "vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14",
"encryptionSettings": [
{
"enabled": true,
"diskEncryptionKey": {
"sourceVault": {
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.KeyVault/vaults/networktestkeyvault"
},
"secretUrl": "https://networktestkeyvault.vault.azure.net/secrets/c490b6ef-7828-4154-82d9-9d98cbd6ca6e/5729370263ff40cbb1dd45ebe469b5eb"
}
}
],
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"time": "2022-06-17T07:13:36.7093251+00:00"
},
{
"code": "EncryptionState/encrypted",
"level": "Info",
"displayStatus": "Encryption is enabled on disk"
}
]
},
{
"name": "vm1data",
"encryptionSettings": [
{
"enabled": true,
"diskEncryptionKey": {
"sourceVault": {
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.KeyVault/vaults/networktestkeyvault"
},
"secretUrl": "https://networktestkeyvault.vault.azure.net/secrets/c490b6ef-7828-4154-82d9-9d98cbd6ca6e/41775d5bd8a24c83869d9fcabd07bd8c"
}
}
],
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"time": "2022-06-17T07:13:36.7093251+00:00"
},
{
"code": "EncryptionState/encrypted",
"level": "Info",
"displayStatus": "Encryption is enabled on disk"
}
]
}
],
"bootDiagnostics": {},
"hyperVGeneration": "V2",
"statuses": [
{
"code": "ProvisioningState/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"time": "2022-06-17T07:13:36.7249537+00:00"
},
{
"code": "PowerState/deallocated",
"level": "Info",
"displayStatus": "VM deallocated"
}
]
},
"timeCreated": "2022-06-13T20:46:04.2054921+00:00"
},
"resources": [
{
"name": "AzureDiskEncryptionForLinux",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1/extensions/AzureDiskEncryptionForLinux",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "eastus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"publisher": "Microsoft.Azure.Security",
"type": "AzureDiskEncryptionForLinux",
"typeHandlerVersion": "1.1",
"settings": {"KeyVaultURL":"https://networktestkeyvault.vault.azure.net","VolumeType":"ALL","EncryptionOperation":"EnableEncryption","KeyEncryptionKeyURL":null,"KeyEncryptionAlgorithm":"RSA-OAEP","SequenceVersion":"f4e72a23-dbd4-434f-9388-c45e19b04939","KeyVaultResourceId":"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.KeyVault/vaults/networktestkeyvault","KekVaultResourceId":""}
}
},
{
"name": "OMSAgentForLinux",
"id": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/virtualMachines/vm1/extensions/OMSAgentForLinux",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "eastus",
"properties": {
"autoUpgradeMinorVersion": true,
"provisioningState": "Succeeded",
"publisher": "Microsoft.EnterpriseCloud.Monitoring",
"type": "OmsAgentForLinux",
"typeHandlerVersion": "1.13",
"settings": {"workspaceId":"0bfca40c-6d0d-443c-884c-d1b407bed835","stopOnMultipleConnections":"true"}
}
}
]
}
cli.azext_vm_repair.repair_utils: Checking if source VM size is available...
cli.azext_vm_repair.repair_utils: Calling: az vm list-skus -s Standard_D2as_v4 -l eastus --query [].name -o tsv
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.repair_utils: Source VM size 'Standard_D2as_v4' is available. Using it to create repair VM.

cli.azext_vm_repair.custom: Creating resource group for repair VM and its resources...
cli.azext_vm_repair.repair_utils: Calling: az group create -l eastus -n repair-vm1-20220617155654
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.custom: Source VM uses managed disks. Creating repair VM with managed disks.

cli.azext_vm_repair.repair_utils: Calling: az disk show -g NETWORKTEST -n vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14 --query [sku.name,location,osType,hyperVGeneration] -o json
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.custom: Copying OS disk of source VM...
cli.azext_vm_repair.repair_utils: Calling: az disk create -g NETWORKTEST -n vm1-DiskCopy-20220617155654 --source vm1_OsDisk_1_04a5be6f7ee94ee89c4d04d1c9135d14 --sku Standard_LRS --location eastus --os-type Linux --query id -o tsv --hyper-v-generation V2
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.custom: Validating VM template before continuing...
cli.azext_vm_repair.repair_utils: Calling: az vm create -g repair-vm1-20220617155654 -n myrescuevm --tag repair_source=NETWORKTEST/vm1 --image UbuntuLTS --admin-username ******** --admin-password ******** --public-ip-address yes --custom-data /home/todd/.azure/cliextensions/vm-repair/azext_vm_repair/scripts/linux-build_setup-cloud-init.txt --size Standard_D2as_v4 --validate
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.custom: Creating repair VM...
cli.azext_vm_repair.repair_utils: Calling: az vm create -g repair-vm1-20220617155654 -n myrescuevm --tag repair_source=NETWORKTEST/vm1 --image UbuntuLTS --admin-username ******** --admin-password ******** --public-ip-address yes --custom-data /home/todd/.azure/cliextensions/vm-repair/azext_vm_repair/scripts/linux-build_setup-cloud-init.txt --size Standard_D2as_v4
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.custom: Attaching copied disk to repair VM as data disk...
cli.azext_vm_repair.repair_utils: Calling: az vm disk attach -g repair-vm1-20220617155654 --name /subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1-DiskCopy-20220617155654 --vm-name myrescuevm
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.repair_utils: Unlocking attached copied disk...
cli.azext_vm_repair.repair_utils: Calling: az vm run-command invoke -g repair-vm1-20220617155654 -n myrescuevm --command-id RunShellScript --scripts @"/home/todd/.azure/cliextensions/vm-repair/azext_vm_repair/scripts/linux-mount-encrypted-disk.sh" -o json
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.custom: Unlock script STDOUT:

cli.azext_vm_repair.repair_utils: Fetching resources in resource group...
cli.azext_vm_repair.repair_utils: Calling: az resource list --resource-group repair-vm1-20220617155654 --query [].id -o json
cli.azext_vm_repair.repair_utils: Success.

cli.azext_vm_repair.custom:
Your repair VM 'myrescuevm' has been created in the resource group 'repair-vm1-20220617155654' with disk 'vm1-DiskCopy-20220617155654' attached as data disk. Please use this VM to troubleshoot and repair. Once the repairs are complete use the command 'az vm repair restore -n vm1 -g NETWORKTEST --verbose' to restore disk to the source VM. Note that the copied disk is created within the original resource group 'NETWORKTEST'.

cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7f85281d16c0>, <function _x509_from_base64_to_hex_transform at 0x7f85281d1750>]
cli.knack.cli: Event: CommandInvoker.OnFilterResult []
{
"copied_disk_name": "vm1-DiskCopy-20220617155654",
"copied_disk_uri": "/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1-DiskCopy-20220617155654",
"created_resources": [
"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/repair-vm1-20220617155654/providers/Microsoft.Network/virtualNetworks/myrescuevmVNET",
"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/repair-vm1-20220617155654/providers/Microsoft.Network/publicIPAddresses/yes",
"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/repair-vm1-20220617155654/providers/Microsoft.Network/networkSecurityGroups/myrescuevmNSG",
"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/repair-vm1-20220617155654/providers/Microsoft.Network/networkInterfaces/myrescuevmVMNic",
"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/repair-vm1-20220617155654/providers/Microsoft.Compute/virtualMachines/myrescuevm",
"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/REPAIR-VM1-20220617155654/providers/Microsoft.Compute/disks/myrescuevm_OsDisk_1_de0fde635c6e4037ae39e5ce2f3597ae",
"/subscriptions/42d1afef-8200-4ad5-bf01-ed399582559b/resourceGroups/NETWORKTEST/providers/Microsoft.Compute/disks/vm1-DiskCopy-20220617155654"
],
"message": "Your repair VM 'myrescuevm' has been created in the resource group 'repair-vm1-20220617155654' with disk 'vm1-DiskCopy-20220617155654' attached as data disk. Please use this VM to troubleshoot and repair. Once the repairs are complete use the command 'az vm repair restore -n vm1 -g NETWORKTEST --verbose' to restore disk to the source VM. Note that the copied disk is created within the original resource group 'NETWORKTEST'.",
"repair_resource_group": "repair-vm1-20220617155654",
"repair_vm_name": "myrescuevm",
"resource_tag": "repair_source=NETWORKTEST/vm1",
"status": "SUCCESS"
}
cli.knack.cli: Event: Cli.SuccessfulExecute []
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f8528387640>]
az_command_data_logger: exit code: 0
cli.main: Command ran in 166.804 seconds (init: 0.112, invoke: 166.692)
telemetry.save: Save telemetry record of length 3181 in cache
telemetry.check: Negative: The /home/todd/.azure/telemetry.txt was modified at 2022-06-17 15:56:29.655267, which in less than 600.000000 s
PS /home/todd>


After SSH to the new rescue vm

root@myrescuevm:/home/thammer# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 16G 0 disk
└─sda1 8:1 0 16G 0 part /mnt
sdb 8:16 0 30G 0 disk
├─sdb1 8:17 0 29.9G 0 part /
├─sdb14 8:30 0 4M 0 part
└─sdb15 8:31 0 106M 0 part /boot/efi
sdc 8:32 0 30G 0 disk
├─sdc1 8:33 0 29.7G 0 part
├─sdc2 8:34 0 256M 0 part
├─sdc14 8:46 0 4M 0 part
└─sdc15 8:47 0 106M 0 part
sr0 11:0 1 632K 0 rom


contents of fstab:
root@myrescuevm:/home/thammer# cat /etc/fstab

CLOUD_IMG: This file was created/modified by the Cloud Image build process

UUID=7e3183a6-1836-49fe-9fd1-f525f80282bc / ext4 defaults,discard 0 1
UUID=05D1-3CF8 /boot/efi vfat umask=0077 0 1
/dev/disk/cloud/azure_resource-part1 /mnt auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2


Document Details

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

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botCXP AttentionThis issue is handled by CXP team.Computeaz vm/vmss/image/disk/snapshotcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-author-feedbackMore information is needed from author to address the issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions