Created
November 25, 2019 08:51
-
-
Save venkataanil/90c7b58d3cc2d512ddefbad677ff8b20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [vbmc : allow access to port vbmc ports from undercloud external network] ****************************************************************************************** | |
fatal: [undercloud-0]: FAILED! => {"msg": "The conditional check 'hostvars['hypervisor'][ansible_external_name] is defined' failed. The error was: error while evaluating conditional (hostvars['hypervisor'][ansible_external_name] is defined): \"hostvars['hypervisor']\" is undefined\n\nThe error appears to have been in '/root/infrared/.venv/lib/python2.7/site-packages/infrared/common/roles/vbmc/tasks/iptables.yml': line 62, column 11, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n - block:\n - name: allow access to port vbmc ports from undercloud external network\n ^ here\n"} |
Getting the below error
TASK [fail] *************************************************************************************************************************************************************
fatal: [undercloud-0]: FAILED! => {"changed": false, "msg": "The provision network cannot be discovered. Please rerun infrared command with -e provison_virsh_network_name=<net_name>"}
It is expecting address on the bridge to wich which all control plane interfaces of vms are connected.
[root@f05-h26-000-1029p ~]# brctl show
bridge name bridge id STP enabled interfaces
data 8000.ac1f6b2d19e4 no enp94s0f0
vnet0
vnet3
So adding the ip address now to fix that.
sudo ip a a 192.168.24.254/24 brd 192.168.24.255 dev data
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
changed that to vbmc like below