`Task ‘logging’ failed:
{
“counter”: 46,
“created”: “2020-02-22T06:56:08.805891″,
“end_line”: 48,
“event”: “runner_on_failed”,
“event_data”: {
“event_loop”: “items”,
“host”: “localhost”,
“ignore_errors”: null,
“play”: “localhost”,
“play_pattern”: “localhost”,
“play_uuid”: “5681a559-c4c3-d940-5514-000000000005”,
“playbook”: “/kubesphere/playbooks/logging.yaml”,
“playbook_uuid”: “8cc24a4e-eb51-4e99-a206-e8da764729aa”,
“remote_addr”: “127.0.0.1”,
“res”: {
“changed”: false,
“msg”: “All items completed”,
“results”: [
{
“ansible_item_label”: {
“file”: “custom-values-elasticsearch.yaml”,
“path”: “logging”
},
“ansible_no_log”: false,
“ansible_loop_var”: “item”,
“changed”: false,
“failed”: true,
“item”: {
“file”: “custom-values-elasticsearch.yaml”,
“path”: “logging”
},
“msg”: “AnsibleUndefinedVariable: ‘dict object’ has no attribute ‘elasticsearchVolumeSize’”
},
{
“ansible_item_label”: {
“file”: “custom-values-elasticsearch-curator.yaml”,
“path”: “logging”
},
“ansible_no_log”: false,
“ansible_loop_var”: “item”,
“changed”: false,
“checksum”: “74dcf17dd8c8ca3b1445ec79b8d0d7bde416704c”,
“dest”: “/etc/kubesphere/logging/custom-values-elasticsearch-curator.yaml”,
“diff”: {
“after”: {
“path”: “/etc/kubesphere/logging/custom-values-elasticsearch-curator.yaml”
},
“before”: {
“path”: “/etc/kubesphere/logging/custom-values-elasticsearch-curator.yaml”
}
},
“failed”: false,
“gid”: 0,
“group”: “root”,
“invocation”: {
“module_args”: {
“diff_peek”: null,
“original_basename”: “custom-values-elasticsearch-curator.yaml.j2”,
“access_time”: null,
“access_time_format”: “%Y%m%d%H%M.%S”,
“attributes”: null,
“backup”: null,
“content”: null,
“delimiter”: null,
“dest”: “/etc/kubesphere/logging/custom-values-elasticsearch-curator.yaml”,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“modification_time”: null,
“modification_time_format”: “%Y%m%d%H%M.%S”,
“owner”: null,
“path”: “/etc/kubesphere/logging/custom-values-elasticsearch-curator.yaml”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “file”,
“unsafe_writes”: null
}
},
“item”: {
“file”: “custom-values-elasticsearch-curator.yaml”,
“path”: “logging”
},
“mode”: “0644”,
“owner”: “root”,
“path”: “/etc/kubesphere/logging/custom-values-elasticsearch-curator.yaml”,
“size”: 2586,
“state”: “file”,
“uid”: 0
},
{
“ansible_item_label”: {
“file”: “custom-values-kibana.yaml”,
“path”: “logging”
},
“ansible_no_log”: false,
“ansible_loop_var”: “item”,
“changed”: false,
“checksum”: “4d4a3700fdcc30f3a0fb291ae81b6c69239ccea1”,
“dest”: “/etc/kubesphere/logging/custom-values-kibana.yaml”,
“diff”: {
“after”: {
“path”: “/etc/kubesphere/logging/custom-values-kibana.yaml”
},
“before”: {
“path”: “/etc/kubesphere/logging/custom-values-kibana.yaml”
}
},
“failed”: false,
“gid”: 0,
“group”: “root”,
“invocation”: {
“module_args”: {
“diff_peek”: null,
“original_basename”: “custom-values-kibana.yaml.j2”,
“access_time”: null,
“access_time_format”: “%Y%m%d%H%M.%S”,
“attributes”: null,
“backup”: null,
“content”: null,
“delimiter”: null,
“dest”: “/etc/kubesphere/logging/custom-values-kibana.yaml”,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“modification_time”: null,
“modification_time_format”: “%Y%m%d%H%M.%S”,
“owner”: null,
“path”: “/etc/kubesphere/logging/custom-values-kibana.yaml”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “file”,
“unsafe_writes”: null
}
},
“item”: {
“file”: “custom-values-kibana.yaml”,
“path”: “logging”
},
“mode”: “0644”,
“owner”: “root”,
“path”: “/etc/kubesphere/logging/custom-values-kibana.yaml”,
“size”: 6613,
“state”: “file”,
“uid”: 0
},
{
“ansible_item_label”: {
“file”: “custom-values-fluentbit-operator.yaml”,
“path”: “logging”
},
“ansible_no_log”: false,
“ansible_loop_var”: “item”,
“changed”: false,
“checksum”: “562c59530cf8cccf4d31e00f825db28b99f7e054”,
“dest”: “/etc/kubesphere/logging/custom-values-fluentbit-operator.yaml”,
“diff”: {
“after”: {
“path”: “/etc/kubesphere/logging/custom-values-fluentbit-operator.yaml”
},
“before”: {
“path”: “/etc/kubesphere/logging/custom-values-fluentbit-operator.yaml”
}
},
“failed”: false,
“gid”: 0,
“group”: “root”,
“invocation”: {
“module_args”: {
“diff_peek”: null,
“original_basename”: “custom-values-fluentbit-operator.yaml.j2”,
“access_time”: null,
“access_time_format”: “%Y%m%d%H%M.%S”,
“attributes”: null,
“backup”: null,
“content”: null,
“delimiter”: null,
“dest”: “/etc/kubesphere/logging/custom-values-fluentbit-operator.yaml”,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“modification_time”: null,
“modification_time_format”: “%Y%m%d%H%M.%S”,
“owner”: null,
“path”: “/etc/kubesphere/logging/custom-values-fluentbit-operator.yaml”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “file”,
“unsafe_writes”: null
}
},
“item”: {
“file”: “custom-values-fluentbit-operator.yaml”,
“path”: “logging”
},
“mode”: “0644”,
“owner”: “root”,
“path”: “/etc/kubesphere/logging/custom-values-fluentbit-operator.yaml”,
“size”: 635,
“state”: “file”,
“uid”: 0
},
{
“ansible_item_label”: {
“file”: “fluentbit-crd.yaml”,
“path”: “logging”
},
“ansible_no_log”: false,
“ansible_loop_var”: “item”,
“changed”: false,
“checksum”: “809ad5bee63719673e44b1e197ea88837f0ac1bd”,
“dest”: “/etc/kubesphere/logging/fluentbit-crd.yaml”,
“diff”: {
“after”: {
“path”: “/etc/kubesphere/logging/fluentbit-crd.yaml”
},
“before”: {
“path”: “/etc/kubesphere/logging/fluentbit-crd.yaml”
}
},
“failed”: false,
“gid”: 0,
“group”: “root”,
“invocation”: {
“module_args”: {
“diff_peek”: null,
“original_basename”: “fluentbit-crd.yaml.j2”,
“access_time”: null,
“access_time_format”: “%Y%m%d%H%M.%S”,
“attributes”: null,
“backup”: null,
“content”: null,
“delimiter”: null,
“dest”: “/etc/kubesphere/logging/fluentbit-crd.yaml”,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“modification_time”: null,
“modification_time_format”: “%Y%m%d%H%M.%S”,
“owner”: null,
“path”: “/etc/kubesphere/logging/fluentbit-crd.yaml”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “file”,
“unsafe_writes”: null
}
},
“item”: {
“file”: “fluentbit-crd.yaml”,
“path”: “logging”
},
“mode”: “0644″,
“owner”: “root”,
“path”: “/etc/kubesphere/logging/fluentbit-crd.yaml”,
“size”: 3974,
“state”: “file”,
“uid”: 0
},
{
“ansible_item_label”: {
“file”: “fluent-bit-outputs.template”,
“path”: “logging”
},
“ansible_no_log”: false,
“ansible_loop_var”: “item”,
“changed”: false,
“checksum”: “626575ba58c9aa782c0a6260b43898d024211c69″,
“dest”: “/etc/kubesphere/logging/fluent-bit-outputs.template”,
“diff”: {
“after”: {
“path”: “/etc/kubesphere/logging/fluent-bit-outputs.template”
},
“before”: {
“path”: “/etc/kubesphere/logging/fluent-bit-outputs.template”
}
},
“failed”: false,
“gid”: 0,
“group”: “root”,
“invocation”: {
“module_args”: {
“diff_peek”: null,
“original_basename”: “fluent-bit-outputs.template.j2″,
“access_time”: null,
“access_time_format”: “%Y%m%d%H%M.%S”,
“attributes”: null,
“backup”: null,
“content”: null,
“delimiter”: null,
“dest”: “/etc/kubesphere/logging/fluent-bit-outputs.template”,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“modification_time”: null,
“modification_time_format”: “%Y%m%d%H%M.%S”,
“owner”: null,
“path”: “/etc/kubesphere/logging/fluent-bit-outputs.template”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “file”,
“unsafe_writes”: null
}
},
“item”: {
“file”: “fluent-bit-outputs.template”,
“path”: “logging”
},
“mode”: “0644”,
“owner”: “root”,
“path”: “/etc/kubesphere/logging/fluent-bit-outputs.template”,
“size”: 582,
“state”: “file”,
“uid”: 0
},
{
“ansible_item_label”: {
“file”: “FluentBitCrd.py”,
“path”: “logging”
},
“ansible_no_log”: false,
“ansible_loop_var”: “item”,
“changed”: false,
“checksum”: “b6ed59ce1c5d280012da94b58b43175d5409485c”,
“dest”: “/etc/kubesphere/logging/FluentBitCrd.py”,
“diff”: {
“after”: {
“path”: “/etc/kubesphere/logging/FluentBitCrd.py”
},
“before”: {
“path”: “/etc/kubesphere/logging/FluentBitCrd.py”
}
},
“failed”: false,
“gid”: 0,
“group”: “root”,
“invocation”: {
“module_args”: {
“diff_peek”: null,
“original_basename”: “FluentBitCrd.py.j2″,
“access_time”: null,
“access_time_format”: “%Y%m%d%H%M.%S”,
“attributes”: null,
“backup”: null,
“content”: null,
“delimiter”: null,
“dest”: “/etc/kubesphere/logging/FluentBitCrd.py”,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“modification_time”: null,
“modification_time_format”: “%Y%m%d%H%M.%S”,
“owner”: null,
“path”: “/etc/kubesphere/logging/FluentBitCrd.py”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “file”,
“unsafe_writes”: null
}
},
“item”: {
“file”: “FluentBitCrd.py”,
“path”: “logging”
},
“mode”: “0644″,
“owner”: “root”,
“path”: “/etc/kubesphere/logging/FluentBitCrd.py”,
“size”: 919,
“state”: “file”,
“uid”: 0
},
{
“ansible_item_label”: {
“file”: “FluentBitOutputsConfig.py”,
“path”: “logging”
},
“ansible_no_log”: false,
“ansible_loop_var”: “item”,
“changed”: false,
“checksum”: “c1fefa35eec09ff8ef129e26608cd5425740f942”,
“dest”: “/etc/kubesphere/logging/FluentBitOutputsConfig.py”,
“diff”: {
“after”: {
“path”: “/etc/kubesphere/logging/FluentBitOutputsConfig.py”
},
“before”: {
“path”: “/etc/kubesphere/logging/FluentBitOutputsConfig.py”
}
},
“failed”: false,
“gid”: 0,
“group”: “root”,
“invocation”: {
“module_args”: {
“diff_peek”: null,
“original_basename”: “FluentBitOutputsConfig.py.j2″,
“access_time”: null,
“access_time_format”: “%Y%m%d%H%M.%S”,
“attributes”: null,
“backup”: null,
“content”: null,
“delimiter”: null,
“dest”: “/etc/kubesphere/logging/FluentBitOutputsConfig.py”,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“modification_time”: null,
“modification_time_format”: “%Y%m%d%H%M.%S”,
“owner”: null,
“path”: “/etc/kubesphere/logging/FluentBitOutputsConfig.py”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “file”,
“unsafe_writes”: null
}
},
“item”: {
“file”: “FluentBitOutputsConfig.py”,
“path”: “logging”
},
“mode”: “0644″,
“owner”: “root”,
“path”: “/etc/kubesphere/logging/FluentBitOutputsConfig.py”,
“size”: 846,
“state”: “file”,
“uid”: 0
}
]
},
“role”: “ks-logging”,
“task”: “ks-logging | Creating manifests”,
“task_action”: “template”,
“task_args”: "",
“task_path”: “/kubesphere/installer/roles/ks-logging/tasks/main.yaml:10″,
“task_uuid”: “5681a559-c4c3-d940-5514-00000000001f”,
“uuid”: “17538d50-fb24-4b57-a280-341989ebb617”
},
“parent_uuid”: “5681a559-c4c3-d940-5514-00000000001f”,
“pid”: 9832,
“runner_ident”: “logging”,
“start_line”: 48,
“stdout”: "",
“uuid”: “17538d50-fb24-4b57-a280-341989ebb617″
}
`