Closed andrefelixbr closed 5 years ago
@andrefelixbr could you check the provider-component.yaml, is it still point to /root/manager
? please run generate-yaml.sh
to update the yamls since you updated the capv version.
@figo there is no info on provider-component.yaml pointing to "/root/manager". See my provider-components.yaml attached. provider-components.yaml.txt
Actually, I didn't update my capv version. I executed with the latest version first as it didn't work I cloned version v0.3.0 separately and test it.
They are in different folders to be able to test both easily:
@andrefelixbr my previous comment is wrong, that is for the much older version of yaml.
look at your yaml, it is point to image: gcr.io/cnx-cluster-api/vsphere-cluster-api-provider:0.3.0
which is the released version, where are you trying to apply version v0.3.0-65-g14293965
?
@ andrefelixbr Does you cluster.yaml have the correct parameter set in ProviderSpec for vSphere username ?
@figo, if you clone the current version of capv and execute git describe --tags you'll see the version v0.3.0-65-g14293965.
This is image: gcr.io/cnx-cluster-api/vsphere-cluster-api-provider:0.3.0 image version and version v0.3.0-65-g14293965 is the repository tag.
@tkrausjr yes, it does.
@figo, if you clone the current version of capv and execute git describe --tags you'll see the version v0.3.0-65-g14293965.
This is image: gcr.io/cnx-cluster-api/vsphere-cluster-api-provider:0.3.0 image version and version v0.3.0-65-g14293965 is the repository tag.
did u compile base on repo and generate the new image? the new image should be version like
image: gcr.io/cnx-cluster-api/vsphere-cluster-api-provider:14293965
Hi all,
The tags now use git describe
. This is pretty straight-forward and simply an artifact of something handled in the upcoming #412. Here's an example of what to do: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/issues/403#issuecomment-508531894.
Please note that we don't use the Makefile
anymore, and when you generate YAML, please specify the manager image to use with the -m
flag.
PR #412 has been merged. Can you please try with the docs now? Thanks!
Hi @akutz, it works smoothly with new instructions on Get started. Thanks!!
Closing this ticket now.
Thanks @figo and @tkrausjr for the support.
/kind bug
DISCLAIMER: The issue is when using the version v0.3.0-65-g14293965. The latest version for this ticket creation date. It's running fine on version v.0.3.0.
What steps did you take and what happened:
I'm following the get started on CAPV https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/master/docs/getting_started.md. I'm blocked on "Using clusterctl".
I executed the command bellow on out folder :
clusterctl create cluster --provider vsphere --bootstrap-type kind -c cluster.yaml -m machines.yaml -p provider-components.yaml --addon-components addons.yaml -v 10
No cluster created nor clusterapi working properly. After 30 minutes I get "unable to create control plane machine: timed out waiting for the condition". Checking the POD status we can see that POD vsphere-provider-controller-manager-0 can not start.
Command: kubectl get pods --all-namespaces
Executing kubectl logs vsphere-provider-controller-manager-0 -n vsphere-provider-system There is no logs on output.
Finally when we describe the POD: kubectl describe pods vsphere-provider-controller-manager-0 -n vsphere-provider-system we can see this error, What we suspect is the root cause of the problem:
Message: failed to create containerd task: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/manager\": stat /manager: no such file or directory": unknown
What did you expect to happen:
The cluster is created and running on vSphere.
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
I connect to Kind to test the connection to vSphere. It's OK.
docker exec -it bash
No problems with VPN connections. I have a VPN enabled on my local machine and CAPV is connecting through the VPN with no issues.
Environment:
Cluster-api-provider-vsphere version:
v0.3.0-65-g14293965
Kubernetes version: (use
kubectl version
):Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
/etc/os-release
):NAME="Ubuntu" VERSION="18.04.2 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.2 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic