You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run a validate upgrade on a basic LB with no back end pools I get the following error message:
Write-Error: 2024-12-16T20:27:34+00 [Error]:[Test-SupportedMigrationScenario] Error comparing NIC backend pool memberships () to basicLBBackendIds (). Error: Cannot bind argument to parameter 'DifferenceObject' because it is null.
To Reproduce
Steps to reproduce the behavior:
Open azure powershell. Install Module for basicloadbalancer upgrade.
Select Subscription with basic loadbalancer.
Run Command to validate migration of specific loadbalancer:
A clear and concise description of what you expected to happen without this bug 🙂
Screenshots 📷
If applicable, add screenshots to help explain your problem. Please feel free to blur/cover any sensitive information.
Additional context - please include:
Version of the AzureBasicLoadBalancerUpgrade module you are running (see: Get-Module AzureBasicLoadBalancerUpgrade after importing the module.)
ModuleType Version PreRelease Name ExportedCommands
infrapmi
changed the title
🪲 Bug Report - PLEASE CHANGE ME TO SOMETHING DESCRIPTIVE
🪲 Bug Report - Error comparing NIC backend pool memberships () to basicLBBackendIds ().
Dec 20, 2024
I'm able to repro this--shouldn't be long to fix. A workaround would be commenting out that test, since you don't care about backend pool membership if the pools don't exist :)
Describe the bug
When trying to run a validate upgrade on a basic LB with no back end pools I get the following error message:
Write-Error: 2024-12-16T20:27:34+00 [Error]:[Test-SupportedMigrationScenario] Error comparing NIC backend pool memberships () to basicLBBackendIds (). Error: Cannot bind argument to parameter 'DifferenceObject' because it is null.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen without this bug 🙂
Screenshots 📷
If applicable, add screenshots to help explain your problem. Please feel free to blur/cover any sensitive information.
Additional context - please include:
Get-Module AzureBasicLoadBalancerUpgrade
after importing the module.)ModuleType Version PreRelease Name ExportedCommands
Script 2.4.14 AzureBasicLoadBalancerUpgrade Start-AzBasicLoadBalancerUpgrade
$PSVersionTable
)Name Value
PSVersion 7.4.5
PSEdition Core
GitCommitId 7.4.5
OS CBL-Mariner/Linux
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered: