fix asg bug#115
Open
janus-anderwelt wants to merge 1 commit into
Open
Conversation
arturrez
approved these changes
Sep 29, 2023
|
can we please merge it ? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
12:14:42 + AWS_DEFAULT_REGION=eu-central-1 amicleaner --mapping-key tags --mapping-values Application --keep-previous 16 --force-delete --full-report
12:14:44
12:14:44 Default values : ==>
12:14:44 mapping_key : tags
12:14:44 mapping_values : ['Application']
12:14:44 excluded_mapping_values : []
12:14:44 keep_previous : 16
12:14:44 ami_min_days : -1
12:14:44
12:14:44 Retrieving AMIs to clean ...
12:14:44 Traceback (most recent call last):
12:14:44 File "/usr/local/bin/amicleaner", line 8, in
12:14:44 sys.exit(main())
12:14:44 File "/usr/local/lib/python3.9/dist-packages/amicleaner/cli.py", line 195, in main
12:14:44 app.run_cli()
12:14:44 File "/usr/local/lib/python3.9/dist-packages/amicleaner/cli.py", line 165, in run_cli
12:14:44 candidates = self.prepare_candidates()
12:14:44 File "/usr/local/lib/python3.9/dist-packages/amicleaner/cli.py", line 66, in prepare_candidates
12:14:44 candidates_amis = candidates_amis or self.fetch_candidates()
12:14:44 File "/usr/local/lib/python3.9/dist-packages/amicleaner/cli.py", line 53, in fetch_candidates
12:14:44 excluded_amis += f.fetch_zeroed_asg()
12:14:44 File "/usr/local/lib/python3.9/dist-packages/amicleaner/fetch.py", line 70, in fetch_zeroed_asg
12:14:44 resp = self.asg.describe_launch_configurations(
12:14:44 File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 514, in _api_call
12:14:44 return self._make_api_call(operation_name, kwargs)
12:14:44 File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 901, in _make_api_call
12:14:44 request_dict = self._convert_to_request_dict(
12:14:44 File "/usr/local/lib/python3.9/dist-packages/botocore/client.py", line 962, in _convert_to_request_dict
12:14:44 request_dict = self._serializer.serialize_to_request(
12:14:44 File "/usr/local/lib/python3.9/dist-packages/botocore/validate.py", line 381, in serialize_to_request
12:14:44 raise ParamValidationError(report=report.generate_report())
12:14:44 botocore.exceptions.ParamValidationError: Parameter validation failed:
12:14:44 Invalid length for parameter LaunchConfigurationNames[0], value: 0, valid min length: 1
12:14:44 Invalid length for parameter LaunchConfigurationNames[1], value: 0, valid min length: 1
[Pipeline] }
12:14:44 Failed in branch clean_eucentral