Installation Troubleshooting¶
This page summarizes some troubles that you may encounter when installing DCE 5.0 and provides corresponding solutions, to help you quickly solve problems.
Podman cannot auto-recover after bootstrapping node restart¶
After the bootstrapping node restarts, wait for kind to start successfully:
- Execute
podman exec
to enter the container. sed -i 's/server: .*:6443/server: https://127.0.0.1:6443/g' /etc/kubernetes/controller-manager.conf
sed -i 's/server: .*:6443/server: https://127.0.0.1:6443/g ' /etc/kubernetes/scheduler.conf
Podman fails to create containers after disabling IPv6
¶
Error message:
Solutions
Re-enable IPv6 or change bootstrapping node base to Docker.
Podman-related issues: https://github.com/containers/podman/issues/13388
Redis get stuck when reinstalling DCE 5.0 in kind cluster¶
Error:
Redis Pod has 0/4 running
status for a long time, prompting: primary ClusterIP can not unset
Solutions:
Delete rfs-mcamel-common-redis
under the mcamel-system
namespace, and then try again.
```shell
kubectl delete svc rfs-mcamel-common-redis -n mcamel-system
```
When using Metallb, the VIP access is blocked and cannot log into DCE¶
-
Check whether the VIP is in the same network segment as the host. In Metallb L2 mode, they should be in the same network segment.
-
If this error occurs after you added a new NIC to the control node in the global cluster, you need to manually declare and configure
L2Advertisement
.Refer to related Metallb issues
Community package: fluent-bit
installation failed¶
Error:
DaemonSet is not ready: insight-system/insight-agent-fluent-bit. 0 out of 2 expected pods are ready
Solutions:
Check if the following key information appears in the Pod log:
[ warn] [net] getaddrinfo(host='mcamel-common-es-cluster-masters-es-http.mcamel-system.svc.cluster.local',errt11):Could not contact DNS servers
If yes, it is a known bug of fluent-bit
bug`, Refer to: https://github.com/aws/aws-for-fluent-bit/issues/233
Error reported during CentOS 7.6 installation¶
Error:
Solutions:
Execute modprobe br_netfilter
on each node where the global service cluster is installed, and wait until br_netfilter
is loaded.
CentOS environment preparation issues¶
Error:
Running yum install docker
reports an error:
Failed to set locale, defaulting to C.UTF-8
CentOS Linux 8 - AppStream 93 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Solutions:
-
Install
glibc-langpack-en
-
If the error persists, try: