rapid-flag-87720
03/03/2023, 7:40 PMharvester-management:/home/rancher # kubectl get vmwaresource.migration
NAME STATUS
vcsim clusterNotReady
salmon-city-57654
03/06/2023, 8:14 AMrapid-flag-87720
03/08/2023, 5:50 PMapiVersion: v1
kind: Secret
metadata:
name: vsphere-credentials
namespace: default
stringData:
"username": "xxxxxx"
"password": "xxxxxx"
apiVersion: <http://migration.harvesterhci.io/v1beta1|migration.harvesterhci.io/v1beta1>
kind: VmwareSource
metadata:
name: vcsim
namespace: default
spec:
endpoint: "<http://100.80.243.158/sdk>"
dc: "DCO"
credentials:
name: vsphere-credentials
namespace: default
I tested ping from both harvester hosts I have to vsphere IP and the other way around as well, it works both ways with the correct nics and interfaces.govc: Post "<https://100.80.243.158/sdk>": x509: cannot validate certificate for 100.80.243.158 because it doesn't contain any IP SANs
time="2023-02-28T19:22:33Z" level=info msg="Applying CRD <http://vmwaresources.migration.harvesterhci.io|vmwaresources.migration.harvesterhci.io>"
time="2023-02-28T19:22:33Z" level=info msg="Applying CRD <http://openstacksources.migration.harvesterhci.io|openstacksources.migration.harvesterhci.io>"
time="2023-02-28T19:22:34Z" level=info msg="Applying CRD <http://virtualmachineimports.migration.harvesterhci.io|virtualmachineimports.migration.harvesterhci.io>"
time="2023-02-28T19:22:35Z" level=info msg="Starting <http://migration.harvesterhci.io/v1beta1|migration.harvesterhci.io/v1beta1>, Kind=VmwareSource controller"
time="2023-02-28T19:22:35Z" level=info msg="Starting <http://migration.harvesterhci.io/v1beta1|migration.harvesterhci.io/v1beta1>, Kind=OpenstackSource controller"
time="2023-02-28T19:22:35Z" level=info msg="reoncilling vmware migration default/vcsim"
time="2023-02-28T19:22:35Z" level=info msg="Starting <http://migration.harvesterhci.io/v1beta1|migration.harvesterhci.io/v1beta1>, Kind=VirtualMachineImport controller"
time="2023-02-28T19:22:35Z" level=info msg="Starting <http://harvesterhci.io/v1beta1|harvesterhci.io/v1beta1>, Kind=VirtualMachineImage controller"
....... [A bunch of reconciling messages, too long for slack]
time="2023-03-04T23:22:35Z" level=info msg="reoncilling vmware migration default/vcsim"
time="2023-03-05T09:22:35Z" level=info msg="reoncilling vmware migration default/vcsim"
time="2023-03-05T19:22:35Z" level=info msg="reoncilling vmware migration default/vcsim"
time="2023-03-06T05:22:35Z" level=info msg="reoncilling vmware migration default/vcsim"
salmon-city-57654
03/09/2023, 7:53 AMI tried govc as well and got the following error:
IIUC, we are using the govc to verify source vsphere, so it may be the root cause you see the clusterNotReady. Cc @great-bear-19718, would you have any suggestions for this?govc: Post "<https://100.80.243.158/sdk>": x509: cannot validate certificate for 100.80.243.158 because it doesn't contain any IP SANs
great-bear-19718
03/14/2023, 11:59 PM