Little progress here. Looks like there is an issue in my CAPI deployment.
I have tried the following which changed my error mesg but still my cluster build process failed.
# Initialize the `clusterctl` CLI
export EXP_CLUSTER_RESOURCE_SET=true
export EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION=true
export CLUSTER_TOPOLOGY=true
clusterctl init \
--core cluster-api:${CAPI_VERSION} \
--bootstrap kubeadm:${CAPI_VERSION} \
--control-plane kubeadm:${CAPI_VERSION} \
--infrastructure openstack:${CAPO_VERSION}
# ./kubectl get provider -A
NAMESPACE NAME AGE TYPE PROVIDER VERSION
capi-kubeadm-bootstrap-system bootstrap-kubeadm 17m BootstrapProvider kubeadm v1.5.1
capi-kubeadm-control-plane-system control-plane-kubeadm 17m ControlPlaneProvider kubeadm v1.5.1
capi-system cluster-api 17m CoreProvider cluster-api v1.5.1
capo-system infrastructure-openstack 17m InfrastructureProvider openstack v0.8.0
# Here is my template
# openstack coe cluster template show k8s-v1.27.4
+-----------------------+--------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------+
| insecure_registry | - |
| labels | {'kube_tag': 'v1.27.4'} |
| updated_at | - |
| floating_ip_enabled | True |
| fixed_subnet | - |
| master_flavor_id | m1.medium |
| uuid | 2ddfdf2a-5962-42ee-a2e2-ff9e0b19dbe5 |
| no_proxy | - |
| https_proxy | - |
| tls_disabled | False |
| keypair_id | - |
| public | False |
| http_proxy | - |
| docker_volume_size | - |
| server_type | vm |
| external_network_id | public-network-201 |
| cluster_distro | ubuntu |
| image_id | 7b6130b4-8374-4dd7-b6ff-91e06e6a9afd |
| volume_driver | - |
| registry_enabled | False |
| docker_storage_driver | overlay2 |
| apiserver_port | - |
| name | k8s-v1.27.4 |
| created_at | 2023-12-16T21:50:21+00:00 |
| network_driver | calico |
| fixed_network | - |
| coe | kubernetes |
| flavor_id | m1.medium |
| master_lb_enabled | False |
| dns_nameserver | 8.8.8.8 |
| hidden | False |
| tags | - |
+-----------------------+--------------------------------------+
### create a cluster but there isn't any ERROR message. in status_reason
# openstack coe cluster create --cluster-template k8s-v1.27.4 mycluster4
# openstack coe cluster show mycluster4
+----------------------+--------------------------------------+
| Field | Value |
+----------------------+--------------------------------------+
| status | CREATE_FAILED |
| health_status | None |
| cluster_template_id | 2ddfdf2a-5962-42ee-a2e2-ff9e0b19dbe5 |
| node_addresses | [] |
| uuid | 8eaf2db3-d13c-4849-a517-5528219fc32f |
| stack_id | kube-8kyrq |
| status_reason | |
| created_at | 2023-12-17T20:54:01+00:00 |
| updated_at | 2023-12-17T20:54:08+00:00 |
| coe_version | None |
| labels | {'kube_tag': 'v1.27.4'} |
| labels_overridden | {} |
| labels_skipped | {} |
| labels_added | {} |
| fixed_network | None |
| fixed_subnet | None |
| floating_ip_enabled | True |
| faults | {} |
| keypair | None |
| api_address | None |
| master_addresses | [] |
| master_lb_enabled | False |
| create_timeout | 60 |
| node_count | 1 |
| discovery_url | None |
| docker_volume_size | None |
| master_count | 1 |
| container_version | None |
| name | mycluster4 |
| master_flavor_id | m1.medium |
| flavor_id | m1.medium |
| health_status_reason | {} |
| project_id | 08cae850a5bb47d998da180a7f0e2660 |
+----------------------+--------------------------------------+
Can someone share their CAPI deployment code if I am missing anything?