Deployment fails in task "Render out the hosts" with Error 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'hostname_resolve_network'

Solution Verified - Updated -

Issue

Deployment fails in task "Render out the hosts". The Error line is:

config-download/stdout:2024-01-31 14:21:33.529990 | ... |      FATAL | Render out the hosts entries | undercloud | error={"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'hostname_resolve_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'hostname_resolve_network'\n\nThe error appears to be in '/usr/share/ansible/roles/tripleo_hosts_entries/tasks/main.yml': line 51, 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- name: Render out the hosts entries\n  ^ here\n"}

Environment

  • Red Hat OpenStack Platform 17.1

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