redhat-developer / redhat-developer/mapt

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

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

Nobody has claimed this yet.

Dominant language
Go
Stars
24
Forks
36
Avg merge
6d 13h
Merged PRs (30d)
8

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

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.