N.B. the error mentions the namespace longhorn-system. That's me trying that namespace. I've also tried it without specifying that namespace. Then the default namespace will be used.
When I use KCLI to create a K3S cluster on the RancherLabs Harvester platform.
My KCLI cmd is: kcli create kube k3s --paramfile k3s-test_deploy_parms.yml --force
What you expected to happen:
That KCLI is successfull in cloning the required disks for K3S master and worker nodes. Instead I find that error in the logs of the cdi-deployment... Pod.
How to reproduce it (as minimally and precisely as possible):
Install Harvest, e.g. an ISO install. See this blog
Install KCLI, e.g. with the container method. See here
Setup KCLI config to use the kubevirt provider. Read here
Execute kcli info kube k3s to get the parameters to use when deploying K3S with the cmd (kcli create kube k3s --paramfile k3s-test_deploy_parms.yml --force) mentioned above
Sounds like an issue with harverster to me. The message indicates that a clone is failing due to a token not being valid. The most likely issue is that the token expired before harvester started the clone.
What happened: I get this error:
N.B. the error mentions the namespace longhorn-system. That's me trying that namespace. I've also tried it without specifying that namespace. Then the default namespace will be used.
When I use KCLI to create a K3S cluster on the RancherLabs Harvester platform.
My KCLI cmd is:
kcli create kube k3s --paramfile k3s-test_deploy_parms.yml --force
What you expected to happen:
That KCLI is successfull in cloning the required disks for K3S master and worker nodes. Instead I find that error in the logs of the cdi-deployment... Pod.
How to reproduce it (as minimally and precisely as possible):
kcli info kube k3s
to get the parameters to use when deploying K3S with the cmd (kcli create kube k3s --paramfile k3s-test_deploy_parms.yml --force
) mentioned abovekcli create kube k3s --paramfile k3s-test_deploy_parms.yml --force
Anything else we need to know?:
Environment:
kubectl get deployments cdi-deployment -o yaml
): v1.26.1kubectl version
): v1.19.4+k3s1 (Harvester)Thank you very much