martin77s / azure Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
I get this when tried to move VM to another region with Move-AzVmToRegion.ps1
The VM seem to move OK but the exceptions and warnings are confusing
Boot diagnostics is disabled on the source VM so it's strange that it mentions that at all
I also see some warnings about breaking changes
Total: 1.
Successful: 1.
Failed: 0.
WAITING: 19:38:52 - Waiting for the ubuntu_DataDisk_0.vhd blob copy process to complete (100 %)
VERBOSE: 19:38:55 - Creating the new OS managed disk from the vhd
VERBOSE: 19:39:00 - Creating the new data managed disks from the vhds
VERBOSE: 19:39:00 - Generating data managed disk: ubuntu_DataDisk_0
VERBOSE: 19:39:14 - Creating the new basic VM config
VERBOSE: 19:39:14 - Updating the VM config with the storage details
VERBOSE: 19:39:15 - Verifying network configuration
WARNING: Upcoming breaking changes in the cmdlet 'New-AzVirtualNetworkSubnetConfig' :
Update Property Name
Cmdlet invocation changes :
Old Way : -ResourceId
New Way : -NatGatewayId
Update Property Name
Cmdlet invocation changes :
Old Way : -InputObject
New Way : -NatGateway
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other
information on breaking changes in Azure PowerShell.
VERBOSE: 19:39:31 - Creating the new public IP
WARNING: Upcoming breaking changes in the cmdlet 'New-AzPublicIpAddress' :
Default behaviour of Zone will be changed
Cmdlet invocation changes :
Old Way : Sku = Standard means the Standard Public IP is zone-redundant.
New Way : Sku = Standard and Zone = {} means the Standard Public IP has no zones. If you want to create a
zone-redundant Public IP address, please specify all the zones in the region. For example, Zone = ['1', '2', '3'].
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other
information on breaking changes in Azure PowerShell.
VERBOSE: 19:39:39 - Updating the VM config with the network details
VERBOSE: 19:39:40 - Creating the VM
WARNING: Error occurred when creating storage account for boot diagnostics. Keep creating a VM with disabling boot
diagnostics. : Microsoft.Rest.ValidationException: 'Kind' cannot be null.
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.StorageAccountCreateParameters.Validate()
at
Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.StorageAccountsOperations.
d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at
Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.StorageAccountsOperations.d__6.
MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at
Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.StorageAccountsOperationsExtensions.d__3.MoveNe
xt()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at
Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.StorageAccountsOperationsExtensions.Create(IStorageAccountsO
perations operations, String resourceGroupName, String accountName, StorageAccountCreateParameters parameters)
at Microsoft.Azure.Commands.Compute.NewAzureVMCommand.CreateStandardStorageAccount(StorageManagementClient client)
VERBOSE: 19:39:58 - Removing the temp storage account
Confirm
Remove Storage Account 'tempstrg2022072019324504' and all content in it
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y
IMPORTANT: The VM's OLD public IP was: Not Assigned
IMPORTANT: The VM's NEW IP Address is: Not Assigned
RequestId IsSuccessStatusCode StatusCode ReasonPhrase
True OK OK
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.