Beta-4 custom issue

Hei,
testing beta-4 and custom cluster type but cluster fails to come up messages like this is appearing

Waiting for API to be available; exit status 1, W0427 07:22:53.593633 7476 factory_object_mapping.go:423] Failed to download OpenAPI (the server has asked for the client to provide credentials), falling back to swagger error: You must be logged in to the server (Unauthorized)

Any workaround?

Answering myself:

  1. docker rm -f $(docker ps -aq)
  2. docker container prune
  3. sudo rm -fr /etc/kubernetes/ /var/lib/etcd/ /etc/cni/ /opt/cni/ /var/run/calico/ (var/lib/etcd was the culprit)
1 Like