Open wang2024666 opened 1 month ago
api pods just process incoming requests. The event post job is what processes the saved incoming event payload.
hi Blake, then we should not call the API or call the job's interface?
From: Blake Niemyjski Date: 2024-09-09 21:43 To: exceptionless/Exceptionless CC: wang2024666; Author Subject: Re: [exceptionless/Exceptionless] cann't get event log from k8s deployment (Issue #1681) api pods just process incoming requests. The event post job is what processes the saved incoming event payload. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
api pods just process incoming requests. The event post job is what processes the saved incoming event payload.
the post job log shows:
[02:50:00 ERR] Job run EventPostsJob failed: Unable to retrieve payload 'q/4ad/4ad9c2a9d7ac492bb9c531ec0739918e.payload'.
[02:50:00 INF] Processing queue entry: id=933d7c6d33204d7c932e8c63945b45a9 type=EventPost attempt=2
[02:50:00 ERR] Unable to get file stream for q/472/4726b1ab644f468e8695399d375d368c.payload: Could not find a part of the path '/app/storage/q/472/4726b1ab644f468e8695399d375d368c.payload'.
System.IO.DirectoryNotFoundException: Could not find a part of the path '/app/storage/q/472/4726b1ab644f468e8695399d375d368c.payload'.
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func
4 createOpenException)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.OpenRead(String path)
at Foundatio.Storage.FolderFileStorage.GetFileStreamAsync(String path, CancellationToken cancellationToken) in /_/src/Foundatio/Storage/FolderFileStorage.cs:line 54
[02:50:00 INF] Item: 933d7c6d33204d7c932e8c63945b45a9, Retry attempts: 1, Retries Allowed: 1, Retry Delay: 0:03:00
[02:50:00 INF] Exceeded retry limit moving to deadletter: 933d7c6d33204d7c932e8c63945b45a9
[02:50:00 INF] Abandon complete: 933d7c6d33204d7c932e8c63945b45a9
[02:50:00 ERR] Job run EventPostsJob failed: Unable to retrieve payload 'q/472/4726b1ab644f468e8695399d375d368c.payload'.
You have to call the api for submission, the EventPostsJob picks up the saved submission to process it. Sounds like you need to configure the storage directory to point to the same folder.
hi Blake, it is means the API pod and the job pod should share the same folder?
From: Blake Niemyjski Date: 2024-09-10 21:33 To: exceptionless/Exceptionless CC: wang2024666; Author Subject: Re: [exceptionless/Exceptionless] cann't get event log from k8s deployment (Issue #1681) You have to call the api for submission, the EventPostsJob picks up the saved submission to process it. Sounds like you need to configure the storage directory to point to the same folder. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Yes, they should both point to the same folder. Sent from my iPhoneOn Sep 11, 2024, at 10:12 PM, wang2024666 @.***> wrote: hi Blake,
it is means the API pod and the job pod should share the same folder?
From: Blake Niemyjski
Date: 2024-09-10 21:33
To: exceptionless/Exceptionless
CC: wang2024666; Author
Subject: Re: [exceptionless/Exceptionless] cann't get event log from k8s deployment (Issue #1681)
You have to call the api for submission, the EventPostsJob picks up the saved submission to process it. Sounds like you need to configure the storage directory to point to the same folder.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
hi all, we deployed Exceptionless on self-hosted K8S, with helm chart from relese v8.15. All pods are running now and we changed the service type to NodePort. Tried to post the API port and it returned 202: post http://10.122.90.50:31038/api/v2/events but we can't get any log from APP page。 we checked the logs od API pod, it seems no log item releated to the api event. any suggestion how can we troubleshoot it now?