Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes installation on Equinix Metal #598

Closed
glazychev-art opened this issue May 25, 2023 · 0 comments · Fixed by #599
Closed

Kubernetes installation on Equinix Metal #598

glazychev-art opened this issue May 25, 2023 · 0 comments · Fixed by #599

Comments

@glazychev-art
Copy link

What steps did you take and what happened:

clusterctl init --infrastructure packet:v0.7.1
clusterctl generate cluster ${CLUSTER_NAME}  \
  --kubernetes-version v1.22.1                             \
  --control-plane-machine-count=1                       \
  --worker-machine-count=1                                 \
  > packet.yaml
kubectl apply -f packet.yaml

What happened:

clusterctl describe cluster nsm-e97877fb --echo
NAME                                                                          READY  SEVERITY  REASON                           SINCE  MESSAGE                                                       
Cluster/nsm-e97877fb                                                          False  Info      WaitingForKubeadmInit            25m                                                                   
├─ClusterInfrastructure - PacketCluster/nsm-e97877fb                                                                                                                                                  
├─ControlPlane - KubeadmControlPlane/nsm-e97877fb-control-plane               False  Info      WaitingForKubeadmInit            25m                                                                   
│ └─Machine/nsm-e97877fb-control-plane-vrk97                                  True                                              25m                                                                   
│   ├─BootstrapConfig - KubeadmConfig/nsm-e97877fb-control-plane-6b9cn        True                                              30m                                                                   
│   └─MachineInfrastructure - PacketMachine/nsm-e97877fb-control-plane-hn77h  True                                              25m                                                                   
└─Workers                                                                                                                                                                                             
  └─MachineDeployment/nsm-e97877fb-worker-a                                   False  Warning   WaitingForAvailableMachines      30m    Minimum availability requires 1 replicas, current 0 available  
    └─Machine/nsm-e97877fb-worker-a-5fbdbd5d7x65qc6-cdj88                     False  Info      WaitingForBootstrapData          29m    0 of 2 completed                                               
      ├─BootstrapConfig - KubeadmConfig/nsm-e97877fb-worker-a-h2dlj           False  Info      WaitingForControlPlaneAvailable  30m                                                                   
      └─MachineInfrastructure - PacketMachine/nsm-e97877fb-worker-a-nrhwj     False  Info      WaitingForBootstrapData          30m    0 of 1 completed                                               

What did you expect to happen:
ControlPlane installed successfully

Anything else you would like to add:
There is a problem installing Kubernetes. Logs from journalctl:

...
May 25 05:36:43 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: Err:4 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
May 25 05:36:43 nsm-e97877fb-control-plane-hn77h cloud-init[2702]:   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
May 25 05:36:44 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: Reading package lists...
May 25 05:36:44 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: W: GPG error: https://packages.cloud.google.com/apt kubernetes-xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY>
May 25 05:36:44 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: E: The repository 'https://apt.kubernetes.io kubernetes-xenial InRelease' is not signed.
May 25 05:36:45 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: Reading package lists...
May 25 05:36:45 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: Building dependency tree...
May 25 05:36:45 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: Reading state information...
May 25 05:36:45 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: E: Unable to locate package kubelet
May 25 05:36:45 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: E: Unable to locate package kubeadm
May 25 05:36:45 nsm-e97877fb-control-plane-hn77h cloud-init[2702]: E: Unable to locate package kubectl
...

It looks like that this is the same problem - kubernetes/release#2862
Can we modify the configuration?

Thanks in advance

@glazychev-art glazychev-art changed the title Kubernetes installation Kubernetes installation on Equinix Metal Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant