migtools / pvc-migrate

Standalone PVC migration
Apache License 2.0
5 stars 13 forks source link

Adds benchmarks #88

Closed pranavgaikwad closed 4 years ago

pranavgaikwad commented 4 years ago

New benchmark workload

djwhatle commented 4 years ago

@pranavgaikwad hit this error:

(base) [DataGenerator] dwhatley $ >> ansible-playbook playbook.yml -e image=quay.io/djwhatle/benchmark-gen -e namespace=dwhatley-benchmark
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [localhost] *****************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************
ok: [localhost]

TASK [Creating benchmark app] ****************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "error": 500, "msg": "Failed to create object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"No API token found for service account \\\\\"default\\\\\", retry after the token is automatically created and added to the service account\",\"reason\":\"ServerTimeout\",\"details\":{\"name\":\"create pod\",\"kind\":\"serviceaccounts\",\"retryAfterSeconds\":1},\"code\":500}\\n'", "reason": "Internal Server Error", "status": 500}

I ran the same playbook again and it succeeded. Maybe this is a timing thing on the default SA not being available right after project creation?