-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the server could not find the requested resource #22
Comments
Can you paste the cns-manager container logs for volume migration? |
|
Can you list and see if you have any csinodetopology object in your source volume k8s cluster? The output should be something like this:
In your setup, CNS manager is unable to find the CSINodeTopology CR that vSphere CSI driver creates during node discovery which contains the topology labels for a CSI node. CNS manager relies on it to get the topology information for k8s cluster nodes. |
Hey same issue here. The cluster was deployed with Rancher. The "add-on" section during the cluster deployment in rancher with vsphere node driver was used to deployed CSI storage plugin. When I try to get csinodetopologies their is no resources :/
It's possible to create it post CSI deployment ?
Thanks :) |
Hey, I updated the kube cluster and also updated CSI config (through rancher add-on) Now I can submit new volume migration jobs but I have an issue with the x509 for the cluster registered to the cns-manager. apiVersion: v1
kind: Config
clusters:
- cluster:
insecure-skip-tls-verify: true
server: https://xxx
name: cnsmgr-cluster
...
The error returned by the cns-manager:
If you have any idea, |
Hey, Just for tracking, if that can help someone. I had this x509 issue because rancher act as auth proxy for my workload cluster. If this field is not provided or if After providing base64 encoded full-chain of the rancher server certificate in kubeconfig (in certificate-authority-data field) the volume migration job succeed. Thanks for the help, |
@ccleouf66 We have not tested this with Rancher. Glad you were able to overcome different issues to make it run on Rancher. |
@gohilankit yes, to be honest, I don't remember witch one was not enabled before, but with this features enabled on rancher deploying the CSI plugin, |
Describe the bug
I used the
/datastoreresources
endpoint to find thefcdId
of the volume I want to migrate.When sending the following request I get the error below:
Reproduction steps
/migratevolumes?
with fcdId from/datastoreresources
Expected behavior
Should return job-id
Additional context
No response
The text was updated successfully, but these errors were encountered: