Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start-AzsDiskMigrationJob doesn't validate disks on run #154

Open
Norava opened this issue Jun 7, 2022 · 0 comments
Open

Start-AzsDiskMigrationJob doesn't validate disks on run #154

Norava opened this issue Jun 7, 2022 · 0 comments

Comments

@Norava
Copy link

Norava commented Jun 7, 2022

As per process on https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-manage-storage-shares?view=azs-2108#to-migrate-managed-disks-using-powershell end users are required to create a get-azsdisk object when moving disks. Upon running the disk migration cmdlet seems to take what's in the object at face value up to and including refusing to migrate a disk due to it being "Attached" even though the disk was detached prior to making an object with the appropriate disks to move via get-azsdisk.
Expected behavior should fall in line with other PowerShell cmdlets in validating the data on run rather than assuming the arbitrary data from a cast object is correct in order to prevent issues due to stale data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant