filecoin-project / dealbot

🤖🤝 A bot for making deals
Apache License 2.0
32 stars 10 forks source link

Dealbot not creating bots #345

Open coryschwartz opened 2 years ago

coryschwartz commented 2 years ago

Bug, cannot create bots.

https://protocollabs.slack.com/archives/C01SCJ9MF0U/p1637957177034000

To reproduce the issue, create a bot through the API

▶ curl localhost:8764/regions/mainnet-us-east-1 -X POST -d '{
quote> "id": "testtesttest",
quote> "region": "mainnet-us-east-1",
quote> "tags": [ "test", "cory" ],
quote> "workers": 1
quote> }'

The error message emitted follows:

{"level":"info","ts":"2021-11-28T18:31:37.134Z","logger":"spawner","caller":"spawn/kubernetes.go:62","msg":"could not install charterrunable to build kubernetes objects from release manifest: error validating \"\": error validating data: ValidationError(Service.spec.ports[0]): unknown field \"Protocol\" in io.k8s.api.core.v1.ServicePortreleasetesttesttest"}
dkkapur commented 2 years ago

@coryschwartz do you want to close this one out given the fixes made?