View a markdown version of this page

Troubleshooting - Scene Intelligence with Rosbag on AWS

Troubleshooting

This section provides known issue resolution when deploying the solution.

If these instructions don’t address your issue, Contact AWS Support provides instructions for opening an Support case for this solution.

Problem: Handling intermittent issues during solution deployment

You receive a CREATE_FAILED message for the single stack or the underlying module’s CloudFormation stacks during the stack deployment.

Resolution

Complete the following steps to resolve this issue:

  1. Sign in to the CloudFormation console.

  2. From the list of CloudFormation stacks, select any stack that is in ROLLBACK_COMPLETE state. This could be an underlying module’s specific stack or the single-click scene-intelligence-with-rosbag-on-aws-create stack.

  3. Delete the stack by following the instructions for Deleting a stack on the AWS CloudFormation console in the AWS CloudFormation User Guide.

  4. Modify the scene-intelligence-with-rosbag-on-aws-create.template CloudFormation template by following these steps:

    1. Download the template.

    2. Change the wait condition names. Wait condition names must be unique on every creation of a CloudFormation stack. The following is an example on how to modify the wait condition handler name from CodeBuildRunWaitConditionHandler01 to CodeBuildRunWaitConditionHandler02, and update the CallbackUrl to reflect the changed wait condition handler name under CodeBuildRun custom resource.

      ## Update WaitConditionHandle Logical Id CodeBuildRun: Type: AWS::CloudFormation::CustomResource Properties: ServiceToken: !GetAtt CodeBuildLambda.Arn BuildProjectName: ! Ref CreateUpdateCodeBuildProject CallbackUrl: !Ref CodeBuildRunWaitConditionHandler01 # Update Here CodeBuildRunWaitConditionHandler01 # Update Here Type: AWS::CloudFormation::WaitConditionHandle ## Example of Updated Template Content CodeBuildRun: Type: AWS::CloudFormation::CustomResource Properties: ServiceToken: !GetAtt CodeBuildLambda.Arn BuildProjectName: ! Ref CreateUpdateCodeBuildProject CallbackUrl: !Ref CodeBuildRunWaitConditionHandler02 # Update Here CodeBuildRunWaitConditionHandler02 # Update Here Type: AWS::CloudFormation::WaitConditionHandle
  5. Create a new deployment using the modified scene-intelligence-with-rosbag-on-aws-create.template CloudFormation template by following the instructions in Launch the stack.