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

🪲 Bug Report - Error comparing NIC backend pool memberships () to basicLBBackendIds (). #130

Closed
infrapmi opened this issue Dec 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@infrapmi
Copy link

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:

  1. Open azure powershell. Install Module for basicloadbalancer upgrade.
  2. Select Subscription with basic loadbalancer.
  3. Run Command to validate migration of specific loadbalancer:
  4. Start-AzBasicLoadBalancerUpgrade -ResourceGroupName fnodeveus06-rg -BasicLoadBalancerName fnodeveus0-loadbalancer -validateScenarioOnly

Expected behavior

A clear and concise description of what you expected to happen without this bug 🙂

Screenshots 📷

Image

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

Script 2.4.14 AzureBasicLoadBalancerUpgrade Start-AzBasicLoadBalancerUpgrade

  • Version of PowerShell you are running ($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

@infrapmi infrapmi added the bug Something isn't working label Dec 16, 2024
@infrapmi 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
@mbrat2005 mbrat2005 self-assigned this Jan 3, 2025
@mbrat2005
Copy link
Contributor

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants