Skip to content

Keep task errors when exception details exceed the database column - #557

Open
fabi200123 wants to merge 1 commit into
cloudbase:mainfrom
fabi200123:truncate-task-exception-details
Open

fabi200123 wants to merge 1 commit into
cloudbase:mainfrom
fabi200123:truncate-task-exception-details

Conversation

@fabi200123

Copy link
Copy Markdown
Contributor

This PR fixes an issue where sometimes yum errors were exceeding the limit of columns in SQL and caused an issue.
Now, we truncate the error so that only the beginning and the end are kept: Coriolis describes the failure first, and the underlying command reports the actual error last.

A long command transcript makes the status update fail, so the task stays running instead of recording the failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant