[Tink Server] panic: runtime error: index out of range #559
Labels
area/tink-server
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
If the
ReportActionStatus
RPC is called with the following constraints the Tink server will panic withpanic: runtime error: index out of range
.ReportActionStatus
, for the sameworkflowID
andworkerID
, is called with anActionStatus
ofpb.State_STATE_RUNNING
Tink server will panic with
Expected Behaviour
Current Behaviour
Possible Solution
The offending code is here.
One possible solution is adding something like the following after line 108,
Steps to Reproduce (for bugs)
tink hardware list -q
tink workflow list -q
curl localhost:42114/cert
ReportActionStatus
docker logs -f compose_tink-server_1
Context
Your Environment
Operating System and version (e.g. Linux, Windows, MacOS):
MacOS/Linux
How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:
Sandbox with Vagrant and Virtualbox at commit e3f8d2809997583d164d595ce81b68b081c4a502
Tink server at version
quay.io/tinkerbell/tink:sha-3743d31e
.Link to your project or a code example to reproduce issue:
The text was updated successfully, but these errors were encountered: