Closed thehejik closed 1 month ago
It keeps failing, I have to find another way.
What if we create the folder beforehand in BeforeSuite
or something?
It keeps failing, I have to find another way.
In the end I removed the random delay and used --no-ssh-key
flag instead of --generate-ssh-key
. It seems to work.
What does this PR do?
After bumping
azure-cli
on our runner template I noticed that there is a problem with creating ssh keys viaaz aks create ... --generate-ssh-keys
command.I believe the problem is concurrency when ginkgo is trying to provision two clusters in parallel and then two
az aks create
commands are trying to write a new SSH keypair at the same time which leads to this error in CI:~So trying to add a random sleep <0-2s> to prevent this.~ Final solution is to replace
--generate-ssh-key
by--no-ssh-key
flag as we don't need SSH access to nodes.Checklist:
Special notes for your reviewer: