Logging
以下章節包含對 Harvester 日誌記錄進行故障排除的提示。
無法啟用 rancher-logging 附加元件
問題描述
當您嘗試啟用 rancher-logging 附加元件時,Harvester UI 上會出現錯誤訊息。

來自 cattle-logging-system/helm-install-rancher-logging Pod 的日誌訊息確認發生了錯誤。
範例:
...
echo 'Installing helm chart'
...
+ helm install --version ... rancher-logging rancher-logging/rancher-logging ...
...
Error: INSTALLATION FAILED: Unable to continue with install: ClusterRole "logging-admin" in namespace "" exists
and cannot be imported into the current release: invalid ownership metadata;
annotation validation error: key "meta.helm.sh/release-name" must equal "rancher-logging":
current value is "hvst-upgrade-md54b-upgradelog-operator"
