Проблема: Не загружаются контакты, недоступны чаты и конференции, в веб-интерфейсе ошибка — «Невозможно синхронизировать адресную книгу», избранные контакты недоступны.

Причина: Не активирована лицензия.
Решение: Активировать лицензию (см. раздел Настройка Elph Nova ->Лицензия).
Проблема: Не работает админ-панель — не прогружаются данные лицензии.

Причина: Под license-service не может разрешить доменное имя сервера elph-nova из-за некорректных настроек DNS.
Решение: Указать в /etc/resolv.conf nameserver(s), разрешающие fqdn сервера elph-nova и перезагрузить coredns. Пример:
sudo echo nameserver 192.168.1.201 > /etc/resolv.conf kubectl rollout restart deployment coredns -n kube-system |
Проблема: Установщик завершил работу с ошибкой — «Error: context deadline exceeded».
Пример ошибки:
TASK [platform-native : Волна 3: установка чартов] *********************************************************************************************************************************************************
changed: [master] => (item=user-status)
changed: [master] => (item=meeting-service)
changed: [master] => (item=chat-server)
changed: [master] => (item=call-history)
changed: [master] => (item=chat-client)
changed: [master] => (item=file-service)
[ERROR]: Task failed: Module failed: Failure when executing Helm command. Exited 1.
stdout: Release "asr-adapter" does not exist. Installing it now.
stderr: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
Error: context deadline exceeded
Origin: /app/roles/platform-native/tasks/wave.yml:8:3
6 # =============================================================================
7
8 - name: "Волна {{ wave }}: установка чартов"
^ column 3
failed: [master] (item=asr-adapter) => {"ansible_loop_var": "item", "changed": false, "command": "/usr/local/bin/helm --version=3.6.* upgrade -i --reset-values --wait --timeout 900s asr-adapter 'helm-elph/asr-adapter'", "item": {"name": "asr-adapter", "wave": 3}, "msg": "Failure when executing Helm command. Exited 1.\nstdout: Release \"asr-adapter\" does not exist. Installing it now.\n\nstderr: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml\nWARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml\nError: context deadline exceeded\n", "stderr": "WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml\nWARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml\nError: context deadline exceeded\n", "stderr_lines": ["WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml", "WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml", "Error: context deadline exceeded"], "stdout": "Release \"asr-adapter\" does not exist. Installing it now.\n", "stdout_lines": ["Release \"asr-adapter\" does not exist. Installing it now."]}
changed: [master] => (item=white-board-backend)
changed: [master] => (item=white-board-web)
changed: [master] => (item=feature-toggles)
[ERROR]: Task failed: Module failed: Failure when executing Helm command. Exited 1.
stdout: Release "push-gateway" does not exist. Installing it now.
stderr: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
Error: context deadline exceeded
Origin: /app/roles/platform-native/tasks/wave.yml:8:3
6 # =============================================================================
7
8 - name: "Волна {{ wave }}: установка чартов"
^ column 3
failed: [master] (item=push-gateway) => {"ansible_loop_var": "item", "changed": false, "command": "/usr/local/bin/helm --version=3.6.* upgrade -i --reset-values --wait --timeout 900s push-gateway 'helm-elph/push-gateway'", "item": {"name": "push-gateway", "wave": 3}, "msg": "Failure when executing Helm command. Exited 1.\nstdout: Release \"push-gateway\" does not exist. Installing it now.\n\nstderr: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml\nWARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml\nError: context deadline exceeded\n", "stderr": "WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml\nWARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml\nError: context deadline exceeded\n", "stderr_lines": ["WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml", "WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml", "Error: context deadline exceeded"], "stdout": "Release \"push-gateway\" does not exist. Installing it now.\n", "stdout_lines": ["Release \"push-gateway\" does not exist. Installing it now."]}
changed: [master] => (item=elph-nova-web)
changed: [master] => (item=elph-admin)
[ERROR]: Task failed: Module failed: Failure when executing Helm command. Exited 1.
stdout: Release "profile-service" does not exist. Installing it now.
stderr: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
WARNING: Kubernetes configuration file is world-readable. |
Причина: Нехватка ресурсов сервера — CPU/RAM/HDD.
Решение: Проверить, каких именно ресурсов не хватает, и увеличить их.
Просмотр события в namespace elph с помощью команды:
kubectl get events -n elph | grep Warning |
В записях будут ошибки «FailedScheduling» или «Evicted».
Пример сообщения при нехватке CPU:
26m Warning FailedScheduling pod/white-board-backend-79c4bdccf7-lj2qd 0/1 nodes are available: 1 Insufficient cpu. no new claims to deallocate, preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod. |
Пример сообщения при нехватке RAM:
3m50s Warning FailedScheduling pod/elph-admin-c59dfdbc6-674tm 0/1 nodes are available: 1 Insufficient memory. no new claims to deallocate, preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod. |
Пример сообщения при нехватке HDD:
116s Warning Evicted pod/rabbitmq-0 The node was low on resource: ephemeral-storage. Threshold quantity: 1499181897, available: 3537000Ki. Container rabbitmq was using 96Ki, request is 0, has larger consumption of ephemeral-storage. |
Определив недостающий ресурс, увеличьте его (процессор, оперативную память или дисковое пространство) в соответствии с системными требованиями.