Azure / azure-monitor-baseline-alerts

Azure Monitor Baseline Alerts
MIT License
167 stars 243 forks source link

[Question/Feedback]: Cannot Deploy AMBA #379

Closed grazianosommariva closed 1 month ago

grazianosommariva commented 1 month ago

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

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

Brunoga-MS commented 1 month ago

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 commented 1 month ago

@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 commented 1 month ago

Thanks a lot Bruno!


Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.


The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “ This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender From: Bruno Gabrielli @.> Date: Mer 16 Ott 2024, 20:30 To: Azure/azure-monitor-baseline-alerts @.> CC: Sommariva Graziano @.>, Mention @.> Subject: Re: [Azure/azure-monitor-baseline-alerts] [Question/Feedback]: Cannot Deploy AMBA (Issue #379)

@grazianosommarivahttps://github.com/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.

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-monitor-baseline-alerts/issues/379#issuecomment-2417604319, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHG7GESZMU6TYDICXP2RATTZ32WE7AVCNFSM6AAAAABQAWOLZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGYYDIMZRHE. You are receiving this because you were mentioned.Message ID: @.***>

CAUTION: External email. Do not click links, open attachments or reply unless you recognize the sender and know the content is safe. ATTENZIONE: Questa e-mail proviene da un dominio esterno al perimetro Leonardo. Non cliccare su collegamenti, aprire allegati o rispondere a meno che non si riconosca il mittente e si sappia che il contenuto e' sicuro.

anwather commented 1 month ago

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