adamant-kite-43734
02/17/2025, 10:54 AMabundant-account-48953
02/17/2025, 11:08 AM/sdk
should be right.abundant-account-48953
02/17/2025, 11:10 AM/sdk gives 404When does this happen?
powerful-easter-15334
02/17/2025, 11:10 AMpowerful-easter-15334
02/17/2025, 11:11 AMabundant-account-48953
02/17/2025, 11:11 AMVmwareSource
with the endpoint and don't forget to apply the Secret
powerful-easter-15334
02/17/2025, 11:12 AMpowerful-easter-15334
02/17/2025, 11:12 AMpowerful-easter-15334
02/17/2025, 11:12 AMabundant-account-48953
02/17/2025, 11:14 AMpowerful-easter-15334
02/17/2025, 11:14 AMabundant-account-48953
02/17/2025, 11:14 AMpowerful-easter-15334
02/17/2025, 11:15 AMpowerful-easter-15334
02/17/2025, 11:15 AMabundant-account-48953
02/17/2025, 11:15 AMI haven't started a vm import yet. I only created the source and secretYou'll find useful information there even if you do not start the import. There are logs about the validation of the VmwareSource resource as well.
powerful-easter-15334
02/17/2025, 11:17 AMabundant-account-48953
02/17/2025, 11:18 AMpowerful-easter-15334
02/17/2025, 11:22 AMvirtualmachineimport.migration.harvesterhci
.io
Which gives: Import Status: virtualMachineInvalid
powerful-easter-15334
02/17/2025, 11:22 AMabundant-account-48953
02/17/2025, 11:22 AMharvester-system/harvester-vm-import-controller-xxxxx
powerful-easter-15334
02/17/2025, 11:23 AMpowerful-easter-15334
02/17/2025, 11:27 AMtime="2025-02-17T11:07:21Z" level=error msg="error syncing 'default/vcsim': handler vmware-migration-change: error generating vmware client for vmware migration: vcsim: error creating vim client: GET \"/sdk\": 404 Not Found, requeuing"
With the following further down the logs
time="2025-02-17T11:10:08Z" level=error msg="error syncing 'default/vcsim': handler vmware-migration-change: error generating vmware client for vmware migration: vcsim: error during login :ServerFaultCode: Permission to perform this operation was denied., requeuing"
powerful-easter-15334
02/17/2025, 11:29 AMerror syncing 'default/vcsim': handler vmware-migration-change: error generating vmware client for vmware migration: vcsim: error creating vim client: POST \"/rest\": 404 Not Found, requeuing
abundant-account-48953
02/17/2025, 11:33 AMpowerful-easter-15334
02/17/2025, 11:34 AMpowerful-easter-15334
02/17/2025, 11:34 AMpowerful-easter-15334
02/17/2025, 11:40 AMabundant-account-48953
02/17/2025, 11:45 AMMaybe another thing to add is that vsphere uses self-signed certs so when i go to it in my browser I have to "accept the risk and continue"I think that's no problem, i have to do that on out test system as well. Are you sure you do not have to configure the
dc
in your setup?abundant-account-48953
02/17/2025, 11:47 AMpowerful-easter-15334
02/17/2025, 11:48 AMpowerful-easter-15334
02/17/2025, 11:50 AMpowerful-easter-15334
02/20/2025, 5:35 AMpowerful-easter-15334
02/20/2025, 5:37 AMfailed to verfiy client for vmware migration" apiVersion=<http://migration.harvesterhci.io/v1beta1|migration.harvesterhci.io/v1beta1> err="datacenter '/' not found" kind=VmwareSource name=vcsim namespace=default
The migration pod threw the following. Just knowing where to look in the UI would be super helpfulpowerful-easter-15334
02/20/2025, 6:25 AMpowerful-easter-15334
02/20/2025, 6:28 AMhandler vmware-migration-change: error generating vmware client for vmware migration: vcsim: error during login :ServerFaultCode: Permission to perform this operation was denied., requeuing
Now I am logged in as root (root creds in the secret), so I'm not sure what permissions (if any) could be missing πpowerful-easter-15334
02/20/2025, 11:09 AMpowerful-easter-15334
02/20/2025, 11:38 AMpowerful-easter-15334
02/20/2025, 11:38 AMpowerful-easter-15334
02/20/2025, 11:43 AMabundant-account-48953
02/20/2025, 11:58 AMerror looking up storageclass ...
or error generating migration in preflight checks ...
or migration not yet ready. current status is ...
.powerful-easter-15334
02/20/2025, 1:13 PMtime="2025-02-20T11:35:12Z" level=info msg="Applying CRD <http://vmwaresources.migration.harvesterhci.io|vmwaresources.migration.harvesterhci.io>"
time="2025-02-20T11:35:12Z" level=info msg="Applying CRD <http://openstacksources.migration.harvesterhci.io|openstacksources.migration.harvesterhci.io>"
time="2025-02-20T11:35:13Z" level=info msg="Applying CRD <http://virtualmachineimports.migration.harvesterhci.io|virtualmachineimports.migration.harvesterhci.io>"
time="2025-02-20T11:35:14Z" level=info msg="Starting <http://storage.k8s.io/v1|storage.k8s.io/v1>, Kind=StorageClass controller"
time="2025-02-20T11:35:14Z" level=info msg="Starting <http://migration.harvesterhci.io/v1beta1|migration.harvesterhci.io/v1beta1>, Kind=VmwareSource controller"
time="2025-02-20T11:35:14Z" level=info msg="Starting <http://migration.harvesterhci.io/v1beta1|migration.harvesterhci.io/v1beta1>, Kind=OpenstackSource controller"
time="2025-02-20T11:35:14Z" level=info msg="reoncilling vmware migration default/vcsim"
time="2025-02-20T11:35:14Z" level=info msg="Starting <http://migration.harvesterhci.io/v1beta1|migration.harvesterhci.io/v1beta1>, Kind=VirtualMachineImport controller"
time="2025-02-20T11:35:14Z" level=info msg="Starting <http://harvesterhci.io/v1beta1|harvesterhci.io/v1beta1>, Kind=VirtualMachineImage controller"
time="2025-02-20T11:35:14Z" level=error msg="The VM import spec is invalid" name=my-tracker-svr namespace=default spec.virtualMachineName="My Tracker Server"
time="2025-02-20T11:35:14Z" level=info msg="found dc :Datacenter:datacenter-2 @ /LSL-DTC-01"
time="2025-02-20T11:35:14Z" level=info msg="reoncilling vmware migration default/vcsim"
powerful-easter-15334
02/20/2025, 1:17 PMpowerful-easter-15334
02/20/2025, 5:00 PMpowerful-easter-15334
02/20/2025, 7:35 PMtime="2025-02-20T19:33:00Z" level=error msg="vm migration target Test Tracker Server in VM test-tracker in namespace default is not RFC 1123 compliant"
time="2025-02-20T19:33:00Z" level=error msg="The VM import spec is invalid" name=mantis-bug-tracker namespace=default spec.virtualMachineName="Test Tracker Server"
So "Test Tracker Server" is my VM's name in VMWare. I assume the name doesn't work here πabundant-account-48953
03/12/2025, 10:42 AM