创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:虚拟机,Ubuntu18.04,3个8C的worker
Kubernetes版本信息
1.21.5
容器运行时
docker 20.0.2
KubeSphere版本信息
v3.2.0。在线安装。使用kk安装。
问题是什么
kk显示顺利升级,但是在UI界面,仅有平台显示3.2.0,概览里面的kubesphere版本仍然是3.1.1
查日志是task events failed,但是里面的提示
`Destination directory /kubesphere/kubesphere/fluentbit-operator does not exist"`
又不知道怎么回事,fluentbit守护进程本身是正常的
不知道是不是还有其他问题
**Task 'events' failed:**
**\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\***
**{**
**"counter": 45,**
**"created": "2021-12-11T15:45:45.164761",**
**"end_line": 44,**
**"event": "runner_on_failed",**
**"event_data": {**
**"duration": 1.562587,**
**"end": "2021-12-11T15:45:45.164675",**
**"event_loop": "items",**
**"host": "localhost",**
**"ignore_errors": null,**
**"play": "localhost",**
**"play_pattern": "localhost",**
**"play_uuid": "2a1c6570-ee8c-670a-ebdc-000000000005",**
**"playbook": "/kubesphere/playbooks/events.yaml",**
**"playbook_uuid": "24f096b3-9d01-48e8-9893-4a6da8b88fe2",**
**"remote_addr": "127.0.0.1",**
**"res": {**
**"changed": false,**
**"msg": "All items completed",**
**"results": [**
**{**
**"_ansible_item_label": {**
**"file": "custom-output-elasticsearch-events.yaml",**
**"name": "custom-output-elasticsearch-events"**
**},**
**"_ansible_no_log": false,**
**"ansible_loop_var": "item",**
**"changed": false,**
**"checksum": "3239b185d28983bc4399ad0ee73f2cbbed660154",**
**"diff": [],**
**"failed": true,**
**"invocation": {**
**"module_args": {**
**"_original_basename": "custom-output-elasticsearch-events.yaml.j2",**
**"attributes": null,**
**"backup": false,**
**"checksum": "3239b185d28983bc4399ad0ee73f2cbbed660154",**
**"content": null,**
**"delimiter": null,**
**"dest": "/kubesphere/kubesphere/fluentbit-operator/custom-output-elasticsearch-events.yaml",**
**"directory_mode": null,**
**"follow": false,**
**"force": true,**
**"group": null,**
**"local_follow": null,**
**"mode": null,**
**"owner": null,**
**"regexp": null,**
**"remote_src": null,**
**"selevel": null,**
**"serole": null,**
**"setype": null,**
**"seuser": null,**
**"src": "/home/kubesphere/.ansible/tmp/ansible-tmp-1639237543.6526709-5452-94176832839728/source",**
**"unsafe_writes": null,**
**"validate": null**
**}**
**},**
**"item": {**
**"file": "custom-output-elasticsearch-events.yaml",**
**"name": "custom-output-elasticsearch-events"**
**},**
**"msg": "Destination directory /kubesphere/kubesphere/fluentbit-operator does not exist"**
**},**
**{**
**"_ansible_item_label": {**
**"file": "custom-input-events.yaml",**
**"name": "custom-input-events"**
**},**
**"_ansible_no_log": false,**
**"ansible_loop_var": "item",**
**"changed": false,**
**"checksum": "9f855b1289003f624d145d779b13e91138202e44",**
**"diff": [],**
**"failed": true,**
**"invocation": {**
**"module_args": {**
**"_original_basename": "custom-input-events.yaml.j2",**
**"attributes": null,**
**"backup": false,**
**"checksum": "9f855b1289003f624d145d779b13e91138202e44",**
**"content": null,**
**"delimiter": null,**
**"dest": "/kubesphere/kubesphere/fluentbit-operator/custom-input-events.yaml",**
**"directory_mode": null,**
**"follow": false,**
**"force": true,**
**"group": null,**
**"local_follow": null,**
**"mode": null,**
**"owner": null,**
**"regexp": null,**
**"remote_src": null,**
**"selevel": null,**
**"serole": null,**
**"setype": null,**
**"seuser": null,**
**"src": "/home/kubesphere/.ansible/tmp/ansible-tmp-1639237544.156953-5452-218662654161628/source",**
**"unsafe_writes": null,**
**"validate": null**
**}**
**},**
**"item": {**
**"file": "custom-input-events.yaml",**
**"name": "custom-input-events"**
**},**
**"msg": "Destination directory /kubesphere/kubesphere/fluentbit-operator does not exist"**
**},**
**{**
**"_ansible_item_label": {**
**"file": "custom-filter-events.yaml",**
**"name": "custom-filter-events"**
**},**
**"_ansible_no_log": false,**
**"ansible_loop_var": "item",**
**"changed": false,**
**"checksum": "c8b7b4e13b8637c061d79772d3a8b354892e7104",**
**"diff": [],**
**"failed": true,**
**"invocation": {**
**"module_args": {**
**"_original_basename": "custom-filter-events.yaml.j2",**
**"attributes": null,**
**"backup": false,**
**"checksum": "c8b7b4e13b8637c061d79772d3a8b354892e7104",**
**"content": null,**
**"delimiter": null,**
**"dest": "/kubesphere/kubesphere/fluentbit-operator/custom-filter-events.yaml",**
**"directory_mode": null,**
**"follow": false,**
**"force": true,**
**"group": null,**
**"local_follow": null,**
**"mode": null,**
**"owner": null,**
**"regexp": null,**
**"remote_src": null,**
**"selevel": null,**
**"serole": null,**
**"setype": null,**
**"seuser": null,**
**"src": "/home/kubesphere/.ansible/tmp/ansible-tmp-1639237544.6994648-5452-221075839240457/source",**
**"unsafe_writes": null,**
**"validate": null**
**}**
**},**
**"item": {**
**"file": "custom-filter-events.yaml",**
**"name": "custom-filter-events"**
**},**
**"msg": "Destination directory /kubesphere/kubesphere/fluentbit-operator does not exist"**
**}**
**]**
**},**
**"role": "ks-events",**
**"start": "2021-12-11T15:45:43.602088",**
**"task": "ks-events | Creating manifests",**
**"task_action": "template",**
**"task_args": "",**
**"task_path": "/kubesphere/installer/roles/ks-events/tasks/fluentbit-operator.yaml:1",**
**"task_uuid": "2a1c6570-ee8c-670a-ebdc-000000000022",**
**"uuid": "bfe4a02e-af26-4c19-8980-9e15a952b0f9"**
**},**
**"parent_uuid": "2a1c6570-ee8c-670a-ebdc-000000000022",**
**"pid": 3802,**
**"runner_ident": "events",**
**"start_line": 44,**
**"stdout": "",**
**"uuid": "bfe4a02e-af26-4c19-8980-9e15a952b0f9"**
**}**