Logging stack upgrade playbook fails

Solution In Progress - Updated -

Issue

  • Logging stack upgrade playbook is failing at TASK [openshift_logging_elasticsearch : set_fact]
  • The task fails with the following fatal error message:
TASK [openshift_logging_elasticsearch : set_fact] ********************************************************************
fatal: [node.example.com]: FAILED! => {"msg": "The conditional check 'openshift_logging_elasticsearch_deployment_name == \"\"' failed. The error was: error while evaluating conditional (openshift_logging_elasticsearch_deployment_name == \"\"): 'None' has no attribute 'name'\n\nThe error appears to be in '/usr/share/ansible/openshift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml': line 470, column 3, but may\nbe elsewhere in the file depending
on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- set_fact:\n  ^ here\n"}
********************************************************************
  • There seems to be an issue in either roles/openshift_logging_elasticsearch/tasks/main.yaml': line 470, or roles/openshift_logging/tasks/install_logging.yaml: line 90.

Environment

  • Red Hat OpenShift Container Platform
    • Upgrade from 3.11.161 to 3.11.219

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content