redhat-openstack / infrared

Plugin based framework that aims to provide an easy-to-use CLI for Ansible based projects
https://infrared.readthedocs.io/en/latest/index.html
Apache License 2.0
99 stars 96 forks source link

rhos15 overcloud deployment failed - "hostvars['hypervisor']\" is undefined #380

Open Zephyr0402 opened 4 years ago

Zephyr0402 commented 4 years ago

Hi, when I tried to deploy overcloud using tripleo-overcloud, there was an error: TASK [insert the public key to the known hosts in hypervisor] ***** fatal: [undercloud-0]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: \"hostvars['hypervisor']\" is undefined\n\nThe error appears to have been in '/root/.infrared/plugins/tripleo-overcloud/hypervisor.yml': line 17, column 9, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: insert the public key to the known hosts in hypervisor\n ^ here\n"}