Closed sbonds closed 2 years ago
This is associated with Microsoft case 120103021000071.
hi @qwordy could you pls help to have a look? this is from a customer case, thanks
@sbonds Can you run az vm disk attach --vm-name "someazurehostname" --caching "None" --sku Premium_LRS --ids $disks_to_attach --debug
and send output here? Logs are helpful for me to debug. I am also doing experiments and analyzing source code.
Thank you for reporting it. I confirm this problem exists. This feature is not supported yet. It calls this function for each ID at the same time. So the next lun is the same. Hence, conflict. --ids is a global parameter. We have not adapted it to this command. I will explicitly state it in --ids
help of this command. This piece of code was written long time ago. Mark it as feature request. You can let the customer to use a for-loop to attach them one by one for now.
It sounds like you understood the problem very well based on your own testing, however I'll add a comment with a detailed description of how to replicate the issue and associated debug logs.
export MY_IP_ADDRESS=$(dig TXT +short o-o.myaddr.l.google.com | sed 's/\"//g')
export AZURE_SUBSCRIPTION="Visual Studio Enterprise"
export AZURE_LOCATION="westus2"
export AZURE_RESOURCE_GROUP="bug-demo-az-vm-disk-add"
export AZURE_VNET_NAME="vnet-bug-demo"
export AZURE_VNET_PREFIX="10.42.0.0/16"
export AZURE_SUBNET_NAME="subnet-bug-demo"
export AZURE_SUBNET_PREFIX="10.42.42.0/24"
export AZURE_NSG_NAME="nsg-bug-demo"
export AZURE_STORAGE_ACCOUNT="bugdemoazvmdiskadd"
export AZURE_VM_NAME="bug-demo-vm"
export AZURE_ADMIN_USERNAME="sbonds"
export AZURE_TEST_CLIENT_SSH_AUTHORIZED_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
unset DISPLAY
az login
az account set --subscription "$AZURE_SUBSCRIPTION"
az group create --location "$AZURE_LOCATION" --name "$AZURE_RESOURCE_GROUP"
az storage account create --subscription "$AZURE_SUBSCRIPTION" \
--name "$AZURE_STORAGE_ACCOUNT" \
--resource-group "$AZURE_RESOURCE_GROUP" \
--location "$AZURE_LOCATION" \
--kind "StorageV2" \
--sku "Standard_LRS"
az network vnet create --name "$AZURE_VNET_NAME" \
--location "$AZURE_LOCATION" --resource-group "$AZURE_RESOURCE_GROUP" \
--address-prefixes "$AZURE_VNET_PREFIX" \
--subnet-name "$AZURE_SUBNET_NAME" \
--subnet-prefixes "$AZURE_SUBNET_PREFIX"
Allow SSH from your own IP.
az network nsg create --name "$AZURE_NSG_NAME" \
--location "$AZURE_LOCATION" \
--resource-group "$AZURE_RESOURCE_GROUP"
az network nsg rule create --name "allowIncomingSSH" \
--nsg-name "$AZURE_NSG_NAME" \
--resource-group "$AZURE_RESOURCE_GROUP" \
--access Allow \
--description "Allow SSH inbound from public IP" \
--priority 100 \
--direction "Inbound" \
--protocol Tcp \
--destination-port-ranges 22 \
--source-address-prefixes "$MY_IP_ADDRESS/32"
az network vnet subnet update --vnet-name "$AZURE_VNET_NAME" \
--name "$AZURE_SUBNET_NAME" \
--resource-group "$AZURE_RESOURCE_GROUP" \
--network-security-group "$AZURE_NSG_NAME"
vm_subnet_id=$(az network vnet subnet show --name "$AZURE_SUBNET_NAME" \
--vnet-name "$AZURE_VNET_NAME" \
--resource-group "$AZURE_RESOURCE_GROUP" \
--query 'id' -o tsv)
az vm create --name "$AZURE_VM_NAME" \
--resource-group "$AZURE_RESOURCE_GROUP" \
--admin-username "$AZURE_ADMIN_USERNAME" \
--image "RedHat:RHEL:8-lvm-gen2:latest" \
--subnet "$vm_subnet_id" \
--nsg '' \
--size Standard_B8ms \
--boot-diagnostics-storage "$AZURE_STORAGE_ACCOUNT" \
--ssh-key-values "$AZURE_TEST_CLIENT_SSH_AUTHORIZED_KEY"
Use a B8ms size to allow up to 16 disks to be attached.
az vm deallocate --name "$AZURE_VM_NAME" \
--resource-group "$AZURE_RESOURCE_GROUP"
Since this is just an attach demo, the disk size can be small. The choice of the number of disks is somewhat arbitrary, but needs to be 2 or more to demonstrate the bug in the attach process.
for LUN in 0 1 2 3 4 5; do \
az disk create --name "${AZURE_VM_NAME}_LUN${LUN}" \
--resource-group "$AZURE_RESOURCE_GROUP" \
--size-gb 4 \
--sku Premium_LRS;
done
disks_to_attach=$(az disk list --resource-group "$AZURE_RESOURCE_GROUP" --query "[? contains(name,'${AZURE_VM_NAME}_LUN')].id" -o tsv)
az vm disk attach --vm-name "$AZURE_VM_NAME" \
--caching "None" \
--sku Premium_LRS \
--ids $disks_to_attach \
--debug 2>&1 | tee az-vm-disk-attach-debug.txt
Command arguments: ['vm', 'disk', 'attach', '--vm-name', 'bug-demo-vm', '--caching', 'None', '--sku', 'Premium_LRS', '--ids', '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN0', '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN1', '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2', '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN3', '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN4', '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN5', '--debug']
Event: Cli.PreExecute []
Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f9ebb6ebea0>, <function OutputProducer.on_global_arguments at 0x7f9ebb21c510>, <function CLIQuery.on_global_arguments at 0x7f9ebafc18c8>]
Event: CommandInvoker.OnPreCommandTableCreate []
Modules found from index for 'vm': ['azure.cli.command_modules.vm']
Loading command modules:
Name Load Time Groups Commands
vm 0.197 43 219
Total (1) 0.197 43 219
Loaded 43 groups, 219 commands.
Found a match in the command table.
Raw command : vm disk attach
Command table: vm disk attach
Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f9eba640950>]
az_command_data_logger : command args: vm disk attach --vm-name {} --caching {} --sku {} --ids {} {} {} {} {} {} --debug
metadata file logging enabled - writing logs to '/home/sbonds_adm/.azure/commands'.
Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7f9eba66f598>, <function register_global_query_examples_argument.<locals>.register_query_examples at 0x7f9eba5cfb70>]
Event: CommandInvoker.OnPostArgumentLoad []
Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7f9eba5cfbf8>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7f9eba5cfd08>]
Event: CommandInvoker.OnCommandTableLoaded []
Event: CommandInvoker.OnPreParseArgs []
Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f9ebb21c598>, <function CLIQuery.handle_query_parameter at 0x7f9ebafc1950>, <function register_global_query_examples_argument.<locals>.handle_example_parameter at 0x7f9eba5cfae8>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7f9eba5cfc80>]
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
attempting to read file /home/sbonds_adm/.azure/accessTokens.json as utf-8-sig
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - Authority:Performing instance discovery: ...
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - Authority:Performing static instance discovery
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - Authority:Authority validated via static instance discovery
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - CacheDriver:Found 6 potential entries.
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - CacheDriver:Resource specific token found.
adal-python : a1021afb-4098-4ec5-bf12-6b8a43980dd7 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - Authority:Performing instance discovery: ...
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - Authority:Performing static instance discovery
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - Authority:Authority validated via static instance discovery
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - CacheDriver:Found 6 potential entries.
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - CacheDriver:Resource specific token found.
adal-python : d6c9b199-d672-4be0-aaae-e905d55134e0 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - Authority:Performing instance discovery: ...
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - Authority:Performing static instance discovery
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - Authority:Authority validated via static instance discovery
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - CacheDriver:Found 6 potential entries.
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - CacheDriver:Resource specific token found.
adal-python : 618d77d9-4576-4365-9e6d-d5a4b42ce1ca - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - Authority:Performing instance discovery: ...
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - Authority:Performing static instance discovery
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - Authority:Authority validated via static instance discovery
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - CacheDriver:Found 6 potential entries.
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - CacheDriver:Resource specific token found.
adal-python : 5b730c79-8554-483e-bf40-9481ed3637ab - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - Authority:Performing instance discovery: ...
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - Authority:Performing static instance discovery
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - Authority:Authority validated via static instance discovery
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - CacheDriver:Found 6 potential entries.
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - CacheDriver:Resource specific token found.
adal-python : 8f57dd69-e2ed-40ac-8d61-0fbaae872fe4 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - Authority:Performing instance discovery: ...
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - Authority:Performing static instance discovery
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - Authority:Authority validated via static instance discovery
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - CacheDriver:Found 6 potential entries.
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - CacheDriver:Resource specific token found.
adal-python : e7fd7f7d-175f-4daa-8e14-6969ddb17fb2 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31977'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '1b1c7d93-345c-48aa-add2-4ac846bf9390'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11996'
msrest.http_logger : 'x-ms-correlation-request-id': 'b9ecae85-1c2c-435d-a1e4-450f742d98d2'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180050Z:b9ecae85-1c2c-435d-a1e4-450f742d98d2'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:50 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"name": "bug-demo-vm",
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm",
"type": "Microsoft.Compute/virtualMachines",
"location": "westus2",
"tags": {},
"properties": {
"vmId": "b06a30d0-646c-4b8e-a4e3-6dfcbbb3eeae",
"hardwareProfile": {
"vmSize": "Standard_B8ms"
},
"storageProfile": {
"imageReference": {
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8-lvm-gen2",
"version": "latest",
"exactVersion": "8.2.20200903"
},
"osDisk": {
"osType": "Linux",
"name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5",
"createOption": "FromImage",
"caching": "ReadWrite",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"
}
},
"dataDisks": [
{
"lun": 0,
"name": "bug-demo-vm_LUN2",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"
},
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "bug-demo-vm",
"adminUsername": "sbonds",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/sbonds/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"
}
},
"provisioningState": "Succeeded"
}
}
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - Authority:Performing instance discovery: ...
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - Authority:Performing static instance discovery
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - Authority:Authority validated via static instance discovery
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - CacheDriver:Found 6 potential entries.
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - CacheDriver:Resource specific token found.
adal-python : fb4f7d32-f2f2-43b6-9b2a-b1590e843b0b - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'Content-Length': '2214'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "westus2", "tags": {}, "properties": {"hardwareProfile": {"vmSize": "Standard_B8ms"}, "storageProfile": {"imageReference": {"publisher": "RedHat", "offer": "RHEL", "sku": "8-lvm-gen2", "version": "latest"}, "osDisk": {"osType": "Linux", "name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5", "caching": "ReadWrite", "writeAcceleratorEnabled": false, "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"}}, "dataDisks": [{"lun": 0, "name": "bug-demo-vm_LUN2", "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"}, "toBeDetached": false}, {"lun": 1, "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN1", "storageAccountType": "Premium_LRS"}}]}, "osProfile": {"computerName": "bug-demo-vm", "adminUsername": "sbonds", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/sbonds/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="}]}, "provisionVMAgent": true}, "secrets": [], "allowExtensionOperations": true, "requireGuestProvisionSignal": true}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]}, "diagnosticsProfile": {"bootDiagnostics": {"enabled": true, "storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"}}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31975'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': 'c5d20cf6-b7be-4347-ae33-019e5071b1db'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11992'
msrest.http_logger : 'x-ms-correlation-request-id': '684e0aa1-6b24-4e06-b1b4-2046076fe7e7'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180050Z:684e0aa1-6b24-4e06-b1b4-2046076fe7e7'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:49 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"name": "bug-demo-vm",
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm",
"type": "Microsoft.Compute/virtualMachines",
"location": "westus2",
"tags": {},
"properties": {
"vmId": "b06a30d0-646c-4b8e-a4e3-6dfcbbb3eeae",
"hardwareProfile": {
"vmSize": "Standard_B8ms"
},
"storageProfile": {
"imageReference": {
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8-lvm-gen2",
"version": "latest",
"exactVersion": "8.2.20200903"
},
"osDisk": {
"osType": "Linux",
"name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5",
"createOption": "FromImage",
"caching": "ReadWrite",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"
}
},
"dataDisks": [
{
"lun": 0,
"name": "bug-demo-vm_LUN2",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"
},
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "bug-demo-vm",
"adminUsername": "sbonds",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/sbonds/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"
}
},
"provisioningState": "Succeeded"
}
}
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - Authority:Performing instance discovery: ...
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - Authority:Performing static instance discovery
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - Authority:Authority validated via static instance discovery
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - CacheDriver:Found 6 potential entries.
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - CacheDriver:Resource specific token found.
adal-python : 36e359f4-e748-4649-9df1-c17f0dedcdb5 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'Content-Length': '2214'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "westus2", "tags": {}, "properties": {"hardwareProfile": {"vmSize": "Standard_B8ms"}, "storageProfile": {"imageReference": {"publisher": "RedHat", "offer": "RHEL", "sku": "8-lvm-gen2", "version": "latest"}, "osDisk": {"osType": "Linux", "name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5", "caching": "ReadWrite", "writeAcceleratorEnabled": false, "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"}}, "dataDisks": [{"lun": 0, "name": "bug-demo-vm_LUN2", "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"}, "toBeDetached": false}, {"lun": 1, "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2", "storageAccountType": "Premium_LRS"}}]}, "osProfile": {"computerName": "bug-demo-vm", "adminUsername": "sbonds", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/sbonds/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="}]}, "provisionVMAgent": true}, "secrets": [], "allowExtensionOperations": true, "requireGuestProvisionSignal": true}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]}, "diagnosticsProfile": {"bootDiagnostics": {"enabled": true, "storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"}}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31976'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '97eaf116-4115-46b2-bf23-93195f68fa5a'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11999'
msrest.http_logger : 'x-ms-correlation-request-id': 'cfd2cdb5-7587-47ba-b1a3-bfddfc2ddc17'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180050Z:cfd2cdb5-7587-47ba-b1a3-bfddfc2ddc17'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:49 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"name": "bug-demo-vm",
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm",
"type": "Microsoft.Compute/virtualMachines",
"location": "westus2",
"tags": {},
"properties": {
"vmId": "b06a30d0-646c-4b8e-a4e3-6dfcbbb3eeae",
"hardwareProfile": {
"vmSize": "Standard_B8ms"
},
"storageProfile": {
"imageReference": {
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8-lvm-gen2",
"version": "latest",
"exactVersion": "8.2.20200903"
},
"osDisk": {
"osType": "Linux",
"name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5",
"createOption": "FromImage",
"caching": "ReadWrite",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"
}
},
"dataDisks": [
{
"lun": 0,
"name": "bug-demo-vm_LUN2",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"
},
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "bug-demo-vm",
"adminUsername": "sbonds",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/sbonds/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"
}
},
"provisioningState": "Succeeded"
}
}
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - Authority:Performing instance discovery: ...
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - Authority:Performing static instance discovery
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - Authority:Authority validated via static instance discovery
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - CacheDriver:Found 6 potential entries.
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - CacheDriver:Resource specific token found.
adal-python : f717279a-ed26-4f70-9a9b-5734382b247e - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'Content-Length': '2214'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "westus2", "tags": {}, "properties": {"hardwareProfile": {"vmSize": "Standard_B8ms"}, "storageProfile": {"imageReference": {"publisher": "RedHat", "offer": "RHEL", "sku": "8-lvm-gen2", "version": "latest"}, "osDisk": {"osType": "Linux", "name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5", "caching": "ReadWrite", "writeAcceleratorEnabled": false, "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"}}, "dataDisks": [{"lun": 0, "name": "bug-demo-vm_LUN2", "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"}, "toBeDetached": false}, {"lun": 1, "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN0", "storageAccountType": "Premium_LRS"}}]}, "osProfile": {"computerName": "bug-demo-vm", "adminUsername": "sbonds", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/sbonds/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="}]}, "provisionVMAgent": true}, "secrets": [], "allowExtensionOperations": true, "requireGuestProvisionSignal": true}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]}, "diagnosticsProfile": {"bootDiagnostics": {"enabled": true, "storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"}}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31974'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '1ccdfe70-92c2-4e5a-9b3d-efa694f10b7c'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11996'
msrest.http_logger : 'x-ms-correlation-request-id': '88c11d52-c97c-4116-a754-53b1ded15f37'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180050Z:88c11d52-c97c-4116-a754-53b1ded15f37'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:50 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"name": "bug-demo-vm",
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm",
"type": "Microsoft.Compute/virtualMachines",
"location": "westus2",
"tags": {},
"properties": {
"vmId": "b06a30d0-646c-4b8e-a4e3-6dfcbbb3eeae",
"hardwareProfile": {
"vmSize": "Standard_B8ms"
},
"storageProfile": {
"imageReference": {
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8-lvm-gen2",
"version": "latest",
"exactVersion": "8.2.20200903"
},
"osDisk": {
"osType": "Linux",
"name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5",
"createOption": "FromImage",
"caching": "ReadWrite",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"
}
},
"dataDisks": [
{
"lun": 0,
"name": "bug-demo-vm_LUN2",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"
},
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "bug-demo-vm",
"adminUsername": "sbonds",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/sbonds/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"
}
},
"provisioningState": "Succeeded"
}
}
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - Authority:Performing instance discovery: ...
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - Authority:Performing static instance discovery
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - Authority:Authority validated via static instance discovery
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - CacheDriver:Found 6 potential entries.
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - CacheDriver:Resource specific token found.
adal-python : 557407af-168c-44cb-9fc4-09957ff7d86c - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'Content-Length': '2214'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "westus2", "tags": {}, "properties": {"hardwareProfile": {"vmSize": "Standard_B8ms"}, "storageProfile": {"imageReference": {"publisher": "RedHat", "offer": "RHEL", "sku": "8-lvm-gen2", "version": "latest"}, "osDisk": {"osType": "Linux", "name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5", "caching": "ReadWrite", "writeAcceleratorEnabled": false, "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"}}, "dataDisks": [{"lun": 0, "name": "bug-demo-vm_LUN2", "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"}, "toBeDetached": false}, {"lun": 1, "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN3", "storageAccountType": "Premium_LRS"}}]}, "osProfile": {"computerName": "bug-demo-vm", "adminUsername": "sbonds", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/sbonds/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="}]}, "provisionVMAgent": true}, "secrets": [], "allowExtensionOperations": true, "requireGuestProvisionSignal": true}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]}, "diagnosticsProfile": {"bootDiagnostics": {"enabled": true, "storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"}}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31973'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '9f22efca-c651-4a7d-83df-3c66f95a9d31'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11999'
msrest.http_logger : 'x-ms-correlation-request-id': 'ad22a283-e9fe-4431-9649-1d55c8c67200'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180050Z:ad22a283-e9fe-4431-9649-1d55c8c67200'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:50 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"name": "bug-demo-vm",
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm",
"type": "Microsoft.Compute/virtualMachines",
"location": "westus2",
"tags": {},
"properties": {
"vmId": "b06a30d0-646c-4b8e-a4e3-6dfcbbb3eeae",
"hardwareProfile": {
"vmSize": "Standard_B8ms"
},
"storageProfile": {
"imageReference": {
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8-lvm-gen2",
"version": "latest",
"exactVersion": "8.2.20200903"
},
"osDisk": {
"osType": "Linux",
"name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5",
"createOption": "FromImage",
"caching": "ReadWrite",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"
}
},
"dataDisks": [
{
"lun": 0,
"name": "bug-demo-vm_LUN2",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"
},
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "bug-demo-vm",
"adminUsername": "sbonds",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/sbonds/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"
}
},
"provisioningState": "Succeeded"
}
}
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - Authority:Performing instance discovery: ...
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - Authority:Performing static instance discovery
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - Authority:Authority validated via static instance discovery
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - CacheDriver:Found 6 potential entries.
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - CacheDriver:Resource specific token found.
adal-python : 0757cbc3-efac-425c-95ab-3576627b1254 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'Content-Length': '2214'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "westus2", "tags": {}, "properties": {"hardwareProfile": {"vmSize": "Standard_B8ms"}, "storageProfile": {"imageReference": {"publisher": "RedHat", "offer": "RHEL", "sku": "8-lvm-gen2", "version": "latest"}, "osDisk": {"osType": "Linux", "name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5", "caching": "ReadWrite", "writeAcceleratorEnabled": false, "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"}}, "dataDisks": [{"lun": 0, "name": "bug-demo-vm_LUN2", "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"}, "toBeDetached": false}, {"lun": 1, "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN4", "storageAccountType": "Premium_LRS"}}]}, "osProfile": {"computerName": "bug-demo-vm", "adminUsername": "sbonds", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/sbonds/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="}]}, "provisionVMAgent": true}, "secrets": [], "allowExtensionOperations": true, "requireGuestProvisionSignal": true}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]}, "diagnosticsProfile": {"bootDiagnostics": {"enabled": true, "storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"}}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31972'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '84dbd0d5-47cc-4d63-9ed6-6b025cfe200d'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11999'
msrest.http_logger : 'x-ms-correlation-request-id': '43a6340c-40f2-486f-8eca-1a9087768490'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180050Z:43a6340c-40f2-486f-8eca-1a9087768490'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:50 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"name": "bug-demo-vm",
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm",
"type": "Microsoft.Compute/virtualMachines",
"location": "westus2",
"tags": {},
"properties": {
"vmId": "b06a30d0-646c-4b8e-a4e3-6dfcbbb3eeae",
"hardwareProfile": {
"vmSize": "Standard_B8ms"
},
"storageProfile": {
"imageReference": {
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8-lvm-gen2",
"version": "latest",
"exactVersion": "8.2.20200903"
},
"osDisk": {
"osType": "Linux",
"name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5",
"createOption": "FromImage",
"caching": "ReadWrite",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"
}
},
"dataDisks": [
{
"lun": 0,
"name": "bug-demo-vm_LUN2",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"
},
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "bug-demo-vm",
"adminUsername": "sbonds",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/sbonds/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"
}
},
"provisioningState": "Succeeded"
}
}
Getting management service client client_type=ComputeManagementClient
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - Authority:Performing instance discovery: ...
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - Authority:Performing static instance discovery
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - Authority:Authority validated via static instance discovery
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - CacheDriver:Found 6 potential entries.
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - CacheDriver:Resource specific token found.
adal-python : 09295c81-4317-433e-ad05-daa87bcb9721 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'Content-Length': '2214'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "westus2", "tags": {}, "properties": {"hardwareProfile": {"vmSize": "Standard_B8ms"}, "storageProfile": {"imageReference": {"publisher": "RedHat", "offer": "RHEL", "sku": "8-lvm-gen2", "version": "latest"}, "osDisk": {"osType": "Linux", "name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5", "caching": "ReadWrite", "writeAcceleratorEnabled": false, "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"}}, "dataDisks": [{"lun": 0, "name": "bug-demo-vm_LUN2", "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"}, "toBeDetached": false}, {"lun": 1, "caching": "None", "createOption": "Attach", "managedDisk": {"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN5", "storageAccountType": "Premium_LRS"}}]}, "osProfile": {"computerName": "bug-demo-vm", "adminUsername": "sbonds", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/sbonds/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="}]}, "provisionVMAgent": true}, "secrets": [], "allowExtensionOperations": true, "requireGuestProvisionSignal": true}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]}, "diagnosticsProfile": {"bootDiagnostics": {"enabled": true, "storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"}}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 409 431
msrest.http_logger : Response status: 409
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Length': '431'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/PutVM3Min;236,Microsoft.Compute/PutVM30Min;1187'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '8a3b6e57-38df-440d-b685-4b8965d067c2'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-writes': '1198'
msrest.http_logger : 'x-ms-correlation-request-id': 'af108bb3-f835-4ecb-949c-269a5457ea98'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180051Z:af108bb3-f835-4ecb-949c-269a5457ea98'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:50 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"error": {
"code": "ConflictingUserInput",
"message": "Disk '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/BUG-DEMO-AZ-VM-DISK-ADD/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2' cannot be attached as the disk is already owned by VM '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm'."
}
}
msrest.exceptions : Disk '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/BUG-DEMO-AZ-VM-DISK-ADD/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2' cannot be attached as the disk is already owned by VM '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm'.
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 429 520
urllib3.util.retry : Incremented Retry for (url='/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'): Retry(total=3, connect=4, read=4, redirect=None, status=None)
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 409 235
msrest.http_logger : Response status: 409
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Length': '235'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1188'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '271c86d5-569a-41b8-aeb4-83695e1854fa'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-writes': '1198'
msrest.http_logger : 'x-ms-correlation-request-id': '4ec5c37b-dfa3-4ef2-b163-5d49931911cd'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180051Z:4ec5c37b-dfa3-4ef2-b163-5d49931911cd'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:51 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"error": {
"code": "Conflict",
"message": "The request failed due to conflict with a concurrent request. To resolve it, please refer to https://aka.ms/activitylog to get more details on the conflicting requests."
}
}
msrest.exceptions : The request failed due to conflict with a concurrent request. To resolve it, please refer to https://aka.ms/activitylog to get more details on the conflicting requests.
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 409 235
msrest.http_logger : Response status: 409
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Length': '235'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/PutVM3Min;234,Microsoft.Compute/PutVM30Min;1185'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': 'b066cb1f-feb2-4eb2-97b9-f40553eb1d73'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-writes': '1199'
msrest.http_logger : 'x-ms-correlation-request-id': '42fa2fcd-a836-4caa-a2d3-1443e4c3d02a'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180051Z:42fa2fcd-a836-4caa-a2d3-1443e4c3d02a'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:51 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"error": {
"code": "Conflict",
"message": "The request failed due to conflict with a concurrent request. To resolve it, please refer to https://aka.ms/activitylog to get more details on the conflicting requests."
}
}
msrest.exceptions : The request failed due to conflict with a concurrent request. To resolve it, please refer to https://aka.ms/activitylog to get more details on the conflicting requests.
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 429 520
urllib3.util.retry : Incremented Retry for (url='/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'): Retry(total=3, connect=4, read=4, redirect=None, status=None)
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'Azure-AsyncOperation': 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/providers/Microsoft.Compute/locations/westus2/operations/e1f3bcbc-ac02-4161-8fa3-632a51450b0f?api-version=2020-06-01'
msrest.http_logger : 'Azure-AsyncNotification': 'Enabled'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1189'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': 'e1f3bcbc-ac02-4161-8fa3-632a51450b0f'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-writes': '1198'
msrest.http_logger : 'x-ms-correlation-request-id': 'ed2f7248-482e-477f-a48e-2783eb20de84'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180051Z:ed2f7248-482e-477f-a48e-2783eb20de84'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:00:50 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"name": "bug-demo-vm",
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm",
"type": "Microsoft.Compute/virtualMachines",
"location": "westus2",
"tags": {},
"properties": {
"vmId": "b06a30d0-646c-4b8e-a4e3-6dfcbbb3eeae",
"hardwareProfile": {
"vmSize": "Standard_B8ms"
},
"storageProfile": {
"imageReference": {
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8-lvm-gen2",
"version": "latest",
"exactVersion": "8.2.20200903"
},
"osDisk": {
"osType": "Linux",
"name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5",
"createOption": "FromImage",
"caching": "ReadWrite",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"
}
},
"dataDisks": [
{
"lun": 0,
"name": "bug-demo-vm_LUN2",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"
},
"toBeDetached": false
},
{
"lun": 1,
"name": "bug-demo-vm_LUN0",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN0"
},
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "bug-demo-vm",
"adminUsername": "sbonds",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/sbonds/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"
}
},
"provisioningState": "Updating"
}
}
urllib3.connectionpool : Retry: /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01
urllib3.connectionpool : Resetting dropped connection: management.azure.com
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 409 184
msrest.http_logger : Response status: 409
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Length': '184'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/PutVM3Min;233,Microsoft.Compute/PutVM30Min;1184'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '9a4ec6ec-9d05-4005-8355-5ea20bcd1ac9'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-writes': '1199'
msrest.http_logger : 'x-ms-correlation-request-id': 'cb372fc0-77e4-40f1-a146-7f1343a37a08'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180102Z:cb372fc0-77e4-40f1-a146-7f1343a37a08'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:01:02 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"error": {
"code": "PropertyChangeNotAllowed",
"message": "Changing property 'dataDisk.managedDisk.id' is not allowed.",
"target": "dataDisk.managedDisk.id"
}
}
msrest.exceptions : Changing property 'dataDisk.managedDisk.id' is not allowed.
urllib3.connectionpool : Retry: /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01
urllib3.connectionpool : Resetting dropped connection: management.azure.com
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 409 184
msrest.http_logger : Response status: 409
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Length': '184'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/PutVM3Min;232,Microsoft.Compute/PutVM30Min;1183'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': 'be79ee5a-6f27-4832-9bce-255620c7026a'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-writes': '1198'
msrest.http_logger : 'x-ms-correlation-request-id': 'c7f7db34-4ca3-4e0c-b802-18ab1877423a'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180104Z:c7f7db34-4ca3-4e0c-b802-18ab1877423a'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:01:03 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"error": {
"code": "PropertyChangeNotAllowed",
"message": "Changing property 'dataDisk.managedDisk.id' is not allowed.",
"target": "dataDisk.managedDisk.id"
}
}
msrest.exceptions : Changing property 'dataDisk.managedDisk.id' is not allowed.
msrest.service_client : Accept header absent and forced to application/json
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - Authority:Performing instance discovery: ...
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - Authority:Performing static instance discovery
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - Authority:Authority validated via static instance discovery
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - CacheDriver:Found 6 potential entries.
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - CacheDriver:Resource specific token found.
adal-python : 99b00681-5a98-46a9-a300-065bdbc2322a - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/providers/Microsoft.Compute/locations/westus2/operations/e1f3bcbc-ac02-4161-8fa3-632a51450b0f?api-version=2020-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'x-ms-client-request-id': '81d8fd08-1dfe-11eb-882a-000d3ac2a3a8'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/providers/Microsoft.Compute/locations/westus2/operations/e1f3bcbc-ac02-4161-8fa3-632a51450b0f?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29993'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '1a116144-7976-4c01-8743-e1634fdb2495'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11998'
msrest.http_logger : 'x-ms-correlation-request-id': '2389e871-f911-4249-b90d-9a79ab171e16'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180121Z:2389e871-f911-4249-b90d-9a79ab171e16'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:01:21 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"startTime": "2020-11-03T18:00:51.0790284+00:00",
"endTime": "2020-11-03T18:00:51.9383748+00:00",
"status": "Succeeded",
"name": "e1f3bcbc-ac02-4161-8fa3-632a51450b0f"
}
msrest.service_client : Accept header absent and forced to application/json
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - Authority:Performing instance discovery: ...
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - Authority:Performing static instance discovery
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - Authority:Authority validated via static instance discovery
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - CacheDriver:Found 6 potential entries.
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - CacheDriver:Resource specific token found.
adal-python : e9985710-2102-48cc-b02a-143d381a4985 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'FvDIE1dlmYuzUMCK13KleqmSrqO5oHOCism/c8AU2Ds=', RefreshTokenId: b'hsxIeMZGTkASIbRYJX8H3CECzf3YITp8FmVpiVEu3hQ='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'x-ms-client-request-id': '81d8fd08-1dfe-11eb-882a-000d3ac2a3a8'
msrest.http_logger : 'User-Agent': 'python/3.6.8 (Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/14.0.0 Azure-SDK-For-Python AZURECLI/2.14.0 (RPM)'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm?api-version=2020-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31969'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-request-id': '16ccf40e-2b03-484c-9b32-b2c247246083'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11997'
msrest.http_logger : 'x-ms-correlation-request-id': 'b957978b-2de3-425d-a6bf-bd1db8c0a0b9'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS2:20201103T180121Z:b957978b-2de3-425d-a6bf-bd1db8c0a0b9'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Tue, 03 Nov 2020 18:01:21 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"name": "bug-demo-vm",
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm",
"type": "Microsoft.Compute/virtualMachines",
"location": "westus2",
"tags": {},
"properties": {
"vmId": "b06a30d0-646c-4b8e-a4e3-6dfcbbb3eeae",
"hardwareProfile": {
"vmSize": "Standard_B8ms"
},
"storageProfile": {
"imageReference": {
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8-lvm-gen2",
"version": "latest",
"exactVersion": "8.2.20200903"
},
"osDisk": {
"osType": "Linux",
"name": "bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5",
"createOption": "FromImage",
"caching": "ReadWrite",
"writeAcceleratorEnabled": false,
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_OsDisk_1_6875f11d3c5647f8a71325018e1c42f5"
}
},
"dataDisks": [
{
"lun": 0,
"name": "bug-demo-vm_LUN2",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2"
},
"toBeDetached": false
},
{
"lun": 1,
"name": "bug-demo-vm_LUN0",
"createOption": "Attach",
"caching": "None",
"managedDisk": {
"id": "/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN0"
},
"toBeDetached": false
}
]
},
"osProfile": {
"computerName": "bug-demo-vm",
"adminUsername": "sbonds",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "/home/sbonds/.ssh/authorized_keys",
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgLbSr3pPNP3/YCwv4ZscsAEtmd6GQsX+eEZaeiN7yLZEdUycTVUe4McZ4jdxy5irsxjEp//pIAmOI6bO85jK/Ts4i//rlV4R3+l/eHlmHEZM5TPtn3iQtxnSZHMTSweGXAnq0jaW3nzX8f7pMlkw0kUynaKJ6RLaYD28kdr8l/zGzsMkBwzRD//vJtrx+NKe/QovxCHv0/aLq0GYVRnk20vdYgLYRqlvLxdZcaSSkAnF2Zvf0cUwp3D73CZUpkeDZ1DEU67K4O5s5kmGJCP2nvfNFINyYdzGnP+9j2HYpmRv2SYYuf0/WqzAsrBEQ2LXJTOlPo1a0c7ogdkLjqKfxQ=="
}
]
},
"provisionVMAgent": true,
"patchSettings": {
"patchMode": "ImageDefault"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true
},
"networkProfile": {"networkInterfaces":[{"id":"/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Network/networkInterfaces/bug-demo-vmVMNic"}]},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "https://bugdemoazvmdiskadd.blob.core.windows.net/"
}
},
"provisioningState": "Succeeded"
}
}
Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7f9eba62d8c8>, <function _x509_from_base64_to_hex_transform at 0x7f9eba62d950>]
/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN0: "Azure Error: ConflictingUserInput
Message: Disk '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/BUG-DEMO-AZ-VM-DISK-ADD/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2' cannot be attached as the disk is already owned by VM '/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/virtualMachines/bug-demo-vm'."
/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN1: "Azure Error: Conflict
Message: The request failed due to conflict with a concurrent request. To resolve it, please refer to https://aka.ms/activitylog to get more details on the conflicting requests."
/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN2: "Azure Error: Conflict
Message: The request failed due to conflict with a concurrent request. To resolve it, please refer to https://aka.ms/activitylog to get more details on the conflicting requests."
/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN3: "Azure Error: PropertyChangeNotAllowed
Message: Changing property 'dataDisk.managedDisk.id' is not allowed.
Target: dataDisk.managedDisk.id"
/subscriptions/ba4b20af-9f0c-4e0c-852e-3c2ba7f7bb9e/resourceGroups/bug-demo-az-vm-disk-add/providers/Microsoft.Compute/disks/bug-demo-vm_LUN4: "Azure Error: PropertyChangeNotAllowed
Message: Changing property 'dataDisk.managedDisk.id' is not allowed.
Target: dataDisk.managedDisk.id"
Encountered more than one exception.
Event: CommandInvoker.OnFilterResult []
Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f9eba640b70>]
az_command_data_logger : exit code: 0
Command ran in 31.553 seconds (init: 0.125, invoke: 31.428)
telemetry.save : Save telemetry record of length 2968 in cache
telemetry.check : Negative: The /home/sbonds_adm/.azure/telemetry.txt was modified at 2020-11-03 18:00:04.452348, which in less than 600.000000 s
Since --debug
includes lots of details including session IDs, it's safer to log out to invalidate any of these session credentials before publishing them.
az logout
az account show
The latter should show Please run 'az login' to setup account.
Thank you for attaching more details!
I've also documented this as an Azure Feedback request here:
Running into the same issue while building an automation module for our offer. This piece of code/(bash automation to attach new disks to existing VMs has worked well about 4 weeks back. I just resumed development here and now hitting this issue.
The "root cause' sighted using lunid - assignment/selection causing problem does not apply to whats done here as lun ids are provided in the AZ command via --lun option.
2021-06-23 18:16:57.115 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale01-t2disk_E1-01 --vm-name scale01 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 3 --new' 2021-06-23 18:16:57.117 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale01-t2disk_E1-02 --vm-name scale01 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 4 --new' 2021-06-23 18:16:57.120 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale01-t2disk_E1-03 --vm-name scale01 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 5 --new' 2021-06-23 18:16:57.122 addDisksToScaleNodes:1327: Adding disks to VM:'scale02'... 2021-06-23 18:16:57.126 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale02-t2disk_E1-01 --vm-name scale02 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 3 --new' 2021-06-23 18:16:57.129 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale02-t2disk_E1-02 --vm-name scale02 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 4 --new' 2021-06-23 18:16:57.132 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale02-t2disk_E1-03 --vm-name scale02 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 5 --new' 2021-06-23 18:16:57.136 addDisksToScaleNodes:1327: Adding disks to VM:'scale03'... 2021-06-23 18:16:57.140 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale03-t2disk_E1-01 --vm-name scale03 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 3 --new' 2021-06-23 18:16:57.143 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale03-t2disk_E1-02 --vm-name scale03 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 4 --new' 2021-06-23 18:16:57.153 addDisksToScaleNodes:1335: Running command 'az vm disk attach --name scale03-t2disk_E1-03 --vm-name scale03 --resource-group ngexp1 --size-gb 200 --sku Standard_LRS --lun 5 --new' (Conflict) The request failed due to conflict with a concurrent request. To resolve it, please refer to https://aka.ms/activitylog to get more details on the conflicting requests.
Below are the disks assigned at the end of these commands... note only one of the CLI command per VM ran successfully. [root@scale01 install-config]# az vm list -d -g ngexp1 --query '[].storageProfile.dataDisks[].[name,diskSizeGb,lun]' --output table Column1 Column2 Column3
scale01-metadisk-01 200 0 scale01-t2disk-01 200 1 scale01-t2disk-02 200 2 scale01-t2disk_E1-02 200 4 scale02-metadisk-01 200 0 scale02-t2disk-01 200 1 scale02-t2disk-02 200 2 scale02-t2disk_E1-01 200 3 scale03-metadisk-01 200 0 scale03-t2disk-01 200 1 scale03-t2disk-02 200 2 scale03-t2disk_E1-03 200 5
I'm 100% certain that this was working one month ago and remainder of disk config at the app level worked in this automation . Something has changed to cause this to break. Please investigate. THanks. I will also open a ticket.
@ngarimella Your issue looks different from the one I reported. Going through Azure support is likely to be the best approach.
In my case, I was intentionally requesting multiple disks be created at once. In your case it looks like you're requesting them one at a time and probably hitting an internal race condition where your command returns before the Azure API is ready for another request. A simple and inefficient fix for race conditions is waiting between tasks. Give that a try if you need an immediate workaround.
Well, should have clarified. These CLI commands are all fired in background, so they all run in parallel.
Here is the code snippet that issues AZ commands in background.
# Add one disk at a time in background to all nodes.
for i in $(seq 1 $NUM_SCALE_NODES); do
vm=$(printf "$SCALE_PFX%02d" $i)
gLogMsg 1 "Adding disks to VM:'$vm'..."
for d in $(seq $DISK_IDX_START $DISK_IDX_END); do
lunId=$((DISK_LUN_START+$d-1))
# disk name scale03-t2disk_E1-01, scale03-t2disk_E1-02
disk="${vm}-${DISK_PFX}disk${EXP_PFX}${THIS_EXP_COUNTER}-$(printf %02d $d)"
# Cant use gTestMode to run commands in background yet.
gLogMsg 1 "Running command 'az vm disk attach --name $disk --vm-name $vm --resource-group $AZ_RESOURCE_GROUP --size-gb $DISK_SIZE_GB --sku $DISK_STG_TYPE --lun $lunId --new'"
**az vm disk attach --name $disk --vm-name $vm --resource-group $AZ_RESOURCE_GROUP --size-gb $DISK_SIZE_GB --sku $DISK_STG_TYPE --lun $lunId --new >>$G_LOG 2>&1 &**
done
done
wait #until all disks are provisioned and attached.
az vm disk attach &
Yep, that could be the same issue I hit, just hitting it a slightly different way. Note that this GitHub issue did not request that multiple processes be able to add disks in quick succession-- I'm asking the CLI to accept multiple IDs via the --ids
parameter and then sort them out into a single REST query. Azure seems to currently support multiple IDs on the REST query so this (in theory) could work.
The fix for my issue might allow you to work around your issue, but it won't be a complete fix for you. Azure itself doesn't currently support making another new VM change until the prior one has completed and if you request one disk at a time, that's going to continue to be a sequential process.
This issue is caused by the parallel operation of the resources in parameter --ids
.
By default, due to parallel operation for --ids
parameter, multiple child threads will attach different disks for the same lun, such as:
Thread 1
"dataDisks": [
{
"lun": 0,
"createOption": "Attach",
"managedDisk": {
"id": "/subscriptions/<sub>/resourceGroups/zhoxing-test/providers/Microsoft.Compute/disks/zhoxing1",
"storageAccountType": "Premium_LRS"
}
}
]
Thread 2
"dataDisks": [
{
"lun": 0,
"createOption": "Attach",
"managedDisk": {
"id": "/subscriptions/<sub>/resourceGroups/zhoxing-test/providers/Microsoft.Compute/disks/zhoxing2",
"storageAccountType": "Premium_LRS"
}
}
]
Thread 3
"dataDisks": [
{
"lun": 0,
"createOption": "Attach",
"managedDisk": {
"id": "/subscriptions/<sub>/resourceGroups/zhoxing-test/providers/Microsoft.Compute/disks/zhoxing3",
"storageAccountType": "Premium_LRS"
}
}
]
So it leads to the problem PropertyChangeNotAllowed Message: Changing property 'dataDisk.managedDisk.id' is not allowed.
When we use the command az config set core.disable_concurrent_ids=True
to disable the parallel operation for the --ids
parameter, it will be able to complete the attach operations for all disk correctly, such as:
"dataDisks": [
{
"lun": 0,
"name": "zhoxing1",
"caching": "None",
"createOption": "Attach",
"diskSizeGB": 1,
"managedDisk": {
"id": "/subscriptions/<sub>/resourceGroups/zhoxing-test/providers/Microsoft.Compute/disks/zhoxing1",
"storageAccountType": "Premium_LRS"
},
"toBeDetached": false,
"deleteOption": "Detach"
},
{
"lun": 1,
"name": "zhoxing2",
"caching": "None",
"createOption": "Attach",
"diskSizeGB": 1,
"managedDisk": {
"id": "/subscriptions/<sub>/resourceGroups/zhoxing-test/providers/Microsoft.Compute/disks/zhoxing2",
"storageAccountType": "Premium_LRS"
},
"toBeDetached": false,
"deleteOption": "Detach"
},
{
"lun": 2,
"createOption": "Attach",
"managedDisk": {
"id": "/subscriptions/<sub>0/resourceGroups/zhoxing-test/providers/Microsoft.Compute/disks/zhoxing3",
"storageAccountType": "Premium_LRS"
}
}
]
Therefore, we need to use the command az config set core.disable_concurrent_ids=True
in this scenario to disable the parallel operations for --ids
parameter.
I submitted a PR #21300 to improve the help description
thanks for addressing this!
I know this issue has been closed, but I don't think the proposed change of concurrency is a solution rather than a workaround. Essentially az config set core.disable_concurrent_ids=True
will result in Azure CLI sequentially attaching the disks and not attaching them in one single operation. Can we change the behaviour of Azure CLI to add all disks with one API call?
Yes, the provided solution documents a workaround but doesn't solve the underlying issue. It's not any different than running in a loop.
However, it's much harder to take the list of IDs and build a single REST call for them.
However, it's much harder to take the list of IDs and build a single REST call for them.
Yes, the solution of building a single REST call is feasible, but we can only support attaching multiple disks by one API call through another parameter (such as --disk
) instead of the --ids
parameter. Because --ids
parameter is a global parameter, each id in --ids
will be processed by independent API call, which is a common logic in CLI core.
Describe the bug
When attaching multiple disks to an Azure VM at once using the
--ids
parameter onaz vm disk attach
only one disk gets attached and the command fails with upstream REST API errors.To Reproduce
In bash:
Expected behavior
The multiple disks specified in
--ids
will be attached on sequential LUNs starting with the next available and filling any available LUNs in order.Environment summary
Azure CLI installed on CentOS 7 via
yum install azure-cli
Additional context
This is similar to issue #15583 but provides a more specific request rather than asking a question.
The az CLI will allow this to happen, but the upstream REST calls into Azure end up conflicting with one another.
For example, this command starts just fine:
This ends up failing when multiple disks are involved with the following errors:
And:
This works just fine as a workaround in bash:
Running the az CLI with --debug shows that the CLI loops over the list of IDs and submits a separate REST PUT for each one. The conflict arises since the prior disk attachment hasn't yet finished when the second and succeeding REST calls arrive.
The "PropertyChangeNotAllowed" appears to be a result of the CLI attempting to assign each disk to LUN 0 (or the single next available LUN) rather than incrementing it each time for a new disk ID.
The REST API appears to support reconfiguring a VM with multiple disk changes at once, but the CLI as written does not.