adamant-kite-43734
02/12/2024, 12:56 PMbored-painting-68221
02/12/2024, 5:08 PMkubectl get pods -A | grep import
and copy and paste the vm-import-controller pod names into kubectl logs -n NAMESPACE POD_NAME
, though I don't know how chatty it is.great-bear-19718
02/12/2024, 9:48 PMgreat-bear-19718
02/12/2024, 9:49 PMkind-continent-26368
02/13/2024, 3:34 PMkind-continent-26368
02/13/2024, 3:58 PM# kubectl logs vm-import-controller-harvester-vm-import-controller-7f4bf5d6d7j -n harvester-system
time="2024-02-12T17:10:59Z" level=error msg="error syncing 'default/vm-export-test': handler virtualmachine-import-job-change: error in poweroff call: error finding vm in PowerOffVirtualMachine: vm '/Datacenter/vm/idevid-vm' not found, requeuing"
time="2024-02-12T17:11:46Z" level=error msg="error syncing 'default/vm-export-test2': handler virtualmachine-import-job-change: error in poweroff call: error finding vm in PowerOffVirtualMachine: vm '/Datacenter/vm/ubuntu-jammy-converted' not found, requeuing"
This is how we have configured the vCenter.
apiVersion: migration.harvesterhci.io/v1beta1
kind: VmwareSource
metadata:
name: vcsim
namespace: default
spec:
endpoint: "<https://172.26.50.132/sdk>"
dc: "Datacenter"
credentials:
name: vsphere-credentials
namespace: default
The screenshot also shows that the Datacenter is present and valid.great-bear-19718
02/13/2024, 11:57 PMgreat-bear-19718
02/13/2024, 11:58 PMhigh-alligator-99144
02/14/2024, 4:29 AMgreat-bear-19718
02/14/2024, 5:35 AMharvester/harvester
with the screenshot and the message from logsgreat-bear-19718
02/14/2024, 5:35 AMhigh-alligator-99144
02/14/2024, 5:37 AMhigh-alligator-99144
02/14/2024, 6:01 AM