Azure / Azure/azure-quickstart-templates
Unable to run the ASR-AddMultipleLoadBalancers runbook.
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
[ASR-AddMultipleLoadBalancers](https://github.com/Azure/azure-quickstart-templates/blob/master/asr-automation-recovery/README.md)
### Issue Details
I'm unable to run the ASR-AddMultipleLoadBalancers Runbook in Azure. I've installed the latest runbook from GitHub and created the complex variable in the Automation Account. When running the Runbook I keep getting the error
_"Error: The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input"_
Below is context for the variable and the output I am seeing.
`$InputObject = @{"9155d96c-ee73-49a3-8e4e-e2255133f999"=@{"ResourceGroupName"="APP-TST-RS-asr";"LBName"="TST-APP-01"};"9db94ed9-8c4e-4e1d-b458-eb465bbd444b"=@{"ResourceGroupName"="WB-TST-RS-asr";"LBName"="TST-WB-01"};"4b3cd1b8-0adf-4ea9-bee0-35b313e6aa69"=@{"ResourceGroupName"="DB-TST-RS-asr";"LBName"="TST-BD-01"}}`
RecoveryPlanName : Test-Recovery-Plan1
FailoverType : Test
FailoverDirection : PrimaryToSecondary
GroupId : Group1
VmMap : @{9155d96c-ee73-49a3-8e4e-e2255133f999=; 9db94ed9-8c4e-4e1d-b458-eb465bbd444b=;
4b3cd1b8-0adf-4ea9-bee0-35b313e6aa69=}
Found the following VMGuid(s):
4b3cd1b8-0adf-4ea9-bee0-35b313e6aa69 9155d96c-ee73-49a3-8e4e-e2255133f999 9db94ed9-8c4e-4e1d-b458-eb465bbd444b
Found multiple VMs in the Recovery Plan
Logging in to Azure...
Environments
------------
{[AzureCloud, AzureCloud], [AzureChinaCloud, AzureChinaCloud], [AzureUSGovernment, AzureUSGovernment], [AzureGermanCl...
Selecting Azure subscription...
Account Environment Subscription Tenant
------- ----------- ------------ ------
51abf19b-f306-40ad-b1c7-a5e4891e99f3 AzureCloud b9eb3af5-e0df-42f9-b68c-c83121bd00ba 72fcc651-3de3-49ba-ac4f-1972b1e...
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the ASR-AddMultipleLoadBalancers README and the runbook installed from it. Reproduce the failure using the complex variable and recovery-plan output shown in the issue, then trace the input binding error. Done means the runbook accepts the documented variable structure and runs without the reported binding error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100