You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
confirm that three hosts are picked up by cluster api
~/capi kubectl get byohosts 05:19:13
NAME OSNAME OSIMAGE ARCH
ip-172-31-4-123 linux Ubuntu 20.04.6 LTS amd64
ip-172-31-6-20 linux Ubuntu 20.04.6 LTS amd64
ip-172-31-8-92 linux Ubuntu 20.04.6 LTS amd64
Generate cluster manifest with clusterctl
export CONTROL_PLANE_ENDPOINT_IP=172.31.2.232 # this is IP of a byoh host
clusterctl generate cluster byoh-cluster \
--infrastructure byoh \
--kubernetes-version v1.24.2 \
--control-plane-machine-count 3 \
--worker-machine-count
-- Apply the manifest
Observe log in one of the host and saw
+ imgpkg pull -r -i projects.registry.vmware.com/cluster_api_provider_bringyourownhost/byoh-bundle-ubuntu_20.04.1_x86-64_k8s:v1.24.2 -o /var/lib/byoh/bundles/projects.registry.vmware.com/cluster_api_provider_bringyourownhost/byoh-bundle-ubuntu_20.04.1_x86-64_k8s:v1.24.2
imgpkg: Error: Cannot use --recursive (-r) flag when pulling a bundle
What did you expect to happen:
Cluster is created
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
With help Dharmjit i found that there is imgpkg installed in my host with version 0.3x.* that does not support --recursive. after remove the imgpkg in my host, it got pass the error but stuck at
although it got pass the error, i think we should still fix the installation script.
@phamquy, This is a good find, Script[here] needs to be updated to check for the imgpkg version as well in the Host to limit any issues due to version mismatch. Let me know if you are interested in raising a PR for this.
What steps did you take and what happened:
I follow the instruction from this link https://github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/blob/main/docs/getting_started.md with the following setup
confirm that three hosts are picked up by cluster api
-- Apply the manifest
What did you expect to happen:
Cluster is created
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version --short
):/etc/os-release
):The text was updated successfully, but these errors were encountered: