aws / res

Research and Engineering Studio (RES) is an AWS supported open source product that enables IT administrators to provide an easy-to-use web portal for scientists and engineers to run technical computing workloads on AWS.
https://github.com/aws/res
Apache License 2.0
82 stars 17 forks source link

(2024.08) Preparing Infrastructure AMI Failure #66

Closed Tygen closed 2 months ago

Tygen commented 2 months ago

Bug description

When preparing AMIs using EC2 Image Builder per the directions listed in the Prerequisites Documentation, the building process will fail with the following error message:

CmdExecution: [ERROR] Command execution has resulted in an error

This is due to errors in the dependencies file that is provided in the documentation.

Affected versions

2024.08

Mitigation

Creating new EC2 Image Builder resources:

Follow these steps if you have never prepared AMIs for RES instances.

  1. Download the updated res-infra-dependencies.tar.gz file
  2. Follow the steps listed under Prepare Amazon Machine Images (AMIs) in the Prerequisites page.

Reusing previous EC2 Image Builder resources:

Follow these steps if you have prepared AMIs for RES instances.

  1. Download the updated res-infra-dependencies.tar.gz file
  2. Navigate to EC2 Image Builder → Components → Click on the Component created for preparing RES AMIs
  3. Note the S3 location listed under Content → DownloadRESInstallScripts step → inputs → source
  4. The S3 location found above contains the dependencies file that was previously used, replace this file with the file downloaded above
junbo75 commented 2 months ago

Closing the issue now as the team has released the patch and GitHub known issue document.