-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conan: fix ongoing cleanup errors (#85)
- bump aws-nuke to v3.26.0 - Instances setup with the disable-stop-protection were not deleted by aws-nuke. => Enable the DisableStopProtection option for aws-nuke. - add a 'debug' environment variable to better control output of conan by default improve output of conan by being a little bit less verbose. - EC2Images: include disabled and deprecated images + disable deregistration protection disabled, deprecated images or images with deregistration protection weren't deleted by aws-nuke - `manual_cleanup.py`: Release EIP that are in a NetworkBorderGroup - aws-nuke misses them. - `manual_cleanup.py`: VPC can't be deleted when they have a VPC Lattice target group registered. Delete VPC Lattice target groups and targets and deregister it from the VPC. - Improve output of the ansible playbook by reducing noise: * add the `--quiet` option to the aws-nuke command * do not include `stdout` and `stderr` in the output of the register for the aws-nuke task `stdout_lines` and `stderr_lines` are enough and more readable. - `requirements.txt`: do not pin versions of python modules. Instead, use the latest version of each module those will be baked into the container image. That is useful here to have the DeletionMode option for the `delete_stack()` function for deleting faulty cloudformation stacks. - Add duration of the "cleanup" run at the end for each sandbox. ``` 2024-10-09T06:39:11+00:00 sandbox123 reset took 30m20s ``` - Cloudformation stacks are sometimes stuck in DELETE_FAILED because a resource part of the stack is already deleted. in `manual_cleanup.py` use the `FORCE_DELETE_STACK` option. - Fix some Ansible deprecation warnings
- Loading branch information
Showing
9 changed files
with
219 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ RUN make sandbox-list | |
FROM registry.access.redhat.com/ubi8/ubi:latest | ||
MAINTAINER Guillaume Coré <[email protected]> | ||
|
||
ARG AWSNUKE_VERSION=v3.22.0 | ||
ARG AWSNUKE_VERSION=v3.26.0 | ||
ARG AWSNUKE_LEGACY_VERSION=v2.25.0 | ||
ARG RUSH_VERSION=v0.5.4 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
ansible-core==2.15.6 | ||
boto3==1.29.5 | ||
botocore==1.32.5 | ||
cffi==1.16.0 | ||
colorama==0.4.6 | ||
cryptography==41.0.5 | ||
decorator==5.1.1 | ||
distro==1.8.0 | ||
dnspython==2.4.2 | ||
docutils==0.20.1 | ||
gssapi==1.8.3 | ||
importlib-resources==5.0.7 | ||
ipa==4.10.2 | ||
ipaclient==4.10.2 | ||
ipalib==4.10.2 | ||
ipaplatform==4.10.2 | ||
ipapython==4.10.2 | ||
Jinja2==3.1.2 | ||
jmespath==1.0.1 | ||
MarkupSafe==2.1.3 | ||
netaddr==0.9.0 | ||
packaging==23.2 | ||
psutil==5.9.6 | ||
pyasn1==0.5.1 | ||
pyasn1-modules==0.3.0 | ||
pycparser==2.21 | ||
pypng==0.20220715.0 | ||
python-dateutil==2.8.2 | ||
PyYAML==6.0.1 | ||
qrcode==7.4.2 | ||
resolvelib==1.0.1 | ||
rsa==4.9 | ||
s3transfer==0.7.0 | ||
selinux==0.3.0 | ||
six==1.16.0 | ||
typing_extensions==4.8.0 | ||
urllib3==1.26.18 | ||
ansible-core | ||
boto3 | ||
botocore | ||
cffi | ||
colorama | ||
cryptography | ||
decorator | ||
distro | ||
dnspython | ||
docutils | ||
gssapi | ||
importlib-resources | ||
ipa | ||
ipaclient | ||
ipalib | ||
ipaplatform | ||
ipapython | ||
Jinja2 | ||
jmespath | ||
MarkupSafe | ||
netaddr | ||
packaging | ||
psutil | ||
pyasn1 | ||
pyasn1-modules | ||
pycparser | ||
pypng | ||
python-dateutil | ||
PyYAML | ||
qrcode | ||
resolvelib | ||
rsa | ||
s3transfer | ||
selinux | ||
six | ||
typing_extensions | ||
urllib3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.