EC2 windows server 2012 R2 upgrade to 2019 via SSM

0

I have upgrade EC2 windows server 2012R2 to 2019 by SSM automation, but the upgrade automation failed I faces this issue :

Failure message Step fails when it is verifying the command has completed. Command be9b3fee-1806-49bc-9862-6bdf01372459 returns unexpected invocation result: {Status=[Failed], ResponseCode=[1], Output=[2023-09-19 18:31:03.790 Error: Upgrade failed with following error 2023-09-19 18:31:03.864 ErrorLevel: -1047526904 ----------ERROR------- failed to run commands: exit status 1], OutputPayload=[{"Status":"Failed","ResponseCode":1,"Output":"2023-09-19 18:31:03.790 Error: Upgrade failed with following error\n2023-09-19 18:31:03.864 ErrorLevel: -1047526904 \n\n----------ERROR-------\nfailed to run commands: exit status 1","CommandId":"be9b3fee-1806-49bc-9862-6bdf01372459"}], CommandId=[be9b3fee-1806-49bc-9862-6bdf01372459]}. Please refer to Automation Service Troubleshooting Guide for more diagnosis details.

Status Failed Output 2023-09-19 18:31:03.790 Error: Upgrade failed with following error 2023-09-19 18:31:03.864 ErrorLevel: -1047526904

----------ERROR------- failed to run commands: exit status 1

OutputPayload

{"Status":"Failed","ResponseCode":1,"Output":"2023-09-19 18:31:03.790 Error: Upgrade failed with following error 2023-09-19 18:31:03.864 ErrorLevel: -1047526904

----------ERROR------- failed to run commands: exit status 1","CommandId":"be9b3fee-1806-49bc-9862-6bdf01372459"}

  • Hi, can you please provide more information about this issue:

    • Automation document that was executed
    • Region
    • Automation execution ID
    • Repro steps
  • Hi,

    executionId: cf1bd275-ba7b-4f3e-a198-947af9fb9a92 Execution detail - Step 6: runUpgradeFrom2012R2Or2016

    Region: N.Virginia Action aws:executeAutomation

    Action aws:executeAutomation

    Step fails when it is Execution complete: verified. Failed to run automation with executionId: cf1bd275-ba7b-4f3e-a198-947af9fb9a92 Failed : {Status=[Failed], Output=[No output available yet because the step is not successfully executed, No output available yet because the step is not successfully executed], ExecutionId=[cf1bd275-ba7b-4f3e-a198-947af9fb9a92]}. Please refer to Automation Service Troubleshooting Guide for more diagnosis details.

Ahmad
gefragt vor 8 Monaten406 Aufrufe
1 Antwort
0
Akzeptierte Antwort

I see the following error for this execution:

An error occurred (InvalidAMIID.Malformed) when calling the DescribeImages operation: Invalid id: \"{{ createImageServerUpgradeInstance.ImageId }}\" (expecting \"ami-...\")

Please ensure that you have correctly set up this input. You can refer to documentation here: https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-action-outputs-inputs.html

AWS
beantwortet vor 8 Monaten
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen