-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
area: integration/aws-cliIssues related to AWS CLIIssues related to AWS CLIarea: integration/terraformIssues related to HashiCorp TerraformIssues related to HashiCorp Terraformaws:cloudwatchAmazon CloudWatchAmazon CloudWatchtype: bugBug reportBug report
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
A 500 error happens in localstack that indicates localstack might need a boto upgrade to get newly added functionality:
2022-12-21T16:51:43.172 INFO --- [ asgi_gw_4] localstack.request.http : POST / => 500
2022-12-21T16:51:48.727 ERROR --- [ asgi_gw_0] l.aws.handlers.logging : exception during call chain
Traceback (most recent call last):
File "/opt/code/localstack/.venv/lib/python3.10/site-packages/botocore/model.py", line 362, in operation_model
model = self._service_description['operations'][operation_name]
KeyError: 'ListTagsForResource'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/code/localstack/localstack/aws/protocol/parser.py", line 172, in wrapper
return func(*args, **kwargs)
File "/opt/code/localstack/localstack/aws/protocol/parser.py", line 895, in parse
operation = self.service.operation_model(operation_name)
File "/opt/code/localstack/.venv/lib/python3.10/site-packages/botocore/utils.py", line 1419, in _cache_guard
result = func(self, *args, **kwargs)
File "/opt/code/localstack/.venv/lib/python3.10/site-packages/botocore/model.py", line 364, in operation_model
raise OperationNotFoundError(operation_name)
botocore.model.OperationNotFoundError: ListTagsForResource
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/code/localstack/localstack/aws/chain.py", line 90, in handle
handler(self, self.context, response)
File "/opt/code/localstack/localstack/aws/handlers/service.py", line 63, in __call__
return self.parse_and_enrich(context)
File "/opt/code/localstack/localstack/aws/handlers/service.py", line 76, in parse_and_enrich
operation, instance = parser.parse(context.request)
File "/opt/code/localstack/localstack/aws/protocol/parser.py", line 176, in wrapper
raise UnknownParserError(
localstack.aws.protocol.parser.UnknownParserError: An unknown error occurred when trying to parse the request.
Expected Behavior
CloudWatch Log group to be successfully created
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack
command, arguments, or docker-compose.yml
)
docker run localstack/localstack
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
awslocal logs create-log-group --log-group-name test
Environment
- OS: Ubuntu 22.04
- LocalStack: latest, and also 1.3.1
Anything else?
No response
nunofernandes and lorengordon
Metadata
Metadata
Assignees
Labels
area: integration/aws-cliIssues related to AWS CLIIssues related to AWS CLIarea: integration/terraformIssues related to HashiCorp TerraformIssues related to HashiCorp Terraformaws:cloudwatchAmazon CloudWatchAmazon CloudWatchtype: bugBug reportBug report