Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 396 forks source link

v0.11.0-rc1: draft logs error: seek ...: invalid argument #557

Closed bacongobbler closed 6 years ago

bacongobbler commented 6 years ago

When using v0.11.0-rc1, I am seeing errors calling draft logs on a failing build:

><> draft up
Draft Up Started: 'example-go'
example-go: Building Docker Image: FAIL ❌  (1.0026s)
example-go: Build ID: 01C8DQY3HXWCWRVR9TX4TWTWZT
><> draft logs example-go 01C8DQY3HXWCWRVR9TX4TWTWZT
Error: error getting logs from server: rpc error: code = Unknown desc = seek /tmp/draft-logs869081101/01C8DQY3HXWCWRVR9TX4TWTWZT: invalid argument
><> draft version
Client: &version.Version{SemVer:"v0.11.0-rc1", GitCommit:"5c9c07809e5f67e8a2711fff5fa5c89ba4bd2d9f", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v0.11.0-rc1", GitCommit:"5c9c07809e5f67e8a2711fff5fa5c89ba4bd2d9f", GitTreeState:"clean"}
bacongobbler commented 6 years ago

I found that this doesn't happen on a failed build, but most calls to draft logs.

bacongobbler commented 6 years ago

after extensive testing by myself and @fibonacci1729, neither of us were able to reproduce the issue. It's possibly a misconfigured cluster or my setup was in a weird state. Regardless we can close this, but let's re-open if this comes up again. :)