[Bug] mapt/pulumi takes too long to destroy the SNC instance

Open
#627 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws

Research direction

Start by reproducing destruction of an SNC instance and inspect the Pulumi AWS resources involved, especially the autoscaling group and OS shutdown behavior. Done means the main-aos-asg destroy step no longer takes roughly 300–430 seconds, including when the AWS console’s shutdown option is enabled.

Written by the indexing model from the issue text.

Description

when destroying an SNC instance, one step takes very long to complete:

INFO @ destroying...............................................................................................................................................................................................................................................................................................................................................................................................................................................
INFO  -  aws:autoscaling:Group main-aos-asg deleted (430s)
INFO  -  aws:ec2:RouteTable routeTable-publicmain-aos-net0 deleting (0s)
INFO  -  aws:lb:LoadBalancer main-aos-lb deleting (0s)
INFO  -  aws:ec2:LaunchTemplate main-aos-lt deleting (0s)

I don't think this is normal.

This may be related to the OS shutdown, that should be skipped, but even if I destroy the instance with the flag checked from the AWS console, this destroy step takes ~300s.

Image
Dominant language
Go
Stars
26
Forks
41
Avg merge
3d 14h
Merged PRs (30d)
27

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from redhat-developer/mapt

All issues in redhat-developer/mapt

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.