-
Notifications
You must be signed in to change notification settings - Fork 42
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
getting workflow invocation via the CLI panics #240
Comments
Hi @grounded042 - did you have any workflows/invocations created when executing these commands? |
👋 |
Thanks for the info @grounded042 ! I can look into it, unless you want to take a shot at it yourself 😉 |
If I've got some time I can take a look - I did briefly yesterday but ended up getting lost in protobuf world :) |
Ugh, the Protobuf is silly sometimes :) What is the version of the Fission Workflows deployment you were using? It might be that there is a diff in the Protobuf definitions between the CLI and the workflow engine builds that you are using. In that case there is not much that we can, other than outputting a more helpful error, and maybe add a warning to the CLI when there is a version mismatch. |
|
@erwinvaneyk I was able to make some progress on this, but I'm not sure where to look to fix it. When it gets to reading the protobuf response into an object (https://github.com/fission/fission-workflows/blob/master/pkg/apiserver/httpclient/httpclient.go#L96) it panics because there is a null value in there. For example, this will reliably reproduce the problem:
The I'm assuming that whatever is marshaling that object to send it along is what needs to be fixed, but if I'm following things correctly it's just pulling that straight from the store and I didn't have the time to figure out what was putting that object there or how it marshaled it either. |
Fission / Workflows Version
k8s Version
v1.13.2
Commands Run
after getting the fortunewhale example setup
Expected Output
It should output a list of invocations
Other Notes
I poked around a little bit and it seems like it gets the list of invocations, but then errors trying to get the details of one. I was able to verify this by running
$ fission-workflows wfi get wi-31ad7292-51ec-4593-bd71-73e903771ec8
which returns a similar error:The text was updated successfully, but these errors were encountered: