Cauchy 现在其他模块安装失败,也不懂什么问题
task multicluster status is successful
task logging status is failed
task openpitrix status is successful
total: 4 completed:3
**************************************************
task monitoring status is failed
task multicluster status is successful
task logging status is failed
task openpitrix status is successful
total: 4 completed:4
**************************************************
Task 'monitoring' failed:
******************************************************************************************************************************************************
{
"counter": 100,
"created": "2020-07-13T08:50:06.845346",
"end_line": 96,
"event": "runner_on_failed",
"event_data": {
"duration": 19.517614,
"end": "2020-07-13T08:50:06.845208",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "e21389a8-66cc-f4f0-bb3e-000000000005",
"playbook": "/kubesphere/playbooks/monitoring.yaml",
"playbook_uuid": "6ca46133-e4be-45ab-8175-e7c8d035efff",
"remote_addr": "127.0.0.1",
"res": {
"changed": true,
"msg": "All items completed",
"results": [
{
"_ansible_item_label": "etcd",
"_ansible_no_log": false,
"ansible_loop_var": "item",
"attempts": 5,
"changed": true,
"cmd": "/usr/local/bin/kubectl apply -f /etc/kubesphere/prometheus/etcd",
"delta": "0:00:00.526683",
"end": "2020-07-13 16:50:06.793926",
"failed": true,
"failed_when_result": true,
"invocation": {
"module_args": {
"_raw_params": "/usr/local/bin/kubectl apply -f /etc/kubesphere/prometheus/etcd",
"_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
}
},
"item": "etcd",
"msg": "non-zero return code",
"rc": 1,
"start": "2020-07-13 16:50:06.267243",
"stderr": "The Endpoints \"etcd\" is invalid: \n* subsets[0].addresses[0].ip: Invalid value: \"localhost\": must be a valid IP address, (e.g. 10.9.8.7)\n* subsets[0].addresses[0].ip: Invalid value: \"localhost\": must be a valid IP address",
"stderr_lines": [
"The Endpoints \"etcd\" is invalid: ",
"* subsets[0].addresses[0].ip: Invalid value: \"localhost\": must be a valid IP address, (e.g. 10.9.8.7)",
"* subsets[0].addresses[0].ip: Invalid value: \"localhost\": must be a valid IP address"
],
"stdout": "prometheusrule.monitoring.coreos.com/prometheus-k8s-etcd-rules unchanged\nservice/etcd configured\nservicemonitor.monitoring.coreos.com/etcd unchanged",
"stdout_lines": [
"prometheusrule.monitoring.coreos.com/prometheus-k8s-etcd-rules unchanged",
"service/etcd configured",
"servicemonitor.monitoring.coreos.com/etcd unchanged"
]
}
]
},
"role": "ks-monitor",
"start": "2020-07-13T08:49:47.327594",
"task": "ks-monitor | Installing etcd monitoring",
"task_action": "shell",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-monitor/tasks/etcd.yaml:2",
"task_uuid": "e21389a8-66cc-f4f0-bb3e-000000000047",
"uuid": "d33524cc-6dbe-4646-8f36-0e2350f47f22"
},
"parent_uuid": "e21389a8-66cc-f4f0-bb3e-000000000047",
"pid": 13596,
"runner_ident": "monitoring",
"start_line": 96,
"stdout": "",
"uuid": "d33524cc-6dbe-4646-8f36-0e2350f47f22"
}
******************************************************************************************************************************************************
Task 'logging' failed:
******************************************************************************************************************************************************
{
"counter": 91,
"created": "2020-07-13T08:49:25.056234",
"end_line": 93,
"event": "runner_on_failed",
"event_data": {
"duration": 1.029632,
"end": "2020-07-13T08:49:25.055443",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "e21389a8-66cc-49a6-e25f-000000000005",
"playbook": "/kubesphere/playbooks/logging.yaml",
"playbook_uuid": "19098a1e-8f19-48e7-b804-8d52ae7f7221",
"remote_addr": "127.0.0.1",
"res": {
"_ansible_no_log": false,
"changed": true,
"cmd": "/usr/local/bin/kubectl apply -f /etc/kubesphere/logging/fluentbit-operator/init\n",
"delta": "0:00:00.681145",
"end": "2020-07-13 16:49:25.020702",
"invocation": {
"module_args": {
"_raw_params": "/usr/local/bin/kubectl apply -f /etc/kubesphere/logging/fluentbit-operator/init\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": "2020-07-13 16:49:24.339557",
"stderr": "Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply\nThe CustomResourceDefinition \"fluentbits.logging.kubesphere.io\" is invalid: status.storedVersions[0]: Invalid value: \"v1alpha1\": must appear in spec.versions",
"stderr_lines": [
"Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply",
"The CustomResourceDefinition \"fluentbits.logging.kubesphere.io\" is invalid: status.storedVersions[0]: Invalid value: \"v1alpha1\": must appear in spec.versions"
],
"stdout": "clusterrole.rbac.authorization.k8s.io/kubesphere:operator:fluentbit-operator unchanged\nclusterrolebinding.rbac.authorization.k8s.io/kubesphere:operator:fluentbit-operator unchanged\ndeployment.apps/fluentbit-operator unchanged\ncustomresourcedefinition.apiextensions.k8s.io/filters.logging.kubesphere.io configured\ncustomresourcedefinition.apiextensions.k8s.io/fluentbitconfigs.logging.kubesphere.io configured\ncustomresourcedefinition.apiextensions.k8s.io/inputs.logging.kubesphere.io configured\ncustomresourcedefinition.apiextensions.k8s.io/outputs.logging.kubesphere.io configured\nserviceaccount/fluentbit-operator unchanged",
"stdout_lines": [
"clusterrole.rbac.authorization.k8s.io/kubesphere:operator:fluentbit-operator unchanged",
"clusterrolebinding.rbac.authorization.k8s.io/kubesphere:operator:fluentbit-operator unchanged",
"deployment.apps/fluentbit-operator unchanged",
"customresourcedefinition.apiextensions.k8s.io/filters.logging.kubesphere.io configured",
"customresourcedefinition.apiextensions.k8s.io/fluentbitconfigs.logging.kubesphere.io configured",
"customresourcedefinition.apiextensions.k8s.io/inputs.logging.kubesphere.io configured",
"customresourcedefinition.apiextensions.k8s.io/outputs.logging.kubesphere.io configured",
"serviceaccount/fluentbit-operator unchanged"
]
},
"role": "ks-logging",
"start": "2020-07-13T08:49:24.025811",
"task": "ks-logging | Prepare fluentbit operator setup",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-logging/tasks/main.yaml:82",
"task_uuid": "e21389a8-66cc-49a6-e25f-00000000002d",
"uuid": "c8fd3d97-0e33-4bf3-a7f2-b2087d91098a"
},
"parent_uuid": "e21389a8-66cc-49a6-e25f-00000000002d",
"pid": 13599,
"runner_ident": "logging",
"start_line": 92,
"stdout": "fatal: [localhost]: FAILED! => {\"changed\": true, \"cmd\": \"/usr/local/bin/kubectl apply -f /etc/kubesphere/logging/fluentbit-operator/init\\n\", \"delta\": \"0:00:00.681145\", \"end\": \"2020-07-13 16:49:25.020702\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2020-07-13 16:49:24.339557\", \"stderr\": \"Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply\\nThe CustomResourceDefinition \\\"fluentbits.logging.kubesphere.io\\\" is invalid: status.storedVersions[0]: Invalid value: \\\"v1alpha1\\\": must appear in spec.versions\", \"stderr_lines\": [\"Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply\", \"The CustomResourceDefinition \\\"fluentbits.logging.kubesphere.io\\\" is invalid: status.storedVersions[0]: Invalid value: \\\"v1alpha1\\\": must appear in spec.versions\"], \"stdout\": \"clusterrole.rbac.authorization.k8s.io/kubesphere:operator:fluentbit-operator unchanged\\nclusterrolebinding.rbac.authorization.k8s.io/kubesphere:operator:fluentbit-operator unchanged\\ndeployment.apps/fluentbit-operator unchanged\\ncustomresourcedefinition.apiextensions.k8s.io/filters.logging.kubesphere.io configured\\ncustomresourcedefinition.apiextensions.k8s.io/fluentbitconfigs.logging.kubesphere.io configured\\ncustomresourcedefinition.apiextensions.k8s.io/inputs.logging.kubesphere.io configured\\ncustomresourcedefinition.apiextensions.k8s.io/outputs.logging.kubesphere.io configured\\nserviceaccount/fluentbit-operator unchanged\", \"stdout_lines\": [\"clusterrole.rbac.authorization.k8s.io/kubesphere:operator:fluentbit-operator unchanged\", \"clusterrolebinding.rbac.authorization.k8s.io/kubesphere:operator:fluentbit-operator unchanged\", \"deployment.apps/fluentbit-operator unchanged\", \"customresourcedefinition.apiextensions.k8s.io/filters.logging.kubesphere.io configured\", \"customresourcedefinition.apiextensions.k8s.io/fluentbitconfigs.logging.kubesphere.io configured\", \"customresourcedefinition.apiextensions.k8s.io/inputs.logging.kubesphere.io configured\", \"customresourcedefinition.apiextensions.k8s.io/outputs.logging.kubesphere.io configured\", \"serviceaccount/fluentbit-operator unchanged\"]}",
"uuid": "c8fd3d97-0e33-4bf3-a7f2-b2087d91098a"
/usr/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
}```