-
Notifications
You must be signed in to change notification settings - Fork 18
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
No feedback when error occur during planning execution #159
Comments
@ashokponkumar any chance this bug will be handled? |
@seshapad @HarikrishnanBalagopal Any thoughts on a fix for this issue? |
FYI, it appears that the logs in the log file |
The weird error originates from here https://github.com/konveyor/move2kube/blob/main/common/vcs/git.go#L260 By setting the loc to Warning instead of Debug I see the follwing log:
which confirm my above assumption. I'll create a PR to clean the folder and to better log what is happening |
Thanks @gabriel-farache . Please let us know when the PR is ready for review |
@ashokponkumar My PR is ready for review, please let me know your feedback. |
@ashokponkumar do you know when a new release with the fixes can be released? |
@HarikrishnanBalagopal @seshapad Can we please trigger a new release? |
Have triggered a new release. |
@HarikrishnanBalagopal Thank you! Now I see a |
@HarikrishnanBalagopal @ashokponkumar Any update on the release? Thx :) |
@gabriel-farache yes please go ahead. |
Describe the bug
When the plan command fails, there is no status change nor feedback given to the user; when getting the plan via the API, we still get 204 response code instead of an error
To Reproduce
Steps to reproduce the behavior:
Command executed should be similar to
plan --name a --plan-progress-port 32881 --log-file m2kcli.log --source git+ssh://bitbucket.com/gfarache31/m2k-test@master --disable-local-execution
Expected behavior
I expect that plan status to change to
failed
or similar and to be able to get the error information via the API (maybe not the full reason but at least that it failed)Screenshots
N/A
Desktop (please complete the following information):
Additional context
Related to konveyor/move2kube-ui#169
The text was updated successfully, but these errors were encountered: