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

[Question/Feedback]: Cannot Deploy AMBA #379

Closed
1 task done
grazianosommariva opened this issue Oct 16, 2024 · 4 comments · Fixed by #381
Closed
1 task done

[Question/Feedback]: Cannot Deploy AMBA #379

grazianosommariva opened this issue Oct 16, 2024 · 4 comments · Fixed by #381
Assignees
Labels
bug Something isn't working Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern question Further information is requested

Comments

@grazianosommariva
Copy link

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Description

Cannot Depoly AMBA. i get This error:

New-AzManagementGroupDeployment: 8:30:16 - The deployment 'amba-GeneralDeployment' failed with error(s). Showing 1 out of 1 error(s).
Status Message: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details. (Code: DeploymentFailed)

  • {
    "error": {
    "code": "UnusedPolicyParameters",
    "message": "The policy set '' has defined parameters 'VPNGWTunnelEgressPacketDropCountFailingPeriods,VPNGWTunnelEgressPacketDropCountEvaluationPeriods,VPNGWTunnelEgressPacketDropMismatchFailingPeriods,VPNGWTunnelEgressPacketDropMismatchEvaluationPeriods,VPNGWTunnelIngressPacketDropCountFailingPeriods,VPNGWTunnelIngressPacketDropCountEvaluationPeriods,VPNGWTunnelIngressPacketDropMismatchFailingPeriods,VPNGWTunnelIngressPacketDropMismatchEvaluationPeriods,VnetGwTunnelIngressPacketDropCountFailingPeriods,VnetGwTunnelIngressPacketDropCountEvaluationPeriods' which are not used in referenced policy definitions. Please either remove these parameters from the definition or ensure that they are used."
    }
    } (Code:BadRequest)

CorrelationId: 26e08c75-d382-445a-8998-58a5e4442832

@grazianosommariva grazianosommariva added the question Further information is requested label Oct 16, 2024
@Brunoga-MS
Copy link
Contributor

Hello @grazianosommariva ,
thanks for your feedback. It looks like the issue you are experiencing is related to the deployment of a new version of AMBA using an old parameter file. In particular, the message is telling you that you are deploying a version of the policy definition which is using parameter not passed/included in the param file. We fixed an issue with some of the policy definition which were not using parameters for the failingPeriods and evaluationPeriods. Make sure the param file is aligned with the template provided in the repo (add all missing params) and try again.

Thanks,
Bruno.

@Brunoga-MS
Copy link
Contributor

@grazianosommariva ,
I went on with further investigation and found a bug in the Connectivity policy initiative which is missing the parameters you mentioned in this issue. I just submitted a PR that will be reviewed, approved an merged as soon as possible.

Thanks,
Bruno.

@grazianosommariva
Copy link
Author

grazianosommariva commented Oct 16, 2024 via email

@anwather
Copy link
Contributor

Also noticed this issue when deploying last night - will wait for the fix to be released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern question Further information is requested
Projects
None yet
3 participants