Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogPipelinelogBucketNotifications183A08DA: An error occurred (InvalidArgument) when calling the PutBucketNotificationConfiguration operation: Unable to validate the following destination configurations #12

Open
SeagullTian opened this issue Jul 20, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@SeagullTian
Copy link

Describe the bug

Face following error during the deployment:

Received response status [FAILED] from custom resource. Message returned: Error: An error occurred (InvalidArgument) when calling the PutBucketNotificationConfiguration operation: Unable to validate the following destination configurations

Logical ID: LogPipelinelogBucketNotifications183A08DA

May I ask if there's any insight how to solve this problem?

Thanks in advance.

Expected Behavior

Make this deployment work

Current Behavior

Deployment Failure with error:

Received response status [FAILED] from custom resource. Message returned: Error: An error occurred (InvalidArgument) when calling the PutBucketNotificationConfiguration operation: Unable to validate the following destination configurations

Reproduction Steps

Use the Template for China Region and it will face the error

Possible Solution

No response

Additional Information/Context

No response

Log Hub Version

N/A

AWS Region. e.g., us-east-1

cn-north-1

Other information

No response

@SeagullTian SeagullTian added the bug Something isn't working label Jul 20, 2022
@SeagullTian SeagullTian changed the title LogPipelinelogBucketNotifications183A08DA: Deployment Failure LogPipelinelogBucketNotifications183A08DA: An error occurred (InvalidArgument) when calling the PutBucketNotificationConfiguration operation: Unable to validate the following destination configurations Jul 20, 2022
@YikaiHu
Copy link
Contributor

YikaiHu commented Jul 20, 2022

Hi @SeagullTian , could you please check the region of your log source bucket? It should be the same as your Log Hub deploy region (cn-north-1).
This error log seems like caused by the failure of S3 notification creation.

@SeagullTian
Copy link
Author

SeagullTian commented Jul 20, 2022 via email

@YikaiHu
Copy link
Contributor

YikaiHu commented Jul 20, 2022

Hi @SeagullTian , what's the type of the Log in this pipeline?
And can you provide the earliest error message in CloudFormation Stack's event?

@SeagullTian
Copy link
Author

WAF Log, I'm not sure if this is what you ask for.

as you can see, the error I shared is the earliest one.
image

i also tried to check the CloudWatch log but it seems useless:
image

@YikaiHu
Copy link
Contributor

YikaiHu commented Jul 21, 2022

Hi @SeagullTian , sorry for the late reply.

According to our experiments, we found that this is an open issue related to AWS S3 notification. We will continue to follow the progress of this root issue aws/aws-cdk#18090.

The workaround is delete this WAF Log Pipeline in Log Hub console and recreated one.

@SeagullTian
Copy link
Author

May i ask if there's an ETA for the fix? Even I tried to create the S3Notification manually in Management Console does NOT help.
image

Currently, I'm not able to use LogHub console to recreate a pipeline. Please let me know if there's any other way we can do this.

@owenCCY
Copy link
Contributor

owenCCY commented Jul 21, 2022

Hi @SeagullTian, thanks for your info and we have added this issue in our backlog. For now, this issue can not be fixed and we are also waiting for CDK team's update. Sorry for the inconvenience, I will end this thread for now.

@owenCCY owenCCY closed this as completed Jul 21, 2022
@owenCCY owenCCY reopened this Jul 22, 2022
@owenCCY owenCCY reopened this Jul 22, 2022
@owenCCY owenCCY closed this as completed Jul 25, 2022
@JoeShi JoeShi reopened this Dec 5, 2022
@wchaws
Copy link
Contributor

wchaws commented Dec 13, 2023

Root cause: aws/aws-cdk#18090 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants