ks-installer中出现如下的错误
难道是因为 elasticsearch-logging 没有更新成功,然后没有后续更新elasticsearch-logging-curator?
Task 'logging' failed:
******************************************************************************************************************************************************
{
"counter": 108,
"created": "2019-12-26T05:19:55.848226",
"end_line": 109,
"event": "runner_on_failed",
"event_data": {
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "0255ac10-0044-44b3-950b-000000000005",
"playbook": "/kubesphere/playbooks/logging.yaml",
"playbook_uuid": "cf6e32e2-219e-4aae-8e2f-4ba0395d9d57",
"remote_addr": "127.0.0.1",
"res": {
"_ansible_no_log": false,
"changed": true,
"cmd": "/usr/local/bin/helm upgrade --install elasticsearch-logging /etc/kubesphere/logging/elasticsearch-1.22.1.tgz -f /etc/kubesphere/logging/custom-values-elasticsearch.yaml --namespace kubesphere-logging-system\n",
"delta": "0:00:00.735881",
"end": "2019-12-26 05:19:55.831793",
"invocation": {
"module_args": {
"_raw_params": "/usr/local/bin/helm upgrade --install elasticsearch-logging /etc/kubesphere/logging/elasticsearch-1.22.1.tgz -f /etc/kubesphere/logging/custom-values-elasticsearch.yaml --namespace kubesphere-logging-system\n",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2019-12-26 05:19:55.095912",
"stderr": "Error: UPGRADE FAILED: StatefulSet.apps \"elasticsearch-logging-data\" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden",
"stderr_lines": [
"Error: UPGRADE FAILED: StatefulSet.apps \"elasticsearch-logging-data\" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden"
],
"stdout": "",
"stdout_lines": []
},
"role": "ks-logging",
"task": "ks-logging | Deploy elasticsearch-logging",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-logging/tasks/main.yaml:158",
"task_uuid": "0255ac10-0044-44b3-950b-000000000030",
"uuid": "2f0b7c34-2cf3-42bd-b63e-1e0cd77e6da2"
},
"parent_uuid": "0255ac10-0044-44b3-950b-000000000030",
"pid": 21765,
"runner_ident": "logging",
"start_line": 108,
"stdout": "fatal: [localhost]: FAILED! => {\"changed\": true, \"cmd\": \"/usr/local/bin/helm upgrade --install elasticsearch-logging /etc/kubesphere/logging/elasticsearch-1.22.1.tgz -f /etc/kubesphere/logging/custom-values-elasticsearch.yaml --namespace kubesphere-logging-system\\n\", \"delta\": \"0:00:00.735881\", \"end\": \"2019-12-26 05:19:55.831793\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2019-12-26 05:19:55.095912\", \"stderr\": \"Error: UPGRADE FAILED: StatefulSet.apps \\\"elasticsearch-logging-data\\\" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden\", \"stderr_lines\": [\"Error: UPGRADE FAILED: StatefulSet.apps \\\"elasticsearch-logging-data\\\" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden\"], \"stdout\": \"\", \"stdout_lines\": []}",
"uuid": "2f0b7c34-2cf3-42bd-b63e-1e0cd77e6da2"
}