Forest-L 目前有两个问题,第一个是在我重复执行installer的时候,redis和某些组件直接跳过;第二个是我清空Helm后报错,我进去installer 简单看了一下相关playbook,发现这么几个问题:
1、在执行redis-install的时候,会check helm 中是否已经deploy了redis,如果有,则退出,所以我再重复执行installer的时候,这一步总是跳过,后来我清空了本地helm中所有的deploy
2、清空Helm之后,重新执行installer,报错信息如下:
TASK [common : Kubesphere | Deploying redis] ***********************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/helm upgrade –install ks-redis /etc/kubesphere/redis-ha -f /etc/kubesphere/custom-values-redis.yaml –set fullnameOverride=redis-ha –namespace kubesphere-system\n”, “delta”: “0:00:00.513084″, “end”: “2020-05-18 01:51:35.452607″, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-05-18 01:51:34.939523”, “stderr”: "Error: UPGRADE FAILED: \“ks-redis\” has no deployed releases", “stderr_lines”: ["Error: UPGRADE FAILED: \“ks-redis\” has no deployed releases"], “stdout”: "", “stdout_lines”: []}
PLAY RECAP *********************************************************************
localhost : ok=25 changed=20 unreachable=0 failed=1 skipped=56 rescued=0 ignored=6