Unable to upgrade windows EC2 from 2012 to 2019 using SSM automation

0

Hi,

Am trying to upgrade windows OS from 2012 R2 to 2019 using AWS SSM automation. I have removed EC2config traces from the server and installed latest EC2launch on the server along with SSM Agent. However the automation is still getting failed and it is not providing any error code as well, due to which am unable to trace the issue.

The SSM automation document am using is "AWSEC2-CloneInstanceAndUpgradeWindows" and it fails at "Automation step6: runUpgradeFrom2012R2Or2016"

In the Output I get below response, Failure message Step fails when it is Execution complete: verified. Failed to run automation with executionId: XXXXX 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=[XXXXXX]}. Please refer to Automation Service Troubleshooting Guide for more diagnosis details.

I tried to search root cause of it however no luck, Please help me to solve this issue

  • Have a look in the windows event log for any windows errors.

  • Mine one also failing at the same step

Diksha
已提問 10 個月前檢視次數 584 次
1 個回答
0

Hello,

The "runUpgradeFrom2012R2Or2016" step in turn kicks off an execution of the "AWSEC2-CloneInstanceAndUpgradeWindows2019" automation document. You could check the execution of this document that got kicked off to see if there are any errors present there.

AWS
已回答 9 個月前
  • I checked all the steps of AWSEC2-CloneInstanceAndUpgradeWindows2019 in which it fails in step6 runUpgradeFrom2012R2Or2016. However, when I check the execution steps included in runUpgradeFrom2012R2Or2016 it shows all success. Still the overall process fails with mentioned error

  • Could you provide the input parameter value you provided for "TargetWindowVersion" when you executed the "AWSEC2-CloneInstanceAndUpgradeWindows2019" automation document?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南