"Render out the hosts" のタスクが 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'hostname_resolve_network' のエラーで失敗する
Issue
"Render out the hosts" のタスクでデプロイメントが失敗します。エラー行は次のとおりです。
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.