Hi, I'm part of an Enterprise vendor at VFUK currently trying to use this tool to generate health monitoring outputs - I've managed to configure the tool, run it successfully, with email set up, but the final report is not working due to a templating error in generate_report.yaml - it is complaining of report.j2 variable being invalid as below:
{
"hosts": {
"localhost": {
"_ansible_no_log": false,
"action": "template",
"changed": false,
"failed": true,
"msg": "AnsibleUndefinedVariable: Unable to look up a name or access an attribute in template string (<!doctype html>\n<html lang=\"en\">\n
\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">\n \n OpenShift Cluster Overview Report {{report_date}} \n {% include 'includes/styles.j2' %}\n \n \n {% include 'includes/header.j2' %}\n \n {% include 'includes/system_resources.j2' %}\n {% include 'includes/system_services.j2' %}\n {% include 'includes/node_resources.j2' %}\n {% include 'includes/node_info.j2' %}\n {% include 'includes/node_status.j2' %}\n {% include 'includes/pod_stats.j2' %}\n {% include 'includes/core_pods.j2' %}\n {% include 'includes/etcd_health.j2' %}\n \n {% include 'includes/footer.j2' %}\n\n\n \n\n \n\n \n\n \n \n
Hi, I'm part of an Enterprise vendor at VFUK currently trying to use this tool to generate health monitoring outputs - I've managed to configure the tool, run it successfully, with email set up, but the final report is not working due to a templating error in generate_report.yaml - it is complaining of report.j2 variable being invalid as below:
{ "hosts": { "localhost": { "_ansible_no_log": false, "action": "template", "changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: Unable to look up a name or access an attribute in template string (<!doctype html>\n<html lang=\"en\">\n
\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">\n \n\n {% include 'includes/system_resources.j2' %}\n {% include 'includes/system_services.j2' %}\n {% include 'includes/node_resources.j2' %}\n {% include 'includes/node_info.j2' %}\n {% include 'includes/node_status.j2' %}\n {% include 'includes/pod_stats.j2' %}\n {% include 'includes/core_pods.j2' %}\n {% include 'includes/etcd_health.j2' %}\n
\n {% include 'includes/footer.j2' %}\n\n\n \n\n \n\n \n\n \n \n